- BasePrice
- UsedSeries
- Weight
- PatternsUsage
- General
- Ignore
- Invert
- ThresholdOpen
- ThresholdClose
- PriceLevel
- StopLevel
- TakeLevel
- Expiration
- Magic
- ValidationSettings
- InitIndicators
- AddFilter
- CheckOpenLong
- CheckOpenShort
- OpenLongParams
- OpenShortParams
- CheckCloseLong
- CheckCloseShort
- CloseLongParams
- CloseShortParams
- CheckReverseLong
- CheckReverseShort
- CheckTrailingOrderLong
- CheckTrailingOrderShort
- LongCondition
- ShortCondition
- Direction
CheckReverseShort
Checks conditions of a short position reversal.
virtual bool CheckReverseShort(
|
Parameters
price
[in][out] Variable for reversal price, passed by reference.
sl
[in][out] Variable for Stop Loss price, passed by reference.
tp
[in][out] Variable for Take Profit price, passed by reference.
expiration
[in][out] Variable for expiration time, passed by reference (if necessary).
Return Value
true - condition is satisfied, otherwise - false.