Forum on trading, automated trading systems and testing trading strategies
When you post code please use the CODE button (Alt-S)!
Hi All,
I am trying to get pass the No Trading Operation - Validation Issue. After reading up on the different threads in this forum. I am attempting to create a skeleton to verify that I am on the right track.
But... I am still having the same No Trading operation error. Below are the code for it. If some kind soul can point me in the right direction.
After reading the various topics concerning this issue, why have you started yet another new topic instead of posting in one of them?
After reading the various topics concerning this issue, why have you started yet another new topic instead of posting in one of them?
Hi Keith,
I am not trying to resolve the individual issue but more like to understand what is part of the "No Trading Operation" error, as its pretty cryptic.
Therefore what I am trying to do here, is to have a skeleton that pass the validation, hopefully this helps the community. That's why I am posting it as a separate topic, but if you think its no worth the 2 cents, I am happy for you to close this off.
Let me know if that's against the TOS.
Cheers,
Lance
Thanks. Will modified it
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi All,
I am trying to get pass the No Trading Operation - Validation Issue. After reading up on the different threads in this forum. I am attempting to create a skeleton to verify that I am on the right track.
But... I am still having the same No Trading operation error. Below are the code for it. If some kind soul can point me in the right direction.
21 March 2021 Update
Did some further digging. I have added the following
1. Volume Check
2. New Order Check
3. Money Check
4. Position Check
The code attach will make 1 trade per new bar. But seems like its still facing the same issue.