TradingView
TheTradingParrot
26 juil. 2021 11:43

Inverse Fisher Transform on RSI for backtest w/alerts 

Ethereum / TetherUS PERPETUAL CONTRACTBinance

Description

This version of the Inverse Fisher Transform on RSI comes with support for

1) Backtesting with Gavin's backtest script
2) Bypass, you can use another indicator to pause buy signals from this indicator. Just create another indicator that plots "1" whenever you want to activate the bypass on the IFTRSI signal.
3) Independent buy and sell level thresholds. Some tokens perform better with a higher sell level, even levels as high as 0.996, sometimes the buy level can also be relaxed to even 0.6 and get incredible results on the 5 minute chart.
4) alerts for Buy and Sell signals

Make sure you add Gavin's backtest and select external signal and this indicator as the source.

Notes de version

remove unneeded code

Notes de version

- built in QFL bypass
- External bypass can work in conjunction with built in QFL bypass
- Support for second buy level. This is very useful, you can decide you want to enter a deal at -0.6 and then only fire another buy if the buy level reaches -0.99 and then take a more conservative second deal. This could be used as a way to average down using a second deal that got more oversold than the first one.

Notes de version

Now you can specify separated sell levels for when TV technical rating is buy or sell.
This is pretty useful to
1) sell sooner when the market conditions are bearish. This can help reduce the size of losses
2) sell later when the market conditions are bullish. This can help increase the profits of wins.

Try different TV timeframes. 15 minutes gave me good results.

Some example of Sell levels:
0.999 and above will sell almost never
0.99 to 0.996 is a bit more frequent and sooner
0 and 0.5 will sell very often, maybe too often

Notes de version

repaint issue fix

Notes de version

color coded signals

Notes de version

- Now support for TV technical rating based BUY and SELL levels.
- Removed support for the second buy level as the TV technical rating seems to be a better option. This also helped making the code a bit more readable.
- Min candle age setting now also applies to TV rating levels
- Buy on reversal now also applies to TV rating BUY levels.

Notes de version

This version introduces a normalized volatility range filter.
Pretty cool for those tokens with too much or too little volatility.
Decide when to enter by setting a min and max volatility.
Example:
- trade high volatile conditions with min 70 to max 100
- trade breakouts from low volatility conditions using 0 to 30
- trade moderate...you get the idea!

Notes de version

backtest "signal" typo fixed

Notes de version

- Upgraded to pine script 5
- Added "new signal" which waits for extra confirmation than the original signal.
- Alerts now use the function "alert" so no more need to set 2 separated alerts for buy/sell.
Commentaires
just_naba
can be for stocks ? thanks
rt53345
Thx!
AndrewHR70
Great job, many thanks. Where do I find the bull bypass indicator?
TheTradingParrot
superiorJaguar74414
Thank you so much :))
Plus