Join our fan page
- Views:
- 4254
- Rating:
- Published:
- 2017.05.29 15:42
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
The WmiVol indicator with the timeframe selection option available in its input parameters:
input ENUM_TIMEFRAMES TimeFrame=PERIOD_H4; // Indicator chart period (timeframe)
To provide correct operation of the indicator, add the compiled WmiVol.mq5 indicator file to terminal_data_folder\MQL5\Indicators.
Fig1. The WmiVol_HTF indicator
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/18150

Two colored filled rectangles drawn between the values of two GRFLeadingEdger indicator channels on one bar.

Two colored filled rectangles drawn between the values of two Keltner channels on one bar.

The indicator sets the "Fixed scale" property to a chart window and holds the first bar in the middle of the window.

Shows an appropriate value for the last three bars on each timeframe: "1" if the bar is bullish, and "0" if the bar is bearish.