Average Bar System
Expert Advisor AverageBarSystem analyzes last сandles (the number is determined by the input parameter nBars) and based on it decides to go long, short or wait.
You may change input parameters:
- profB - profit for long positions;
- lossB - loss for long positions;
- profS - profit for short positions;
- lossS - loss for short positions;
- TradingHoursOn - if "true", then the EA will open positions only between open and close session hours (specified separately from long and short positions).
- UseMM - if "true", then the EA will use Money Management system to calculate Lot Size - percentage (MM_Percent) from the account free margin.