[ARCHIVE!] Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Can't go anywhere without you - 4. - page 120

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
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.