Close_Hedge_Sell

Reference tnarrow Trade Functions tnarrow Close_Hedge_Sell

CLOSE_HEDGE_SELL

Close hedged Sell Orders in a strategy session.

(Close_Hedge_Sell)

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

  


Parameters

none

Returned value

none

Example:

 (IF (AND (>= T_HEDGEBUYPROFIT 0)
(= T_SELLNBRTRADE 0)
)
(CLOSE_HEDGE_SELL)
)
)