|Top Previous Next|
Trade entry price or direction
Where n is an integer representing the desired number of days ago. Argument is optional.
Returns the value at which a short trade was executed, or the integer value -1 if used in a position sizing statement.
IF SHORT > 0 THEN .....
' If we were short 2 days ago then do something.
IF DIRECTION = SHORT THEN .....
' If the trade currently being presented to a
' position sizing filter is short, then do something.