거래 로봇을 무료로 다운로드 하는 법을 시청해보세요
당사를 Telegram에서 찾아주십시오!
당사 팬 페이지에 가입하십시오
스크립트가 흥미로우신가요?
그렇다면 링크 to it -
하셔서 다른 이들이 평가할 수 있도록 해보세요
스크립트가 마음에 드시나요? MetaTrader 5 터미널에서 시도해보십시오
지표

Custom Bulls Power Inputs - MetaTrader 5용 지표

조회수:
3373
평가:
(9)
게시됨:
2018.09.27 15:51
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

Two settings have been added to input parameters: line color (Color) and line width (Width).

Custom Bulls Power Inputs

Why are the line color (Color) and line width (Width) are provided as input parameters, whereas the line color and width in the standard indicator can be changed manually? If you test a strategy in the tester or if the indicator is added to a chart by an Expert Advisor (via ChartIndicatorAdd), Bulls Power is ALWAYS displayed with the default color and width:

RTSSiU8Daily Buls

In my opinion, such a display is not convenient, so here is a custom indicator Custom Bulls Power Inputs (using iCustom), with the passing of parameters colors and widths

//--- create handle of the indicator iBullsPower
   handle_iBullsPower=iCustom(m_symbol.Name(),Period(),"Custom Bulls Power Inputs",
                            InpMAPeriod,InpBullsColor,InpBullsWith);
//--- if the handle is not created 
   if(handle_iBullsPower==INVALID_HANDLE)
     {
      //--- tell about the failure and output the error code 
      PrintFormat("Failed to create handle of the iBullsPower indicator for the symbol %s/%s, error code %d",
                  Symbol(),
                  EnumToString(Period()),
                  GetLastError());
      //--- the indicator is stopped early 
      return(INIT_FAILED);
     }

This allows you to see a more beautiful indicator in the tester or on the terminal chart:

Custom Bulls Power Inputs

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

Custom Moving Average Inputs Custom Moving Average Inputs

A modification of the "Custom Moving Average" indicator: now the line color and line width can be set in input parameters.

UltraMFI_HTF UltraMFI_HTF

The UltraMFI indicator with the ability to change the indicator timeframe using the input parameters.

Custom Bears Power Inputs Custom Bears Power Inputs

A modification of the "Bears Power" indicator: now the line color and line width can be set in input parameters.

i-AnyRangeCldTail_System i-AnyRangeCldTail_System

The indicator paints candlesticks, which are beyond the i-AnyRangeCldTail channel. Candlesticks outside the channel limits are marked with color according to the trend.