Expert Advisors • Indicators • Scripts • Libraries

MQL.RobotFX.org is the biggest collection of MetaTrader expert advisors (MT5 & MT4), indicators, scripts and libraries that can be used to improve trading results, minimize risks or simply automate trading tasks

MetaTrader 5 Indicator | HLCrossSigForDeMarker

Real author:

Bigeev Rustem

The HLCrossSigForDeMarker is considered as a trend indicator since it is intended for "catching" trends. However, it's a pretty complex and informative indicator that allows excluding the psychological and emotional effects from trading.

This indicators shows levels for opening positions, setting stop levels, Trailing Stop and Take Profit, what leaves no doubts for a trader regarding performing a deal. Avoiding psychological and emotional influence in trading is a key factor for getting a profit on the market.

//+----------------------------------------------+  //| Indicator input parameters                   |  //+----------------------------------------------+  input uint Supr_Period=6;        //Break-through range period: The higher its value is, the later and rarer the signals are  input uint MA_Period=21;         //Period for Triple Exponential Moving Average. Used as an additional filter  input uint Risk=0;               //Highest risk in pips to calculate the entering level based on the level of the nearest MAX/MIN  input uint ATR_Period=120;       //ATR period. Used for calculation of volatility.  input double Q=0.7;              //Parameter to place Take Profit. - A rate of Stop Loss. if =1, Take = Stop  input uint DeMarker_Period=12;   //DeMarker period. Used as an additional filter  input double HLine=+0.5;         //Upper signal stop line for DeMarker  input double LLine=-0.5;         //Lower signal stop line for DeMarker  

Displayed elements of the indicator:

  1. Up and down arrows are signals for opening the corresponding positions;
  2. Circles on crosshairs are points for placing initial Take Profit;
  3. Dots are used for confirmation of determined trend. If the price continuously breaks through the levels of these points, one should keep the position as long as it is possible. If points represent a "corridor" for a long period, it is time for fix the profit.;
  4. Diamonds are limits for placing Stop Loss and Trailing Stop.

MetaTrader Experts, Indicators, Scripts and Libraries

Fig. 1. Indicator HLCrossSigForDeMarker

23552