blackcat1402

[blackcat] L1 Python Friendly Lucid SAR

Level 1

Background

LUCID SAR is an interesting technical indicator. I'm having trouble converting this to Python code. So a "Python friendly" version was rewritten literally. Because some basic functions and structures have been replaced. The performance can be 100% consistent with LUCID SAR.

Function

Mr. Bowman wrote this script after having listened to Hyperwave with Sawcruhteez and Tyler Jenks of Lucid Mr. Bowmannvestments Strategies LLC on July 3, 2019. They felt that the existing built-in Parabolic SAR indicator was not doing its calculations properly, and they hoped that someone might help them correct this. So Mr. Bowman tried his hand at it,adding the rule regarding the SAR not advancing beyond the high (low) of the prior two candles during an uptrend (downtrend), but the core script is as it was.



I use large sized cross with red color for downtrend, with green color for uptrend, so that when I overlapped original work from Mr. Bowman, they can be 100% matched, which provided a validation process for this re-writing work. Enjoy!

Remarks

Feedbacks are appreciated.
Python version Lucid SAR performance discussion is desired.

Avoid losing contact!Don't miss out! The first and most important thing to do is to join my Discord chat now! Click here to start your adventure: discord.com/invite/ZTGpQJq 防止失联,请立即行动,加入本猫聊天群: discord.com/invite/ZTGpQJq
Skrypt open-source

Zgodnie z prawdziwym duchem TradingView, autor tego skryptu opublikował go jako open-source, aby traderzy mogli go zrozumieć i zweryfikować. Brawo dla autora! Możesz używać go za darmo, ale ponowne wykorzystanie tego kodu w publikacji jest regulowane przez Dobre Praktyki. Możesz go oznaczyć jako ulubione, aby użyć go na wykresie.

Wyłączenie odpowiedzialności

Informacje i publikacje przygotowane przez TradingView lub jego użytkowników, prezentowane na tej stronie, nie stanowią rekomendacji ani porad handlowych, inwestycyjnych i finansowych i nie powinny być w ten sposób traktowane ani wykorzystywane. Więcej informacji na ten temat znajdziesz w naszym Regulaminie.

Chcesz użyć tego skryptu na wykresie?