casey_bowman

Casey's Parabolic SAR

צפיות ‎912‎
98
912 8
I whipped together this script after having listened to Hyperwave with Sawcruhteez and Tyler Jenks in the evening on July 3, 2019. They felt that the existing Parabolic SAR was not doing its calculations properly, and they hoped that someone might help them correct this. So I tried my hand at it, learning Pine as I went. I don't know if this script works properly (so don't use it!), but it does show a trend change on the weekly this week as it apparently should. I'm making the script public so that Sawcruhteez and Tyler Jenks can take a look at it.

MIT License

Copyright (c) 2019 Casey Bowman

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Jul 06
הערות שחרור: I've added the short title "Casey's SAR" per Nakitxu's suggestion via Tone Vays' "Financial Sanity (TI Talk)" channel on Telegram
Jul 09
הערות שחרור: Changed name to include Lucid branding, per request from Sawcruhteez
Jul 09
הערות שחרור: Changed version number to 0.4 to reflect branding
הסר מסקריפטים מועדפים הוסף לסקריפטים מועדפים
Hi we were discussing the difference of SAR from TV, yours, and Fidelity trading platform.
I wanted to share the fidelity points for SAR. They are in green i hope this helps.

השב
The discussion of this is on the Lucid SAR indicator page - https://www.tradingview.com/script/OkACQQgL-Lucid-SAR/#tc2555391
השב
I've made a new page for the SAR so that the new branding "Lucid SAR" can appear in the title of the page.

השב
I plan to have a copy of this open-source script on github so that people can submit pull requests to improve upon it.
השב
This evening Sawcruhteez and I met on google hangout and discussed which version to go with, the algorithm used by version 0.2 or that used by version 0.3. It appears that in Wilder's book, both algorithms are used. The former is used in the worksheet, and the latter is used in the first illustration (fig 2.1). Well, we're going with the worksheet, so I'll stick with version 0.2.

Sawcruhteez asked I'd like to have my SAR branded with the name of his investment strategies firm, Lucid Investment Strategies, and I feel honored to have been asked and to accept. So I'm changing the name of the SAR from "Casey's SAR" to "Lucid SAR" upon his request. I'm glad to be giving back to the bitcoin community and to those at Lucid who have helped me so much to get my sea legs with their videos on bitcoin price movements.
השב
In the wings I have a version 0.3 for the SAR script, where the algorithm creates a SAR that only depends on the EP from the previous candle and not on the EP of the current candle itself. This seems to be the approach in the original paper. Once I get word that this is preferable, I plan to go ahead and switch to version 0.3.
השב
I also added "overlay" per Nakitxu's suggestion, so that the indicator appears in the main pane immediately when added
השב
The script has changed to version 0.2. I have made one correction. It now satisfies the requirement that the SAR for period n be lower (higher) than the lows (highs) for the candles of periods (n-1) and (n-2) in an uptrend (downtrend, accordingly) per Wilder's book. Note that the weekly chart trend for this week no longer changes from uptrend to downtrend as a result.
השב
בית סורק מניות סורק מט"ח סורק מטבעות-קריפטו יומן כלכלי סדרות איך זה עובד‏ תכונות גרף מחירון חוקי הבית מנהלים כלים לאתרים וברוקרים יישומונים פתרונות גרפיים ספריית גרפים קלי משקל מרכז תמיכה הפנה חבר בקשת פונקציה בלוג וחדשות שאלות נפוצות ויקי טוויטר‏
פרופיל הגדרות פרופיל חשבון וחיוב הפנה חבר לשוניות התמיכה שלי מרכז תמיכה רעיונות שפורסמו עוקבים עוקב אחרי... הודעות פרטיות צ'אט התנתק