Watch how to download trading robots for free
Find us on Facebook!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Indicators

Bear_Bulls_Power_Candle - indicator for MetaTrader 5

Views:
4732
Rating:
(10)
Published:
2018.07.13 15:23
Updated:
2023.03.29 13:48
\MQL5\Include\
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

A candlestick-based chart based on histograms Bear_Bulls_Power calculated on the Open, High, Low, and Close timeseries of the price chart. Growing candlesticks are made in green colors, while falling candlesticks are in red ones. Growing candlesticks, the close prices of which have grown as compared to the preceding candlesticks, are bright, while pale colors are used for falling close prices. Falling candlesticks with falling close prices are bright red, those with the growing ones are pale red.

//+-----------------------------------+
//|   INDICATOR INPUT PARAMETERS      |
//+-----------------------------------+
input Smooth_Method MA_Method1=MODE_SMA_; // Indicator smoothing method 
input uint Length1=12;                    // Indicator smoothing depth                   
input int Phase1=15;                      // Indicator smoothing parameter,
//---- for JJMA changing within the range of -100 ... +100, it influences the transition process quality;
//---- It is the CMO period for VIDIA and the slow moving average period for AMA
input Smooth_Method MA_Method2=MODE_JJMA; // Final indicator smoothing method
input uint Length2 = 5;                   // final indicator smoothing depth
input int Phase2=15;                      // Final indicator smoothin parameter,
//---- for JJMA changing within the range of -100 ... +100, it influences the transition process quality;
//----It is the CMO period for VIDIA and the slow moving average period for AMA
input uint Range=10; // maximum gap size between initial candlesticks, which is not displayed in the indicator
input int Shift=0;   // Horizontal indicator shift in bars
//+-----------------------------------+

The indicator uses the SmoothAlgorithms.mqh library classes. Working with them was described in details in article Averaging Price Series for Intermediate Calculations Without Using Additional Buffers.

Fig 1. Bear_Bulls_Power_Candle

Fig 1. Bear_Bulls_Power_Candle

Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/21174

ZPF ZPF

ZPF (Zero Point Force) - zero point force indicator. It displays the market climate.

XMA XMA

Indicator XMA (Digital adaptive Moving Average) is a digital adaptive moving average XMA. It calculates the moving aberage using a digital filter.

XPeriodCandleSystem XPeriodCandleSystem

Indicator XPeriodCandle supplemented by Bollinger Bands, based on their candlesticks, and indicating with the bright candlestick color if the candlesticks go beyond the bands.

Exp_NRTR_Duplex Exp_NRTR_Duplex

Two identical trading systems (for long and short positions) based on the signals of indicator NRTR, which can be differently configured within one EA.