Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 790
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
Where do you put the arrow?
At the low of the current bar, minus 10 pips. Where are you going?
At the low of the current bar, minus 10 pips. Where are you going with this?
Not much time to figure it out at all. Put the values of all variables in the commentary on the chart. And if you calculate everything on the current bar, then take all these calculations out of the loop.
Hello all :)
Maybe someone has a dynamic lot function depending on stop loss, but to make it work only for increase.
When the balance is reduced, the lot remains last, i.e. it works like a one-way valve.
I have an idea for this task, but it's not as elegant.
Hello, could you advise me please? I need to get the quotes of one pair on the chart of another and have them updated with every tick. How do I do that?
Hello, could you please tell me. I need to get the quotes of one pair on the chart of another pair and have them updated with every tick. How do I do that?
Lines
move to the body of theOnTick() function
aboveComment()
People, here's the thing, I wrote a script, in the first line of OnStart() I wrote "Alert("Started script"), as a result nothing happens, in the log I see only 2 lines: "loaded successfully" and "removed". GetLastError() writes 0. Help)
If you wrote a script, then show it. Insert the code in your message.
If you've written the script, please show it. Insert the code in your post.
I don't know how this should help, I've copied everything except the OnStart() content and run it with only one alert, everything works. Logically, the same OnStart() does not want to start because of the contents of OnStart(). I am puzzled.
I don't know how this should help, I've copied everything except the OnStart() content and run it with only one alert, everything works. Logically, the same OnStart() does not want to start because of the contents of OnStart(). I am puzzled.
there are no reports about Alert in the experts' logbook?