need simple time increment delay script for entering trades after candle open

 

Hi, I'm trying to create an EA from cobbled scripts; OCO and trailing stop. Also would like a time

variable / delay to enter candle X period(s) after candle open, and repeat every X period until order

is taken. I want TP=trailing stop. Could be stopped out often but hoping successful runs will make up

for them.


I have some scripts but zero coding experience (beyond reading intros to C++ and Mq4 programming

and looking at code), i.e. is still 'greek' to me.


This would be a simple mechanical EA working within single candle and repeat it's function in each

successive candle, not concerned about trends, will let those take care of themselves. Only concern is to

mitigate losses and win pips in a candle, function like diode or check valve. An experienced coder

willing to work with this idea would be valued.

Reason: