Does anyone know the code to add to an EA to make it only take one trade per bar?
I have created an expert to take breakout trades on a daily bar, but once the trade is closed it takes another on the same day if the entry paramaters line up again. I don't want this to happen, I only want one trade per day.
Does anyone know how to fix this?
I have attached the expert.
Thanks for your help.
I have created an expert to take breakout trades on a daily bar, but once the trade is closed it takes another on the same day if the entry paramaters line up again. I don't want this to happen, I only want one trade per day.
Does anyone know how to fix this?
I have attached the expert.
Thanks for your help.
Attached File(s)
Daily Breakout wADX.mq4
6 KB
|
555 downloads