Research (NRTR) from the author (Evergrt) made into strategy.
The idea of the indicator is similar to the , but doesn't involve ATR component and uses a percentage instead.
A dynamic is used to calculate the NRTR. The calculations involve only those prices that are included in the current trend and exclude the extremes related to the previous trend. The indicator is always at the same distance (in percent) from the extremes reached by prices (below the maximum peak for the current uptrend, above the minimum bottom for the current downtrend)
I also added filter output, /% output, and backtesting to the strategy. Below in order:
1) Logic entry:
% - distance as a percentage of extreme values
If the checkbox is checked, the / filter will be used. If at the moment of triggering a buy signal in a long line, the line is under the lower line, then a buy will be made, and if not, ignored. With the short position, on the contrary, the upper line border is responsible for it.
-exit by , if the conditions are triggered, but the position is in the red, then there will be no exit.
- percentage output
If there is a tick on the and%, then the position will be closed, which will be the first.
backtesting for any period of time