CAB_Member

Seven Moving Avverages

CAB_Member Uppdaterad   
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.
Versionsinformation:
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
Versionsinformation:
fixed a typo that would cause one of the moving averages to calculate the up and down situation and color code wrong
Skript med en öppen källkod

I sann TradingView-anda har författaren publicerat detta skript med öppen källkod så att andra handlare kan förstå och verifiera det. Hatten av för författaren! Du kan använda det gratis men återanvändning av den här koden i en publikation regleras av våra ordningsregler. Du kan ange den som favorit för att använda den i ett diagram.

Frånsägelse av ansvar

Informationen och publikationerna är inte avsedda att vara, och utgör inte heller finansiella, investerings-, handels- eller andra typer av råd eller rekommendationer som tillhandahålls eller stöds av TradingView. Läs mer i Användarvillkoren.

Vill du använda det här skriptet i ett diagram?