OPEN-SOURCE SCRIPT
更新済 Seven Moving Avverages

This is a simple yet very flexible moving average script. There are more than few moving average scripts out there but non of them are as flexible as this one.
This script lets you have seven different moving averages. Each moving average can be set separately, each can :
1- switch the moving average between EMA and SMA
2- set the flat percentage, this setting will be used to determine where we don't have trend in that moving average to set the color to black (default)
3- set the source
You can easily set the colors in the style tab.
This script was developed by request of few of my friends.
This script lets you have seven different moving averages. Each moving average can be set separately, each can :
1- switch the moving average between EMA and SMA
2- set the flat percentage, this setting will be used to determine where we don't have trend in that moving average to set the color to black (default)
3- set the source
You can easily set the colors in the style tab.
This script was developed by request of few of my friends.
リリースノート
Added few changes :1- moved the source for each moving average to top in input section, to me, it makes more sense for organization
2- added check box to draw or not draw each moving average in input section
リリースノート
fixed a typo that would cause one of the moving averages to calculate the up and down situation and color code wrongオープンソーススクリプト
TradingViewの精神に則り、この作者はスクリプトのソースコードを公開しているので、その内容を理解し検証することができます。作者に感謝です!無料でお使いいただけますが、このコードを投稿に再利用する際にはハウスルールに従うものとします。
免責事項
これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。
オープンソーススクリプト
TradingViewの精神に則り、この作者はスクリプトのソースコードを公開しているので、その内容を理解し検証することができます。作者に感謝です!無料でお使いいただけますが、このコードを投稿に再利用する際にはハウスルールに従うものとします。
免責事項
これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。