Author states: On the previous version of Twin Range Filter found here:
https://usethinkscript.com/threads/twin-range-filter-for-thinkorswim.12831/
You can only see Long and Short signals on the chart.
But in this version of TRF, users can visually see the BUY and SELL signals on the chart with an added line of TRF.
TRF is an average of two smoothed Exponential Moving Averages, fast one has 27 bars of length and the slow one has 55 bars.
The purpose is to obtain two ranges that price fluctuates between (upper and lower range) and have LONG AND SHORT SIGNALS when close price crosses above the upper range and conversely crosses below lower range.
-BUY when price is higher or equal to the upper range level and the indicator line turns to draw the lower range to follow the price just under the bars as a trailing stop loss indicator like SuperTrend.
-SELL when price is lower or equal to the lower range levelline under the bars and then the indicator line turns to draw the upper range to follow the price just over the bars in that same trailing stop loss logic.
Original Tradingview code found:
https://www.tradingview.com/script/bCCLOhFE-Twin-Range-Filter-Visualized/
Must scroll down to the next post for the new ThinkOrSwim code
https://usethinkscript.com/threads/twin-range-filter-for-thinkorswim.12831/
You can only see Long and Short signals on the chart.
But in this version of TRF, users can visually see the BUY and SELL signals on the chart with an added line of TRF.
TRF is an average of two smoothed Exponential Moving Averages, fast one has 27 bars of length and the slow one has 55 bars.
The purpose is to obtain two ranges that price fluctuates between (upper and lower range) and have LONG AND SHORT SIGNALS when close price crosses above the upper range and conversely crosses below lower range.
-BUY when price is higher or equal to the upper range level and the indicator line turns to draw the lower range to follow the price just under the bars as a trailing stop loss indicator like SuperTrend.
-SELL when price is lower or equal to the lower range levelline under the bars and then the indicator line turns to draw the upper range to follow the price just over the bars in that same trailing stop loss logic.
Original Tradingview code found:
https://www.tradingview.com/script/bCCLOhFE-Twin-Range-Filter-Visualized/
Must scroll down to the next post for the new ThinkOrSwim code
Last edited by a moderator: