CandlesticksBW_x10 지표는 CandlesticksBW 지표의 캔들스틱 색상을 10개 서로 다른 시간대에서 표시해주는 유용한 도구입니다. 이 지표는 사용자가 설정한 입력 파라미터에 따라 작동합니다.
지표 입력 파라미터
//+----------------------------------------------+ //| 지표 입력 파라미터 | //+----------------------------------------------+ input ENUM_TIMEFRAMES TimeFrame0=PERIOD_H1; //차트 1 기간 input ENUM_TIMEFRAMES TimeFrame1=PERIOD_H2; //차트 2 기간 input ENUM_TIMEFRAMES TimeFrame2=PERIOD_H3; //차트 3 기간 input ENUM_TIMEFRAMES TimeFrame3=PERIOD_H4; //차트 4 기간 input ENUM_TIMEFRAMES TimeFrame4=PERIOD_H6; //차트 5 기간 input ENUM_TIMEFRAMES TimeFrame5=PERIOD_H8; //차트 6 기간 input ENUM_TIMEFRAMES TimeFrame6=PERIOD_H12; //차트 7 기간 input ENUM_TIMEFRAMES TimeFrame7=PERIOD_D1; //차트 8 기간 input ENUM_TIMEFRAMES TimeFrame8=PERIOD_W1; //차트 9 기간 input ENUM_TIMEFRAMES TimeFrame9=PERIOD_MN1; //차트 10 기간 input uint SignalBar=1; //신호를 받을 바 번호 (0 - 현재 바) //---- 지표 그리기 파라미터 input color CpColor=clrBlueViolet; //지표 이름 색상 input color UpUpColor=clrDeepSkyBlue; //상승 추세 및 상승 캔들 색상 input color UpDnColor=clrBlue; //상승 추세 및 하락 캔들 색상 input color NonUpColor=clrTeal; //추세 없는 하락 캔들 색상 input color NonDnColor=clrRed; //추세 없는 상승 캔들 색상 input color DnUpColor=clrPurple; //하락 추세 및 상승 캔들 색상 input color DnDnColor=clrMagenta; //하락 추세 및 하락 캔들 색상 input int FontSize=11; //글자 크기 input type_font FontType=Font14; //글꼴 종류 input ENUM_BASE_CORNER WhatCorner=CORNER_LEFT_LOWER; //위치 모서리 input uint Y_=20; //수직 위치 input uint X_=5; //수평 위치 //+----------------------------------------------+
이 지표를 사용하기 위해서는 CandlesticksBW.ex5 파일을 <terminal_data_directory>\MQL5\Indicators 폴더에 추가해야 합니다.

Fig.1. Indicator CandlesticksBW_x10