Looks very much like code created by an EA builder.
I know Mohammad this is most likely a freelance job he has done somewhere in the past.
Looks very much like code created by an EA builder.
Why ?
The use of variable names "TheStopLoss" & "TheTakeProfit" is a big clue as well as the layout.
A simple search for TheStopLoss turns up loads of code by EA builders
eg.
https://www.mql5.com/en/forum/215576
- 2017.09.13
- www.mql5.com
The use of variable names "TheStopLoss" & "TheTakeProfit" is a big clue as well as the layout.
A simple search for TheStopLoss turns up loads of code by EA builders
eg.
https://www.mql5.com/en/forum/215576
It scared me a bit because my coding also looks like that and i want anything but to be compared to an EA Builder :)
Don't worry Marco. There's a lot more that convinced me that it was not the work of an experienced coder.
Use of prefix "My".
Inputs were in Points, but then converted to pips when used in calculations.
Checking RSI value every tick when only checking shift[1].
Counting up in a loop through orders when some may be closed by the loop.
In the event that a trade is closed in the loop, still continuing to check and maybe attempt to modify the TS on a closed trade.
Using ints when it should be a bool.
Not actually checking the return of OrderSelect() , OrderClose() and OrderModify().
I don't believe that you use code like that.
Probably somebody at some time has got hold of some code from Mohammad Soubra and modified it with blocks of code from an EA builder.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Thanks in advance.