Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 276
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
ZeroMemory (...) initializes array of string type with NULL value
Good afternoon. Here is the question. Written an EA, attached a trailing stop to it, compiled.......... doesn't work:))))). I rebooted my computer, tweaked source code, it works. Started to adjust it via input parameters, again it does not work, or rather it changed once, and that's all.......... May be the wind is glitchy or i messed up somewhere again. I am attaching the source code.
Good afternoon. My question is as follows.I wrote an EA, attached a trailing stop to it, compiled.......... does not work:))))). More precisely trailing stop works, but the profit previously prescribed does not work, what is the reason?
Good afternoon. Question is as follows. Written an EA, attached a trailing stop to it, compiled.......... doesn't work:))))) I rebooted my computer, tweaked source code, it works. Started to adjust it via input parameters, again it does not work, or rather it changed once, and that's all.......... May be the wind is glitchy or i messed up somewhere again. I am attaching the source code.
still doesn't put up a tickprofit.... Please take another look.
still doesn't put up a tickprofit.... Please check again.
In the trailing function you set take profit 0 for all orders, but when you open it, you set the right take profit.
Please read the logic line by line,
open an order, set a stop and a take
start trailing stop take 0
replace 0 in the trailing order with OrderTakeProfit()
Now he doesn't put a stoplight
Now it doesn't put a stoplight
Show me the new code.
Show the new code
I told you clearly in trailing you put 0 instead of take
Check this option.
Please help me to compare the price of the MA on the first bar with the prices of the MA on the previous four bars. If the price has increased and the difference is greater than N fill in the buffer. I am trying to