Download MetaTrader 5

CheckReverse

Gets the volume for reverse of the position.

virtual double  CheckReverse(
   CPositionInfo*  position,     // pointer
   double          sl            // Stop Loss
   )

Parameters

position

[in]  Pointer to CPositionInfo class object.

sl

[in]  Stop Loss price.

Return Value

Volume for reverse of the position.


Updated: 2015.12.03