거래 로봇을 무료로 다운로드 하는 법을 시청해보세요
당사를 Facebook에서 찾아주십시오!
당사 팬 페이지에 가입하십시오
당사 팬 페이지에 가입하십시오
스크립트가 마음에 드시나요? MetaTrader 5 터미널에서 시도해보십시오
- 조회수:
- 3682
- 평가:
- 게시됨:
- 2018.07.09 12:42
- 업데이트됨:
- 2023.03.29 13:48
-
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동
Two indicators ColorX2MA from different timeframes, the area between lines being filled with a cloud, the color of which corresponds with the trend direction on the market
//+-------------------------------------+ //| INDICATOR INPUT PARAMETERS | //+-------------------------------------+ input ENUM_TIMEFRAMES TimeFrame1=PERIOD_H1;//Chart timeframe 1 input ENUM_TIMEFRAMES TimeFrame2=PERIOD_H4;//Chart timeframe 2 //+-------------------------------------+ //| INDICATOR INPUT PARAMETERS | //+-------------------------------------+ input Smooth_Method MA_Method1=MODE_SMA_; //First smoothing averaging method input uint Length1=12; //First smoothing depth input int Phase1=15; //First smoothing parameter, 3//---- for JJMA within the range of -100 ... +100 it influences the quality of the transition process; //---- for VIDIA it is a CMO period, for AMA it is a slow average period input Smooth_Method MA_Method2=MODE_JJMA; //Second smoothing averaging method input uint Length2= 5; //Second smoothing depth input int Phase2=15; //Second smoothing parameter, 3//---- for JJMA within the range of -100 ... +100 it influences the quality of the transition process; //---- for VIDIA it is a CMO period, for AMA it is a slow average period input Applied_price_ IPC=PRICE_CLOSE_;//Price constant input int Shift=0; // Horizontal indicator shift in bars input int PriceShift=0; // Vertical indicator shift in points //+-------------------------------------+
For the indicator to operate, indicator ColorX2MA.ex5 must be in the <terminal_data_directory>\MQL5\Indicators folder.
Fig 1. Indicator ColorX2MA_x2_cloud_HTF
MetaQuotes Ltd에서 러시아어로 번역함.
원본 코드: https://www.mql5.com/ru/code/21026