Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

Relationships - Chart Builder Old Version - MetaTrader 5 Script | Forex Indicators Download - MT4/MT5 Resources

author EAcpu | 2 reads | 0 comments |

Relation - Chart Builder Legacy - indicator for MetaTrader 5

Indicator for building custom charts, based on user-defined formulas.

The chart is drawn within the time frame specified in the indicator settings. The charts of the selected instrument are synchronized in time.

Spaces in formulas are optional, and decimals are specified using dots only.

To avoid inconsistent measurement units and convert everything to the deposit currency, set the InpAlign parameter to true

Supported operations, by execution priority:

Application example to find the separation between the last 1000 currency baskets on the M1 chart:

This generates a chart of synthetic currency pairs, conditional on buying 3 lots of EURUSD, 1.5 lots of AUDUSD, and so on.

The idea for this indicator came from here and MS Excel.

Relation - Chart Builder Legacy - indicator for MetaTrader 5


Attachment download

📎 resources.mqh (24.35 KB)

📎 matrices.mqh (5.04 KB)

📎 relation.mq5 (3.19 KB)

Source: MQL5 #16996

Verification code Refresh