Hello, the robot has calculation of breakeven for buy and sell orders separately. what should I add to display the total breakeven price for both buy and sell at the same time?
the graph jumps if I move it first (fix scale) and then shrink the price axis
https://ru.files.fm/u/8t68kgss
: (
2. when i reopen the terminal it forgets my screen settings - i have to scroll the price to the left again to be able to move the chart up and down further (fixscale).
If you want to remove ads for yourself and your file viewers or just want to support us subscribe to a PRO account. This will help us to continue develop services and new features. Thank you!
When the price reaches a certain level, the order modification function is executed. Sometimes the function is not executed (OFF Quotes) and the price has already bounced. How to make the function continue trying to execute until it wins or make a certain number of attempts even if the condition to execute the function is no longer met.
When the price reaches a certain level, the order modification function is executed. Sometimes the function is not executed (OFF Quotes) and the price has already bounced. How to make the function continue trying to execute until it wins or make a certain number of attempts even if the condition to execute the function is no longer met.
So don't reset the condition after it is triggered, you can think of a hundred ways to do it, for example from the modification function itself to make it work until it wins or the condition triggered - raise a flag and run a primitive timer with an assigned trigger time, it all depends on your imagination
When the price reaches a certain level, the order modification function is executed. Sometimes the function is not executed (OFF Quotes) and the price has already rebounded. How do I make the function keep trying to be executed until it wins? Or make a certain number of attempts.
mmaxx: @Aleksey Semenov. I'm a beginner, so I couldn't come up with it myself. How to make function work until win ? Maybe there are some code examples?
I left you a link. There are both examples and discussion at the start of the thread. Of the ones I know "to win" you can do while.
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.
Hello, the robot has calculation of breakeven for buy and sell orders separately. what should I add to display the total breakeven price for both buy and sell at the same time?
double Average_Price(int type,bool hand_orders,bool use_correct)
Anybody here alive? :)
Learn how to insert code and someone will come alive.
how to convert int to date?
how to find the number of bars between dates taken from the current period? I did this and of course it does not work
1. oh no
: О
the graph jumps if I move it first (fix scale) and then shrink the price axis
https://ru.files.fm/u/8t68kgss
: (
2. when i reopen the terminal it forgets my screen settings - i have to scroll the price to the left again to be able to move the chart up and down further (fixscale).
i want to direct this to sd.
p.s. muzhichenko, come here, f*ck me!
Dear experts, could you please advise me?
When the price reaches a certain level, the order modification function is executed. Sometimes the function is not executed (OFF Quotes) and the price has already bounced. How to make the function continue trying to execute until it wins or make a certain number of attempts even if the condition to execute the function is no longer met.
Dear experts, could you please advise me?
When the price reaches a certain level, the order modification function is executed. Sometimes the function is not executed (OFF Quotes) and the price has already bounced. How to make the function continue trying to execute until it wins or make a certain number of attempts even if the condition to execute the function is no longer met.
Dear experts, could you please advise me?
When the price reaches a certain level, the order modification function is executed. Sometimes the function is not executed (OFF Quotes) and the price has already rebounded. How do I make the function keep trying to be executed until it wins? Or make a certain number of attempts.
@Aleksey Semenov. I'm a beginner, so I couldn't come up with it myself. How to make function work until win ? Maybe there are some code examples?