Watch how to download trading robots for free
Find us on Twitter!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Indicators

Relation - Chart Builder Legacy - indicator for MetaTrader 5

Views:
5686
Rating:
(13)
Published:
2017.01.26 09:10
\MQL5\Include\AIV\
Resources.mqh (24.35 KB) view
Matrices.mqh (5.04 KB) view
\MQL5\Indicators\AIV\
Relation.mq5 (3.19 KB) view
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

Indicator for building custom charts, which are based on user-defined formula.

Charts are drawn in bars of the timeframe specified in the indicator settings. Charts of the selected instruments are synchronized in time.

Spaces in the formula are optional, fractional numbers are only specified using the point.

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

Supported operations, by priority of execution:

Parentheses: (a ... b)
Exponentiation: a ^ b
Division: a / b
Multiplication: a * b
Addition: a + b
Subtraction: a - b

Example of application, to find the separation between the currency baskets for the last 1000 bars on the M1 chart:

InpDepth = 1000
InpPeriod - PERIOD_M1
InpExpression = "3 * EURUSD * 1.5 * AUDUSD * GBPUSD - (5 * AUDGBP - 2 * EURGBP) * 1.2 * CHFGBP"

This results in a chart of the synthetic pair, with the condition of buying 3 lots of EURUSD, 1.5 lots of AUDUSD and so on.

Idea of the indicator has been adopted from here and MS Excel.

Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/16996

The MasterMind The MasterMind

The Expert Advisor uses the iStochastic (Stochastic) Oscillator, iWPR (Larry Williams' Percent Range) indicators.

Bollinger Bands Bollinger Bands

The Expert Advisor opens trades based on the Bollinger Bands indicator.

PCA Synthetics - Recycle Legacy PCA Synthetics - Recycle Legacy

Indicator for automatic selection of the coefficients for every instrument in a pseudo-stationary portfolio, which tends to equilibrium at zero.

Fractal_Moving_Average Fractal_Moving_Average

Fractal moving average with indication of the last value with a price label with the ability to change the averaging algorithm.