- Search Energy EXCH
-
Request Review: Multiple orders spawning when limited to 1 order
Started Dec 26, 2021|Platform Tech|3 repliesFigured I could finally make a thread since I've tried 3 or 4 different ways to limit it now ...
Looks like you just want to limit it to 1 trade per direction, I have some example code that I use as a cheap/dirty prototyping order maker so I would recommend making it more robust than what is provided int direction uses only {-1,0,1} with -1 ...
Just go open source bro lmao. If your releasing it for free anyways. Now decompiling paid services should be a crime but if YOU as the programmer don't include a license agreement, you don't own your code. No one does and it's not public use either. ...
Thanks @FerruFX It was actually just the for loop, I was using it properly from a "loop through all the orders" standpoint but I forgot I was using it as an index as well, which requires the modification to count and the GreaterThanEquivalence(>=) ...
Figured I could finally make a thread since I've tried 3 or 4 different ways to limit it now ...
You just want them to be able to backtest the EA on the strategy tester? Then you can use the IsTesting() function which returns true when in the metatrader strategy tester. Otherwise I don't believe it possible to block copy trades from being ...
While not impossible, it is very difficult to do. You would need to have a program that could estimate the optimizations the compiler used as well as something that could lexically analyze and expand back into the MQL4/5 languages. The more ...
I shall raise you my own u̶n̶h̶o̶l̶y̶ creation and the knowledge from my N̶e̶c̶r̶o̶n̶o̶m̶i̶c̶o̶n̶ YouTube Playlist (not my videos). Rayner Teo - 5 trailing Stop Techniques... url Expert4x - 3 automated trailing stops... url No Nonsense Forex - ...