Create Dataseries which mirrors Source, but with last X values removed?
Created at 07 Apr 2022, 17:23
MA
Create Dataseries which mirrors Source, but with last X values removed?
07 Apr 2022, 17:23
I want to create a dataseries, that mirrors the source dataseries. (One that I can call .maximum(10)) on etc.
But I want it to exclude the most recent prices (X bars). The reason is I want to be able to find when price has spiked OUT of a tight range, I can define the range by Source.Maximum(10), and Source.Minimum(10)... but if the price spikes out, the Maximum will increase as well, and so I can't determine if price has spiked out of the range.
amusleh
08 Apr 2022, 10:26
Hi,
There is no need to create a new data series for that, you can work on a split of a data series, ex:
@amusleh