ZenAndTheArtOfTrading

Higher Timeframe EMA

This script plots a higher timeframe EMA to your chart.

You can specify the timeframe and the length of the EMA in the settings.

This chart demonstrates the 5-minute 50EMA (black) combined with the 1-hour 50EMA (colored) on the 1 minute timeframe.
릴리즈 노트: Fixed error in code that did not allow user to change EMA length, added Offset setting.
릴리즈 노트: Minor improvements
릴리즈 노트: Minor improvements
릴리즈 노트: -
- Converted to Pine Script v4
- Added smoothing or stepped option
릴리즈 노트: -
- Changed offset default to zero
릴리즈 노트: -
- Changed lookahead to off.
- Removed offset.
릴리즈 노트: - Fixed repainting issue
즐겨찾기 스크립트에서 빼기 즐겨찾기 스크립트에 넣기
Follow @TradeWisdom on Twitter for Daily inspiration from the best trading wizards, psychologists and philosophers.

Go to http://www.zenandtheartoftrading.com for articles on forex trading, trading psychology, trading resources, Pine Script lessons and more!

코멘트

Thanks a lot! I really respect your contribution!
+1 응답
@ujeenine, You're most welcome! Glad to be of service. Good luck with your trading :)
응답
I am using V4 and your 7th line keeps giving me the error: Undeclared identifier 'resolution';

Is there a new way to write this in V4? Since yours says V3.

Thanks!
+1 응답
@Charles_Trades, Hey Charles! Yes, in v4 that line of code must be changed to say this: type=input.resolution

Let me know if that doesn't work. Good luck with your trading :)
응답
@Charles_Trades, I actually just released a small update for the script. I converted it to v4 and added a "stepped" or smoothed option for the EMA on lower timeframes :) have fun!
응답
Thanks a lot sir... solved my problem for working with higher and lower timeframes at the same time ...
+1 응답
any idea why the "smoothing" leads to a gap in emas line?
응답
홈으로 스탁 스크리너 포렉스 스크리너 크립토 스크리너 이코노믹 캘린더 사용안내 차트 특징 프라이싱 프렌드 리퍼하기 하우스룰(내부규정) 헬프 센터 웹사이트 & 브로커 솔루션 위젯 차팅 솔루션 라이트웨이트 차팅 라이브러리 블로그 & 뉴스 트위터
프로화일 프로화일설정 계정 및 빌링 리퍼드 프렌즈 코인 나의 서포트 티켓 헬프 센터 공개아이디어 팔로어 팔로잉 비밀메시지 채팅 로그아웃