Questions from Beginners MQL5 MT5 MetaTrader 5 - page 715
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
Calculate the second buffer on its normal values, for example (if we want to calculate 10 bars for "future" display), then calculate this buffer on Buff[9] -- Buff[8] -- Buff[n] -- Buff[0] values, and then output this buffer with non-zero offset. Set the buffer offset by the desired number of bars into the future - 10 in this case
That's right. You got me exactly right. Thank you!
Question - how to set an offset from the zero bar of the indicator buffer and into the future?
I tried it, the indicator doesn't understand it. Zero bar is the edge of the indicator.
Calculate the second buffer on its normal values, for example (if you need to calculate 10 bars to display "future"), then calculate this buffer on values Buff[9] -- Buff[8] -- Buff[n] -- Buff[0], and then output this buffer with non-zero offset. Set the buffer offset to the desired number of bars in the future - 10 in this case.
Interesting solution, thank you.
draw the future in the present?
It's elementary.
but the future in the future how?
draw the future in the present?
it's elementary.
but the future in the future how?
PLOT_SHIFT
Shift of the graphical plotting of the indicator along the time axis in bars
int
draw the future in the present?
It's elementary.
But what about the future?
Put the MAA on the chart - it ends at zero bar. And now, in its settings, enter 10 in the shift parameter - it will shift 10 bars to the right.
That's what I was talking about - calculate the "future" in the normal position and shift it to the future with that shift. Or into the past - whatever you want.
PLOT_SHIFT
Shift of indicatorplotting along time axis in bars
int
Put the MA on the chart - it ends at bar zero. And now in its settings, enter 10 in the shift parameter - it will shift 10 bars to the right.
That's what I was saying - calculate the "future" in its normal position and shift it to the future with this shift. Or to the past - as you like.
The MA is built in the main window, right?
I asked about the indicator window, not the main one.
There is no problem with the main one.
I mean the indicator window (sub-window as it were), not the main window.
There is no problem with the main one.
Well ... I've already made my point, Alexey explained it to you.
THANK YOU!
Anyway.
Shifting the line in the indicator window to the right, beyond the zero bar, does work on the MT5 platform.
MT4 doesn't have that feature, it didn't work, whatever I did.
Also MT5 as far as I know has 3D modelling capability unlike MT4.
This is all very cool!
I broke down.
I`m switching to MT5!!! // And it's urgent ;)
Bottom line.
Shifting the line in the indicator window to the right, beyond the zero bar, does work on the MT5 platform.
MT4 does not have such an opportunity.
Also MT5 as far as I know has the possibility of 3D modelling unlike MT4.
This is all very cool!
I broke down.
Switching to MT5!!! // and urgently ;)
Hello ... What do you mean you can't?
What is it then? Five minutes in the editor...
Screenshots of the MetaTrader trading platform
EURUSD, D1, 2017.01.11
MetaQuotes Software Corp., MetaTrader 4, Demo