OPEN-SOURCE SCRIPT

EMA/MA Cross + BB + Alerts

Aggiornato
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)

Note di rilascio
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

In pieno spirito TradingView, l'autore di questo script lo ha pubblicato open-source, in modo che i trader possano comprenderlo e verificarlo. Un saluto all'autore! È possibile utilizzarlo gratuitamente, ma il riutilizzo di questo codice in una pubblicazione è regolato dal nostro Regolamento. Per aggiungerlo al grafico, mettilo tra i preferiti.

Vuoi usare questo script sui tuoi grafici?

Declinazione di responsabilità