Indicators can NOT wait, they can not sleep. Indicators can NOT open orders - it will hang the terminal.
Where is your code to open one time per bar?

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Dear programmers,
I have programmed the fractal indicator for trade. Everything is as I expected but there is only one problem. When the algorithm is true it opens order normally and puts take profit after TakeProfit hits because of situation is still true it opens new order. I dont want this, I just want than EA opened order just one time per when it is true to open order.
Please help me to solve this. If Ican solve this I have too much ideas to do
Waiting for your help and support
Best regards,
Adil Abdullayev