Tr0sT

SAR formula

This is how built-in S.A. R. indicator calculates S.A. R...
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?

Kommentare

Thank you, excellent!
Antworten
Man! You're MAGIC MAN! THNAK YOU VERY MUCH!
Does it exist in public indicators?
Antworten
Tr0sT STLF
@STLF, yes, it's a public indicator. I think you can find it with name "CalcSARwithoutSAR"
Antworten
Thanks :)
Antworten
Thanks! I highly apprecitate the code.
Antworten
Thank you very much!!!
Antworten
Thank you so much !!!
Antworten
any idea how to inject moving average into this sar formula, have no clue to do that :/
and make it MTF
Antworten
Tr0sT tahukentucky
@tahukentucky, how exactly do you want to inject moving average? you can plot(sma(close, 18))... To make it MTF just don't use high, close, open and low. Instead use security(low, TimeFrame)... I don't remember correct syntax, but you can find it in pine script reference
Antworten
Hi Tr0sT,


thank you for your script. Is it possible to customize your script so I can get alert? I would need alert when SAR crosses price AND crosses SMA line. I'm not good at programing, but it should be easy task.

kind regards, Linas
Antworten
Startseite Aktien-Screener Forex-Screener Krypto-Screener Wirtschaftskalender So funktioniert es! Chartmerkmale Preise Einen Freund empfehlen Hausregeln Hilfe Center Webseite & Brokerlösungen Widgets Charting Lösungen Lightweight Charting Library Blog & News Twitter
Profil Profileinstellungen Konto und Abrechnung Angeworbene Freunde Coins Meine Support Tickets Hilfe Center Private Nachrichten Chat Abmelden