ATR Parabolic SAR Strategy [QuantNomad]

I created a version of Parabolic SAR when I accelerate it not based on the difference from the extreme point but based on current ATR. So the idea is that for a more volatile market it should move faster.
Performance is calculated based on 25% equity invested and 0.1% commission.

What do you think about it? Does it make sense to do something like that?
Do you have in mind other ways I can accelerate it when the market starts to be more volatile?

Please remember that past performance may not be indicative of future results.
Due to various factors, including changing market conditions, the strategy may no longer perform as good as in historical backtesting.
This post and the script don’t provide any financial advice.
Open-source script

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 a publication is governed by House Rules. You can favorite it to use it on a chart.

Want to use this script on a chart?
PineScript Programming: https://qntly.com/pinepro
TradingView Essential: https://qntly.com/tve

Access to Pro Indic.: https://qntly.com/proind

YouTube: https://qntly.com/youtube
Discord: https://qntly.com/discord
Telegram: https://qntly.com/tel


Hi, how to add alerts?
+1 Reply
QuantNomad rossguillermo
@rossguillermo, Hi, I don't think I have alerts for it for now. I will try to publish alerts asap.
Hi, I have managed to add alerts to the script would you recommend once per bar signal or once per bar close?
Thank you :)
QuantNomad mertkarakus101
@mertkarakus101, Once Per Bar Close
+1 Reply
Hi, thank for this code but not sure if you know this is not working in replay mode, has something to do with barstate? as not fully understand the role from line 52,53
does it repaint?
QuantNomad starlight73
@starlight73, nope
+1 Reply
Cheers mandem ;]
Thank You so much for your posting QuantNomad =D
Home Stock Screener Forex Screener Crypto Screener Economic Calendar About Chart Features Pricing Refer a friend House Rules Help Center Website & Broker Solutions Widgets Charting Solutions Lightweight Charting Library Blog & News Twitter