The other ea you made for me, GRID_RSI_EA has no magic number parameter. I need magic number associated to the trades it books. I have another ea that is looking for trades created by the GRID_RSI_EA, and it needs the magic number to do this. I also need timeframe parameter on the  GRID_RSI_EA . This timeframe will override the timeframe of the chart the ea is attached to. Add a timeframe parameter into the ea. So if I select 1min in the parameter, it will always use 1min chart even if I attach the ea to a 1hr chart There is another change I want to the GRID_RSI ea. The reverse functionality is not doing what I want. When I say reverse, I want the ea to change buy orders to sell and vice versa. So for example, when reverse is false the ea generates sell orders below the market. If I set reverse to true, it should generate buy orders at the same levels BELOW the market, and fill with buy orders below the market as the market moves up.