당사 팬 페이지에 가입하십시오
- 조회수:
- 5780
- 평가:
- 게시됨:
- 2017.01.26 09:10
-
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동
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:
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:
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.
MetaQuotes Ltd에서 러시아어로 번역함.
원본 코드: https://www.mql5.com/ru/code/16996
![The MasterMind](https://c.mql5.com/i/code/expert.png)
The Expert Advisor uses the iStochastic (Stochastic) Oscillator, iWPR (Larry Williams' Percent Range) indicators.
![Bollinger Bands](https://c.mql5.com/i/code/expert.png)
The Expert Advisor opens trades based on the Bollinger Bands indicator.
![PCA Synthetics - Recycle Legacy](https://c.mql5.com/i/code/indicator.png)
Indicator for automatic selection of the coefficients for every instrument in a pseudo-stationary portfolio, which tends to equilibrium at zero.
![Fractal_Moving_Average](https://c.mql5.com/i/code/indicator.png)
Fractal moving average with indication of the last value with a price label with the ability to change the averaging algorithm.