Close_Hedge_Buy

Reference tnarrow Trade Functions tnarrow Close_Hedge_Buy

CLOSE_HEDGE_BUY

Close Hedged Buy Orders in a strategy session.

(Close_Hedge_Buy)

Calling this function close all sell orders hedging buy orders that was performed previously by calling the function HEDGE_BUY.

  


Parameters

none

Returned value

none

Example:

(IF (AND (>= T_HEDGESELLPROFIT 0)
(= T_BUYNBRTRADE 0)
)
(CLOSE_HEDGE_BUY)
)