The BvsB indicator with the timeframe selection option available in input parameters:
input ENUM_TIMEFRAMES TimeFrame=PERIOD_H4; // Indicator chart period (timeframe)
To provide correct operation of the indicator, place the compiled BvsB.mq5 indicator file in terminal_data_folder\MQL5\Indicators.
Figure 1. The BvsB_HTF indicator
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/11416
The Exp_BvsB Expert Advisor is based on the signals of the trend indicator BvsB.Exp_BnB
The Exp_BnB Expert Advisor is based on the signals of the trend indicator BnB.