EA When EA is started, it looks to see where the bid/ask is, and if price moves up X pips it opens a buy, and if price moves down X pips it opens a sell. The EA will continue opening buys if price continues up every X pips and continues opening sells if price continues down X pips. Trailing will determine when to close the whole basket of ALL trades at the same time. Example EURUSD : EA turned on price is 1.09350 (bid) 1.09360 (ask) Distance between trade : 20 pips Price goes up to 1.09560 it opens first buy Price continues to 1.09760 it opens second buy 1.09960 third buy etc .... Trailing start : 20 pips It'll close the whole basket of trades at the same time Same thing when price goes down If it opens some buys and then price starts to retrace, it goes back to the first buy and then from there it opens sell as price continues to drop every X pips. Example : 1.09560 1st buy 1.09760 2nd buy Price retraces 1.09560 1st sell 1.09360 2nd sell 1.09160 3rd sell 1.08960 4th sell (now it starts looking to exit using Trailing) 1.08760 5th sell etc .... Now the way I want the EA coded is as follows. I would like to be able to input up to 20 trades on each side, but they'll always be the same size on each side. So if trade 4 for example on the buy is 0.05 then trade 4 on sell will be 0.04. Trade 7 on buy is 0.09 trade 7 on sell is 0.09 etc .. I want to have trailing start/distance/step (no stop loss, no take profit) Here's the tricky part : If any of the first 3 trades are closed due to trailing, then the whole basket of trades closes at the same time (buy & sell). Trades 4 & up though, I want them to have their own independant trailing so that when they close, they close solo and reset. So we can set the trailing stop on whole basket to go on trade 1 - 3 so if that price is reached then it closes the whole basket of trades (buy & sell) at the same time, and on trades 4 & up they follow the same trailing parameteres as trades 1 - 3, but that trailing is strictly on that specific trade not the whole basket. Example : 1.09560 1st buy 1.09760 2nd buy Price retraces 1.09560 1st sell 1.09360 2nd sell 1.09160 3rd sell 1.08960 4th sell (now it starts looking to exit using Trailing BUT it sets a trailing stop on trade 4 independantly in case it retraces and then resets it if price goes back to it) 1.08760 5th sell (it sets a trailing stop on trade 5 independantly in case it retraces and then resets it if price goes back to it) 1.08560 6th sell (it sets a trailing stop on trade 6 independantly in case it retraces and then resets it if price goes back to it) If price keeps going down, it'll continue picking up sells, and eventually trailing for the WHOLE basket of buys AND sells we'll close in the profit OR Price will reverse, then it'll close trade 6th if trailing triggered, if not it'll close trade 5 then close trade 4, then continue up or if price comes down again it'll reopen trades 4 & 5 EA must have a feature where all trade sizes (1 - 20) will be based on account balance of $1,000.00. If balance in account is higher, it'll increase the trade size accordingly. Example Trade 1 is 0.01 but account balance is $5,000. Now it'll open trade 1 as 0.05 (5x account balance) I would also like it to display on the chart how many Buys/Sells are open, and the net profit between them.