How can I create and move a vertical line on all open charts simultaneously and corresponding to the same time?
In other words,
How can I program the vertical line to be created and moved across all visible charts by creating and moving it only on the active chart?
- Vertical Lines
- Multi Timeframe Indicators
- Indicators: Volume Profile + Range v6.0 - indicator for MetaTrader 5 (Fixed iBarShift Issue)
macpee: How can I program the vertical line to be created and moved across all visible charts by creating and moving it only on the active chart?
You program an indicator to monitor its location, remember it in a GV. The indicators on other charts see the updated location and moves theirs.
William Roeder:
Did you say indicator? I was thinking about Expert Advisor. What is GV please?You program an indicator to monitor its location, remember it in a GV. The indicators on other charts see the updated location and moves theirs.
Ok, GV = Global Variable
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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