OPEN-SOURCE SCRIPT

EMA/MA Cross + BB + Alerts

已更新
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)

發布通知
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)

開源腳本

在真正的TradingView精神中,這個腳本的作者以開源的方式發佈,這樣交易員可以理解和驗證它。請向作者致敬!您可以免費使用它,但在出版物中再次使用這段程式碼將受到網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?

免責聲明