당사 팬 페이지에 가입하십시오
JMACandleTrend_HTF_Signal - MetaTrader 5용 지표
- 조회수:
- 3559
- 평가:
- 게시됨:
- 2018.12.18 19:13
- 업데이트됨:
- 2023.03.29 13:48
- 이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동
The JMACandleTrend_HTF_Signal indicator shows the trend direction or a signal for performing a trade generated by the JMACandleTrend indicator at the chosen bar as a graphic object with colored indication of the trend or the trade direction, generates alerts or sound notifications if there are signals for performing trades or sends push notifications to a smartphone.
In case a trend continues at the selected bar, the indicator alerts by a graphic object in the form of the right arrow, the color of which corresponds to a trend direction. In case a trend has changed at the selected bar, the indicator alerts by the flower object, color of which corresponds to a performed deal direction.
All input parameters can be divided into three large groups:
- JMACandleTrend inputs:
input ENUM_TIMEFRAMES Timeframe=PERIOD_H6; // Timeframe for calculating the indicator 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 parameters of the JMACandleTrend_HTF_Signal indicator required for the indicator visualization:
//---- indicator display settings input uint SignalBar=0; // Bar index for obtaining a signal (0 - current bar) input string Symbols_Sirname=INDICATOR_NAME"_Label_"; // Indicator label name input color UpSymbol_Color=clrDodgerBlue; // Growth label color input color DnSymbol_Color=clrMagenta; // Fall label color input color IndName_Color=clrDarkOrchid; // Indicator name color input uint Symbols_Size=60; // Signal label size input uint Font_Size=10; // Indicator name font size input int X_1=5; // Name horizontal shift input int Y_1=-15; // Name vertical shift input bool ShowIndName=true; // Display indicator name input ENUM_BASE_CORNER WhatCorner=CORNER_RIGHT_UPPER; // Corner input uint X_=0; // Horizontal shift input uint Y_=20; // Vertical shift
- Input parameters of the JMACandleTrend_HTF_Signal indicator that are necessary for generating alerts and audio signals:
//---- alert settings input ENUM_ALERT_MODE alert_mode=OnlySound; // Trigger indication option input uint AlertCount=0; // Number of alerts input bool Push=true; // Allow push notifications
If several JMACandleTrend_HTF_Signal indicators are to be used on one chart, each of them should have its own value of the Symbols_Sirname string variable (the names of indicator labels).
For the indicator to operate, the JMACandleTrend.ex5 indicator should be added to the <terminal_data_directory>\MQL5\Indicators folder.
Fig. 2. A signal to open a position based on the data of JMACandleTrend indicator
Fig. 2. A signal to open a position based on the data of JMACandleTrend indicator
MetaQuotes Ltd에서 러시아어로 번역함.
원본 코드: https://www.mql5.com/ru/code/22569
BullsBearsEyes_Vol indicator with additional averaging of the resulting histogram
RNNThe Expert Advisor based on iRSI (Relative Strength Index, RSI) indicator and a small neural network
The indicator shows information on the current trends, using the colors of the JMACandleTrend indicator from ten different timeframes
JMACandleTrend_x10JMACandleTrend_x10 shows the direction of JMACandle indicator signals from ten different timeframes from the bar defined in the indicator input parameters