Fillelin: Here I can offer you a similar SCRIPT. Description in code.
Thank you! If it's a script, it might work - a script can work as an EA if you put it in experts.
As for the EA I have not managed to compile it, I have encountered some errors in the end:
'GetNameOP' - function is not defined C:\Program Files (x86)\IamFX MT4\experts\VirtTPSL-Tr_EA.mq4 (45, 31) 'ErrorDescription' - function is not defined C:\Program Files (x86)\IamFX MT4\experts\VirtTPSL-Tr_EA.mq4 (45, 49)
Even after corrections - 2 custom functions are missing.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
I want to write an Expert Advisor on the Pincer pattern.
I have chosen
Unfortunately for me the condition is wrong because 'sl' is set to 100.00000 and 'tp' is showing an error.
I decided to add a condition to consider 1 tick.
the result is the same. how do i solve my problem?
I want to write an Expert Advisor on the pincer pattern.
I have chosen
Unfortunately for me the condition is wrong because 'sl' is set to 100.00000 and 'tp' is showing an error.
I decided to add a condition to consider 1 tick.
The result is the same. How do I correctly solve my problem?
You have a variable Step=100 ? If so, see what you get further in the code.
Step=MarketInfo(Symb,MODE_STOPLEVEL);Look, semicolons (;),
It's all there. I just didn't think much of it when I posted on the forum.
Here I can offer you a similar SCRIPT.
Description in code.
Thank you! If it's a script, it might work - a script can work as an EA if you put it in experts.
As for the EA I have not managed to compile it, I have encountered some errors in the end:
'ErrorDescription' - function is not defined C:\Program Files (x86)\IamFX MT4\experts\VirtTPSL-Tr_EA.mq4 (45, 49)
copied, pasted, corrected some errors, the result is that the code works in the tester at 4 digits:
All right, well done. Let's see if step=0
what sl and tp will be equal to.
And the person who raised this question should set order sl=0, tp=0 and then modify it.
This must be it.