Backtesting compatible QFL pine script w/alerts
This version of QFL was made based on this one:
I made the following additions according to my requirements:
- I need to use pine script 4
- I needed to avoid repainting...
This bypass indicator triggers plots 1 when the price is above the QFL base.
This can be used as a "bypass" by a consumer indicator that can skip trades when the bypass is triggering.
You can use it for long and short strategies, to prevent using buy or sell signals in areas were the price is either overextended.
QFL works better in 1, 2 or 4 hours timeframes.
This version of QFL is based on a script from ralphhorkup:
I made a few adjustments:
1) no issues with repainting caused by calling security function.
2) migrated to pine script 4
Everything else is the same.
I'll be adding alerts soon.