CheckOpenLong
CheckOpenLong
CheckOpenLong
Gets trade volume for a long position.
virtual double CheckOpenLong(
double price, // price
double sl // Stop Loss price
)Parameters
- price
[in] Estimated open price.
- sl
[in] Estimated Stop Loss price.
Return Value
Trade volume for a long position.
Note
The function returns trade volume for a long position with a fixed predefined risk level. The risk is defined by Percent parameter of CExpertMoney base class.
Last updated on