OPEN-SOURCE SCRIPT

EMA/MA Cross + BB + Alerts

Mis à jour
Short hand notes - I made this for friend and I. Unsure how to share it with him so made it public.
u/ tmyerskerry for the math on slope and look back period (look back period isn't perfect for slope calculation as 200ma is slow moving so some signals are goign to be strong instead of weak and visa versa. If you know a better way than i'm all ears!

Can set mutliple EMA's and MA's.

Default BB built in. Couldn't figure out how to set default shadow transparency so you will have to turn it down.

Added red and green lines that indicate when price has gone above and below the BB shadow.

Added arrows for when EMA1 crosses EMA2. Right now set for 9 + 32. And depending on MA200 color changes if its with the trend or against.

Alerts in the works. (please don't ask for them as i'm doing this part time and don't know pinescript)

Notes de version
Updated - Look back period defval to 100 as more conistent from testing, larger indicating arrows, made BB shadow more transparent by default and changed color to white. (I personally don't have outline lines and turn them off)
Bollinger Bands (BB)Exponential Moving Average (EMA)Simple Moving Average (SMA)

Script open-source

Dans le plus pur esprit TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par nos Règles. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Vous voulez utiliser ce script sur un graphique ?

Clause de non-responsabilité