Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 1778

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
Or is there some easier way to get this value?
Attention question: is it a valid approach to loop through the values of the indicator buffer, starting with a zero shift deep down, calling the iCustom function at each iteration, until the resulting value is different from EMPTY_VALUE?
yes
Or is there some simpler way to get this value?
no
How should I write the code so that it would perform the following actions?
tick-check for open sell order within +/- (up/down) range of 10 pips from the price, if no open sell order
If i'm not sure i've got an open Sell order, then i should open a Sell order. The book is similar to C++.
I'm sorry if these questions are too wise.
How to write the code so that it would perform the following.
tick-check for open sell order within +/- (up/down) range of 10 pips from the price, if no open sell order
If i'm not sure i've got an open Sell order, then i should open a Sell order. The book is similar to C++.
I'm sorry if these questions are too clever.
Go through opened deals and compare the opening price - whether it falls within the Ask+10 to Ask-10 range, if it does, it means you have an open deal.
"As a last resort, open a Codebase and see how to do it)
valentin104 #:
Tick-check for an open sell order within +/- (up/down) of the price 10 pips, if not, open a sell order
thank you
I see. I'm just a scaredy-goosey Belorussian.
Mihail Matkovskij #:
Thank you. It didn't have any effect for some reason.