The MA channel indicator will be encoded into the MA channel EA. EA will work without an indicator and all calculations will do EA. there should be no error in encoding. All the channels on the show will be encoded into EA.              === sell and buy strategy ==== if the graphic is above the d1 channel and above the m15 channel === sell if the graphic is above the channel h4 and above the channel m5 === sell if the graphic is above the channel h1 and above the channel m1 === sell if the chart is below the d1 channel and below the m15 channel === buy if the chart is below the channel h4 and below the channel m5 === buy if the graphic is below the channel h1 and below the channel m1 === buy Calculations will be made on the existing candle. ======= TAKEPROFIT STRATEGY ====== This works by doing EA martingale. for this reason I want to use some kind of take profit. TPs must be in dollars. for example not 30 pips. It must be $ 30. 1- double TP - will close the last position with the first position. for example there are 5 open positions. If the profit of position 1 and the profit of position 5 is x $ profit, the position of 5th and first will be closed. unclosed positions will wait for a new TP. for example 1buy > close 2buy 3buy 5buy+1buy >= x$ 4buy 5buy > close 2 - triple TP - will close last 2 positions with the first 1 position. for example, there are three open positions. the first position and the last 2 positions will be closed if the sum of the first position and the last 2 positions is x $ profitable. unclosed positions will wait for a new TP. for example 1buy = close 2buy = close 3buy = close 1buy+2buy+3buy >= x$ 3 - quadruple TP - will close the 3 most recently opened positions and the first opened position. for example there are 7 open positions. If the last 3 positions and the sum of the first position are x $ dollars profitable, these four positions will be closed. unclosed positions will wait for a new TP. for example 1buy =close 2buy 3buy 7buy+6buy+ 5buy+1buy >= x$ 4buy 5buy =close 6buy=close 7buy=close