required real and demo version, ea should follow these rule...i have attached indicatior and images plz see it
rule 1...............when trend indicator show down trend ea will take only sell pending order(see image 1)
rule 2...............if take sell pending order and before open trade, market price close above the mother bar pending order will be delete(see image 2&3)
rule 3...............when trend indicator show up trend ea will take only buy pending order(see image 4)
rule 4...............if take buy pending order and before open trade, market price close below the mother bar pending order will be delete(see image 5&6)
rule 5...............if it take buy or sell pending order according trend and before trade,if trend changed,ea will delete previous trend trade(see image 7)
rule 6...............ea will take one trade at one time even two insidebar setup occur(see image 8)
rule 7...............ea will always take pending order on current insidebar,if an other insidebar setup become under the previous insidebar setup then previous pending order will
will delete and take pending order on current insidebar setup... (see image 9&10)
rule 8..............if possible don't trade when mother is big or not normal like 100pip in m5(see image 11)
money management rule
if one trade close in loss then next trade will cover all loss,
suppose that
0.01 buy............loss -20$
next trade will give me few pip above the loss mean +25$,or+30$,according to these pip ea will automaticaly set trade volume which
give us +25 or +30$,pip dost not meter,after loss trade next setup may be on base of tity insidebar setup and have small pip
it does meter ea will increase trading volume automatically,can be look like this first trade 0.01 close in loss and next 0.12 or more it depend on loss,
buy.....0.01....= -50$
buy.....0.04....= -75$ (total loss 50+75=125)
buy.....0.07....= -135$ (tatal loss 125+135=260)
buy.....0.13....= -290$ (total loss 260+290=550)
buy.....0.25....= -650$ (total loss 550+650=1200$)
suppose that on the 6th trade there is small pip or tiny insidebar setup of just 75pip and loss is 1200$
buy.....1.......=1300+
all loss recover in one trade which tp hit after constant 5 loss trade
important point
(remember after loss trade the trade volume should be just few $ above the loss not double the loss thus account will be in control and will not take big lot,if it every trade is double of loss trade like loss trade is -20,next -40,next,-80,next-160 thus risk will increase and dangerous for equity at one time,it should be like -40,next should be round about +50 instead of +80
this ea is for cent account...