Close_Buy

Reference tnarrow Trade Functions tnarrow Close_Buy

 

CLOSE_BUY

Close Buy Orders in a strategy session.

(Close_Buy)

By calling this function all buy orders are instantly closed. No checking of the Buy Minimum profit. We can still buy orders in the session by calling the function BUY.

  


Parameters

none

Returned value

none

Example:

(IF (AND (AndS HEIKEN_ASHI S_BULL P_H4)
(AndS CLOSE S_BEAR P_H4)
(AndS LOW S_BEAR P_H4)
(> T_PROFITBUY 0)
)
(CLOSE_BUY)
)