Athlete Expert Advisor analyzes last сandles (the number is determined by nBars input parameter) and decides to go long, short or wait according to the analysis results.
It's strongly recommended to test this system on MetaQuotes-Demo account and use five-digit quotes. Max. spread 6.
This is necessary in order to avoid "holes" in the quotes history of some brokers.
- UseAutomaticLot - if it is true, the lot will be chosen automatically. If it is false, the lot should be chosen manually.
- Lot - lot, 0.1 on default, minimum 0.01.
- StopLossCoefficient - factor for relative stop loss, -244 on default.
- TakeProfitCoefficient - factor for relative take profit, 9 on default.
- maxprofitdecrise - the ratio of maximum profits, 0.8 on default. 0.01 - 1.
- hadopen - this factor determines when to open trades, 28 on default.
- hadclose - this factor determines when to close trades, 664 on default.
- nBars - the number of last сandles for analyzing if trades should be opened, -1 on default. From -1 to unlimited number.
- nBars2 - the number of last сandles for analyzing if trades should be closed, 886 on default. From -1 to unlimited number.