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の精神に則り、このスクリプトの作者は、トレーダーが理解し検証できるようにオープンソースで公開しています。作者に敬意を表します!無料で使用することができますが、このコードを投稿で再利用するには、ハウスルールに準拠する必要があります。 お気に入りに登録してチャート上でご利用頂けます。

チャートでこのスクリプトを利用したいですか?

免責事項