Normally if we attach an indicator, it will show the indicator for the current chart only.
With this indicator you can choose the symbol for which you want to apply the indicator. You can add any number of times this indicator with different symbols as inputs.
We can add two instances of this indicator for these two symbols and can monitor whether the correlation exists or not.
In other way, we can add three instances of this indicator for 2 major pairs and one for its cross pair. Example: For EURUSD, GBPUSD and EURGBP.
We can see on cross pair how the changes in major pairs affects its movement.
There are a lot of users who searched for iBarShift function like in MQL4. But this function is no more include in MQL5, mainly because MQL5 provides all necessary basic, low-level, functions to process such thing in a library.Price_Channel_Trend
Trend indicator, based on crossover of pivot level and its median.