The StrangeIndicator 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 StrangeIndicator.mq5 indicator file to terminal_data_folder\MQL5\Indicators.
Fig1. Indicator StrangeIndicator_HTF
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/17942
The Expert Advisor is based on the indicator with the same name. Lot is calculated based on the risk value as a percentage of free margin.Candle shadow percent
The indicator finds candlesticks with a minimum or maximum shadow size. Limitation on the size of the candlestick body.