Hello.I need an EA order.I tried to explain very well the requirements of this EA in as logical language as I think is possible."Return to If" means before the last If. My requirements for dhe EA are the following: -Start -Filter for maximum Spread -Filter for maximum Slipage -Filter for trading hours on Friday -Let C=Balance -Let E=Equity -A box to enter the distance for Hedging in pips, D= -A box for fixing percent of loss,Percent= -A box for Fast EMA parameters -A box for Slow EMA parameters The entry into trading: I think is the most suitable to be with two EMA, for trend and for signal. A mandatory requirement is that when a Buy/Sell order has been initiated, another one cannot be initiated until the previous Hedging sequence is completed. Sell trades: When the signal crosses the trend from top to bottom, a Sell order will be given, lotsize 0,01. Let P= price of order Let UP=P+4D, Let DN=P+3D, Let TP=DN, LEt SL=UP, Hedging sequence: Let Buystop lotsize 0,02 at P+D,TP=UP,SL=DN. If E=C Close all and go to Start else Return to If. If price=P+D then Sellstop 0,02 at P, TP=DN, SL=UP else (If E=C Close all and go to Start else Return to If). If price=P then Buystop lotsize 0,03 at P+D, TP=UP,SL=DN else (If E=C Close all and go to Start else Return to If). If price=P+D then Sellstop 0,04 at P, TP=DN, SL=UP else (If E=C Close all and go to Start else Return to If). If price=P then Buystop lotsize 0,05 at P+D, TP=UP,SL=DN else (If E=C Close all and go to Start else Return to If). If price=P+D then Sellstop 0,07 at P, TP=DN, SL=UP else (If E=C Close all and go to Start else Return to If). If price=P then Buystop lotsize 0,09 at P+D, TP=UP,SL=DN else (If E=C Close all and go to Start else Let LOSS=E/C). If LOSS<(100-Percent) then Close all,go to Start,else Return to If. Buy trades When the signal crosses the trend from bottom to top, a Buy order will be given,lotsize 0,01. Let P= price of order Let UP=P+3D, Let DN=P-4D, Let TP=UP, LEt SL=DN, Hedging sequence: Let Sellstop lotsize 0,02 at P-D,TP=DN,SL=UP. If E=C Close all and go to Start else Return to If. If price=P-D then Buystop 0,02 at P, TP=UP, SL=DN else(If E=C Close all and go to Start else Return to If). If price=P then Sellstop lotsize 0,03 at P-D, TP=DN,SL=UP else (If E=C Close all and go to Start else Return to If). If price=P-D then Buystop 0,04 at P, TP=UP, SL=DN else(If E=C Close all and go to Start else Return to If). If price=P then Sellstop lotsize 0,05 at P-D, TP=DN,SL=UP else(If E=C Close all and go to Start else Return to If). If price=P-D then Buystop 0,07 at P, TP=UP, SL=DN else(If E=C Close all and go to Start else Return to If). If price=P then Sellstop lotsize 0,09 at P-D, TP=DN,SL=UP else (If E=C Close all and go to Start else Let LOSS=E/C). If LOSS<(100-Percent)then Close all,go to Start,else Return to If. The whole scheme has two values ​​where SL and TP are fixed for all orders. The magnitude of the 8 orders is the following series: 0,01 0,02 0,02 0,03 0,04 0,05 0,07 0,09. I think it is enough to limit myself to a fixed number of orders, 4 Buy and 4 Sell. Only one starting order will be traded by the scheme until UP or DN is reached. There is a possibility that after the eighth order it will reach a loss, that's why it is necessary to protect the account for loss, limited to an adjustable percentage of Equity. Thank you for your understanding.