거래 로봇을 무료로 다운로드 하는 법을 시청해보세요
당사를 Facebook에서 찾아주십시오!
당사 팬 페이지에 가입하십시오
스크립트가 흥미로우신가요?
그렇다면 링크 to it -
하셔서 다른 이들이 평가할 수 있도록 해보세요
스크립트가 마음에 드시나요? MetaTrader 5 터미널에서 시도해보십시오
조회수:
6937
평가:
(38)
게시됨:
2014.02.04 08:29
업데이트됨:
2016.11.22 07:32
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

Example of using IndicatorSetDouble() function. This is an indicator that turns upside down the maximum and minimum values ​​of the indicator window and values ​​of levels, on which the horizontal lines are placed.

The indicator is created in a separate window, and three horizontal lines on levels 25, 50 and 75 are also added in the same window:

//--- display three horizontal levels in a separate indicator window
#property indicator_level1 25
#property indicator_level2 50
#property indicator_level3 75

Then, a signature is placed in OnInit() function for each level:

//--- set descriptions for the horizontal levels 
   IndicatorSetString(INDICATOR_LEVELTEXT,0,"First Level (index 0)");
   IndicatorSetString(INDICATOR_LEVELTEXT,1,"Second Level (index 1)");
   IndicatorSetString(INDICATOR_LEVELTEXT,2,"Third Level (index 2)");
Arrived ticks are calculated during the indicator operation in tick_counter variable. The indicator window rendering changes each 10 ticks - the minimum value is changed from 0 to -100, while the maximum one - from 100 to 0. Thus, the indicator is "reversed".


Example of using Demo_IndicatorSetDouble() function


MetaQuotes Ltd에서 러시아어로 번역함.
원본 코드: https://www.mql5.com/ru/code/1762

Standard_Deviation_Channels Standard_Deviation_Channels

Two Standard Deviation channels automatically positioned on the chart.

Smooth Candle S Smooth Candle S

Four moving averages based on the averaged values ​​of Open, Low, High and Close of a candlestick chart.

BlauSMStochastic_HTF BlauSMStochastic_HTF

The BlauSMStochastic indicator with the timeframe selection option available in input parameters.

iAnchMom iAnchMom

A non-normalized oscillator implemented in the form of a color histogram.