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

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
CopyRates().
Alexey, thank you very much!
Am I right to understand that I should declare static array ofMqlRates type with one item and then call functionCopyRates by third option (from those, which are listed in documentation), specifying parametersstart_time andstop_time equal to opening time of needed bar?
Alexey, thank you very much!
Do I understand correctly, that it's enough to declare static array ofMqlRates type with one item and then call functionCopyRates by the third option (from those listed in documentation), specifying parametersstart_time andstop_time equal to opening time of required bar?
I would like to ask for help increating an indicator, and if at all it is possible to create one that would do the following:
- After the price crosses a vertical level, it would colour part of the background a different colour.
The width of the oras is equal to the candle's width and the height dependson the horizontal levels set earlier. -
I am attaching a picture with an example.
Thanks in advance.
*fromvertical levels*- from horizontal levels
You can edit a post, it's better than adding a new one.
I would like to ask for help increating an indicator, and if it is at all possible to create one that would do the following:
- After the price crosses a vertical level, it would colour part of the background a different colour.
The width of the oras is equal to the candle's width and the height dependson the horizontal levels set earlier. -
I am attaching a picture with an example.
Thanks in advance.
What do you need help with? Write for you? Then freelancing is your best bet. If you write yourself, but do not work - lay out what you have - see / think / advise.
It's quite doable. Look for indicators that draw objects, load them into the metaeditor and F1 to help.