TradingView
revolution05
5 de Jan de 2022 05:25

EMA/MA Cross + BB + Alerts  

Luna / TetherUSBinance

Descrição

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)

Notas de Lançamento

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)
Comentários
abcuulinh2021
Hi You, can anyone help me to write the code for the command Create Alerts (Alerts) " BTCUSDT,
Is 1h Crossing Moving Average Exponential (25, close) okay?
thank you!
Mais