Requirements Specification 1. MA crossing. 20ma 50ma 200ma 2. close by 20-50-100 MA with the option to choose 0-1-2-3 bar confirmation ( i choose which MA to enter ) 3. Entry by 20-50-100 MA with the option to choose after 0-1-2-3 bar confirmation ( i choose which ma to exit ) 4. SL on chart based on SD verified when available if not it uses SL weak or untested at the end of zone and calculate risk from that. SL should be after crossing the whole zone that's whats meant by end of zone 5. TP on chart at a touch of TP zone from the beginning. TP is taken at the tip of the zone before entering the zone and use only verified TP zone 6. no entry inside TP zone and sl zone 7. no entry around TP zone and sl by pips i enter. (example: if long and it reaches below resistance by 20 pips i entered it wont enter any long positions only sell positions is possible, and vice versa) 8. connect SL from SD zone to risk percent 9. connect lot sizing to risk % 10. add spread control so when its above mentioned spread it doesn't enter 11. one entry till trade is closed 12. Trading hours on/off but able to close remaining positions on off hours when ma crossed opposite 13. Add free margin control stop so it doesn't use more free margin left than defined. 14. add break even to EA following 20-50-200 MA passing the entry. (break even on offer side not bid and i choose which MA for breakeven) 15. all three ma should be on top of each other and green in long position, and below each other and red on short. 16. candles should be above in long or under in short the 200 ma 17. when trade is closed then it should wait two bar to enter again. 18. add comment so i can tell the difference on the intraday trades and the longer running trades 19. my broker uses instant execution on 5 decimal stp so requotes are expected and the ea should be designed to counter that. 20. add tp sl for zones after couple of seconds (broker doesn't allow tp sl on entry) and adjust break even when 20 ma passes entry 21. add hold entry, example if i chose 0 bar entry confirmation it will change color at the same bar so with hold it will enter but wait 1 bar or 2 bar which i define and then looks at 20 ma again to see if its on the reverse side or not 22. add adx if under 20 it doesnt enter any trades, on 14 period 23. 20ma and 50 ma should be above 200 ma only but it doesnt matter if 20 ma and 50 ma are above or below each other as long as they generate the color signal 24. the nonlag ma is colored trend and trades should enter based on all three ma color match if green its long position and if red its short position 25. Manual override lot size if i dont want to use risk% and use fixed lot size 26. Enter by distance from 200 ma. ( I enter how many pips max distance from 200MA it stops adding positions )