Questions from Beginners MQL5 MT5 MetaTrader 5 - page 1127
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
Hello Vladimir!
Please help me modify the start of the script below:
I need the script to set pending orders not from ask and bid, but from hight and low of the previous bar (candlestick).
Sincerely, Vladimir.
Like this:
Forum on Trading, Automated Trading Systems and Strategy Tests
FAQ from Beginners MQL5 MT5 MetaTrader 5
Vladimir Karputov, 2019.09.18 12:49
About like this:
Great!!! Thank you!
Regards, Vladimir.
Forum on Trading, Automated Trading Systems and Strategy Tests
FAQ from Beginners MQL5 MT5 MetaTrader 5
Vladimir Karputov, 2019.08.31 14:38
Please.
Please pay attention to the m_first_start variable declared at global program level
At the end of OnTick this variable is assigned the value "true"
and the EA will no longer place pending orders until its next restart
Hello Vladimir!
Please advise how to change the code so that the EA has placed pending orders on every bar to improve my self-education. I tried to simply delete all the yellow marking, but it would immediately start opening and placing thousands of orders and positions.
Sincerely, Vladimir.
Hello Vladimir!
To enhance my self-education, please advise how to change the code so that the EA places pending orders on every bar. I tried to simply delete all marked in yellow, but it immediately starts opening and placing thousands of orders and positions.
Sincerely, Vladimir.
You should detect the moment when a new bar is born and place pending orders only then:
Thank you, Vladimir, for the tip.
Respectfully, Vladimir.
It is necessary to determine when a new bar is born and only then place pending orders:
It is absolutely obvious! Where do these questions come from? From laziness or something else?
It's absolutely obvious! Where do these questions come from? From laziness or something else?
MrBrooklin is just taking his first steps, so he needs a hint. Everyone started out and was green at one time or another.
MrBrooklin is just taking his first steps, so he needs some tips. Everyone started out once and was green.
I'm not against it in principle. But there has to be a logic to it?
I want something to be done on the new bar. Well, first of all, you need to define this new bar.
These questions are not a beginner, but a lazy man who wants everything chewed up and put in his mouth. Can't you use your brain?