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