ZenAndTheArtOfTrading

Multiple Moving Averages

ZenAndTheArtOfTrading 업데이트됨   
This script adds up to 5 moving averages to your chart - and you can select which moving average type (and timeframe) you want to use for each.

The possible MA type options are:

  • EMA
  • SMA
  • HMA
  • WMA
  • DEMA
  • VWMA
  • VWAP

You can specify the length of each moving average, and you can override the type of all moving averages with the setting "ALL MA TYPE".

There is also higher-timeframe functionality, so you can select the timeframe for each moving average.

If the "Smooth HTF MA" setting is turned on then the script will fill any gaps in intraday price data by averaging the difference (giving it a regular smooth look), and if it's turned off then the HTF MAs will have a "stepped" look to them. Technically speaking, the non-smoothed setting is more accurate and so it's turned off by default.

And finally, the first option "Color MA 1" will change your first MA's color based on whether price action is above that MA's price or below it. If it's above it then the color turns green, if it's below it then it turns red.

If you set an MA's length to zero it will disable that MA.

The source code is protected but available on my website (link in my profile).

Enjoy! Good luck with your trading :) 😎
릴리즈 노트:
Added alert functionality:
- MMA Alert = Price touched one of the moving averages
- MA1 Alert = Price touched first MA
- MA2 Alert = Price touched second MA
- MA3 Alert = Price touched third MA
- MA4 Alert = Price touched fourth MA
- MA5 Alert = Price touched fifth MA
릴리즈 노트:
Fixed pesky typo
릴리즈 노트:
Fixed incorrect input titles
릴리즈 노트:
-
- Fixed alerts not working
릴리즈 노트:
Updated to Pine Script v5

My Resources Hub: theartoftrading.com
FREE YouTube Lessons: rebrand.ly/zyt
FREE Pine Script Basics Course: rebrand.ly/zpsbc
Pine Script MASTERY Course: rebrand.ly/zpsmc
My Indicators & Strategies: rebrand.ly/zmisc
보호된 스크립트입니다
이 스크립트는 클로즈 소스로 게시되며 자유롭게 사용할 수 있습니다. 당신은 스크립트를 차트에 사용하기 위해 그것을 즐겨찾기 할 수 있습니다. 소스 코드는 보거나 수정할 수 없습니다.
면책사항

이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.

차트에 이 스크립트를 사용하시겠습니까?