Does anyone have an example of a basic EA which continual loops around and executes a pending buy or sell signal (with a tp and sl)
Please clarify. do you mean continually runs without regard to when ticks come in?
Nicholishen, Yes thats exactly correct
its really simple. what you do is change the name of the start function to something like main. the write a new start function like=
Where does the buy/sell pending order go ?
i want to say:
if price = xxx then pending buy with a tp of a and sl of b
if price = yyy then pending sell with a tp of a and sl of b
Thank you for your valuable time.
Im reading thru the code - where would i put the values to buy/sell ?