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
Script open-source

Nello spirito di condivisione promosso da TradingView, l'autore (al quale vanno i nostri ringraziamenti) ha deciso di pubblicare questo script in modalità open-source, così che chiunque possa comprenderlo e testarlo. Puoi utilizzarlo gratuitamente, ma il riutilizzo del codice è subordinato al rispetto del Regolamento. Per aggiungerlo al grafico, mettilo tra i preferiti.

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.

Vuoi usare questo script sui tuoi grafici?