Technical Task EA name OSCILATOR_MARTIN The EA will work at the opening of each candlestick. The goal is a quick optimization. The following indicators are added to the EA for entry williams percent range, stochastic, rsi, cci, RVI cross, 2 moving averages CROSS, momentun, macd (here the macd only crosses signal below or above 0) Bollinger Bands (close candle up and close candle down) -- ALL IN FULL VERSION Entry rules: The user will choose only one indicator for the entry. When it is at the oversold level, BUY When it is at the overbought level SELL The following indicators are added to the EA for exit williams percent range, stochastic, rsi, cci, RVI cross, 2 moving averages CROSS, momentun, macd (here the macd only crosses signal below or above 0) Bollinger Bands (close candle up and close candle down) -- ALL IN FULL AND MULTIFRAME VERSION I repeat, for the output the multiframe version will be used, or not. The user will choose one timeframe to exit The logic behind this is that all indicators should appear in the EA twice, once for entry and once for exit. If, for example, I enter the 14-period RSI at overbought level 70, open sell, but then I want to exit the RSI at another timeframe, and another period and another oversold level Exit rules: The user will choose only one indicator for the exit, a level of that indicator, and in which timeframe Exit BUY - When the price closes (or opens) at the overbought level Exit SELL - When the price closes (or opens) at the oversold level BUGS Almost of time the timeframe to use Entry and Exit will be current. But the idea is to exit the trade in the same timeframe or in a higher one, never in a lower one. If I enter M30, I will never exit through M15 and below... There will be times when opening a trade at the same time in another timeframe is the indicator signaled for the exit already saying that it is necessary to close... Skip open trade until that the EA makes sure that it can enter and exit without creating conflicts or bugs Here I resort to the mind of the developer to solve this problem There will be times when the user closes trades manually, in this case the EA will do nothing and wait for a new entry for a new trade. grid Must be true false A grid with a fixed GAP of X pips will be added. The number of trades will be limited by a MAX OPEN TRADES parameter and by the Martingale (see below) The entire grid will respect the exit rules of the strategy, at the time of closing the trade the entire grid will be closed. LOTS and GRID LOTS Entry n° 1 always with fixed lot, from here apply martingale GENERAL PARAMETERS MAX SPREAD - The EA will always respect the maximum spread to open a trade, also during the application of the grid. For example, on D1 at the opening candle spreads are huge, but the EA will wait for a favorable spread to open a trade, also for grid positions MAX OPEN TRADES Limit the number of orders that will open the grid MULTIPLIER MARTINGALE Martingale Multiplier MAX LOT The maximum lotage that the martingale will reach. Once this maximum lot is reached, the EA WILL NOT OPEN ANY MORE GRID TRADES; no matter what the "MAX OPEN TRADES" parameter says Magic comments