SHORT |
Top Previous Next |
Keyword Description Trade entry price or direction Class Function Where Legal
Syntax SHORT, SHORT[n] Where n is an integer representing the desired number of days ago. Argument is optional. Return Value Returns the value at which a short trade was executed, or the integer value -1 if used in a position sizing statement. Example Sample code IF SHORT[2] > 0 THEN ..... ' If we were short 2 days ago then do something. Sample code IF DIRECTION = SHORT THEN ..... ' If the trade currently being presented to a ' position sizing filter is short, then do something.
See also: |