The basic logic is an indicator that tracks the high of the high bars in the specified range and the low of the low bars in the specified range.
I used two multipliers in order to go out of certain ranges and I tried to provide precision by subtracting this multiplier value from the lowest and highest values.
I set the steps of the multipliers to 0.01 so that it is easy to use on instruments that require finer tuning.
Because every instrument has its own dynamics. You should change the multiplier values according to the instrument dynamics.
For example, under Spot, these multiplier values work efficiently with a large multiplier such as 2.0. It is more efficient in the range of 0.1 - 0.2 in the stock market. I hope your transactions will be of some use in directional evaluation. Thanks.
In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publications is governed by House rules. Per aggiungerlo al grafico, mettilo tra i preferiti.
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.