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

Semaphore signal indicator triggering when the JMACandle candles change their direction.

//+----------------------------------------------+
//|  INDICATOR INPUTS                            |
//+----------------------------------------------+
input Smooth_Method MA_Method1=MODE_JJMA;              //smoothing method
input int Length1=30;                                  //smoothing depth                    
input int Phase1=15;                                   //smoothing parameter,
//---- for JJMA, changing within -100 ... +100, affects the transient process quality;
//---- For VIDIA this is CMO period, for AMA this is a slow average
input uint Gap=10;                                     //not considered gap in points
input uint BuySymb=171;                                //Buy symbol
input uint SellSymb=171;                               //Sell symbol

To replace the values of the two last inputs, use the Wingdings font symbols table.

The indicator uses SmoothAlgorithms.mqh library classes (copy it to <terminal_data_folder>\MQL5\Include). The use of the classes was thoroughly described in the article "Averaging Price Series for Intermediate Calculations Without Using Additional Buffers".

Fig. 1. JMACandleTrend indicator

Fig. 1. JMACandleTrend indicator

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

JMACandleTrend_Signal JMACandleTrend_Signal

JMACandleTrend_Signal indicator shows information on the current trend using the values of the JMACandleTrend indicator with a fixed timeframe

JMACandleTrend_x10 JMACandleTrend_x10

JMACandleTrend_x10 shows the direction of JMACandle indicator signals from ten different timeframes from the bar defined in the indicator input parameters

Three indicators Three indicators

The Expert Advisor is based on OHLC and three indicators: iMACD (Moving Average Convergence/Divergence, MACD), iStochastic (Stochastic Oscillator) and iRSI (Relative Strength Index, RSI)

SL_Breakeven SL_Breakeven

The function for moving an open position to a breakeven.