Daveatt

Supertrend MTF Heatmap V2

Hello traders and aspiring Pinescripters

You might remember this script Supertrend-Heatmap-Multi-timeframes/ ?
A follower, asked me in a comment to do a version where YOU guys can select the timeframes
Well... what follower asks, follower (sometimes) gets. I'm not Santa Claus but this is Christmas with a few months in advance (#oh #oh #oh)

This is a great example that if you need me to code an alternative to one of my open-source scripts and if it doesn't require too much of my time, then I'll just do it without asking anything :) (or maybe a like but that's it !!)

PS
I'd like to comment on this latest news from TradingView https://www.tradingview.com/blog/en/webh...
I was lucky enough to be selected as a beta-tester for this feature and kudos to the TradingView's team as it worked like a charm right from the start
This is what I was waiting for years, to be honest. We'll develop a service around our Algorithm Builder so that you can automate your trades based on the signals given by the indicators


Love you all
Dave

____________________________________________________________

Be sure to hit the thumbs up

- If you want to suggest some indicators that I can develop and share with the community, please use my personal TRELLO board

- I'm an officially approved PineEditor/LUA/MT4 approved mentor on codementor. You can request a coaching with me if you want and I'll teach you how to build kick-ass indicators and strategies
Jump on a 1 to 1 coaching with me
- You can also hire for a custom dev of your indicator/strategy/bot/chrome extension/python

- if you like my work and wants to buy me some coffee :
- BTC TipJar: 3MKDve7stWTe1io99oFxeQXvP8XB4zCQ8m
- LTC TipJar: MC5oeBAhw9BLqyi65TR3J1Lid8io9uHADw
릴리즈 노트: - Fixed a small issue
릴리즈 노트: - Fixed the repainting issue. Does NOT repaint anymore
즐겨찾기 스크립트에서 빼기 즐겨찾기 스크립트에 넣기
Dave
Founder of Best Trading Indicator
Hello sir,

Can u please add 1, 3 and 5min as well to script
응답
Great script!
응답
Hello, great script, but supertrend works better if it is applied to heikin ashi bars, it is much more smoothed... could you do an HA alternative?
응답
When choosing the time period "W" or "D" in the script settings, I had the character "1" substituted for the letter "W" or "D", and therefore the inscription did not appear on the screen!

I had to add these lines to fix it!

iff (res == "1D", "Daily", iff (res == "1W", "W"

I know that this is not entirely correct, but I am not a programmer and it suited me! (laughs ....)

Thanks a lot anyway!
응답
@ulukay, Sometimes we have to refresh the whole page with the F5 key otherwise it's not getting updated. I'm not sure why, seems some browser TradingView doesn't like this kind of script :p
+1 응답
ulukay Daveatt
@Daveatt, Hello Teacher! And again, you made a mistake .... I wrote above that it is not necessary to replace it, but add the lines!
In general, the published fully edited structure.

res_to_string(res)=>
str = iff(res == "1", "m1", iff(res == "5", "m5", iff(res == "15", "m15", iff(res == "30", "m30", iff(res == "60", "H1", iff(res == "120", "H2", iff(res == "360", "H3",
iff(res == "240", "H4", iff(res == "480", "H8", iff(res == "D", "Daily", iff(res == "1D", "Daily", iff(res == "W", "W", iff(res == "1W", "W", "")))))))))))))
str

The fact is that when you open the script there the letters "D" and "W"! And the words "Daily" and "W" are missing on the screen. And after trying to change the daily and weekly timeframe in the script arguments, the “1” symbol appears and it looks like this “1D” and “1W” and the inscription appears! In general, everything that I propose corrects it .....

If something is wrong - "please understand and forgive"
Thanks again Dave!
응답
@ulukay, I'll try your solution exactly like this. If working, I'll update the indicator
Thanks for sharing :)
응답
@ulukay, will try that tomorrow. I didn't forget
응답
@Daveatt , Brilliant...
응답
wow
This script is definitely a good summary tool to see market trends. You are the best Dave
Thanks! x100
응답
홈으로 스탁 스크리너 포렉스 스크리너 크립토 스크리너 이코노믹 캘린더 사용안내 차트 특징 프라이싱 하우스룰(내부규정) 모더레이터 웹사이트 & 브로커 솔루션 위젯 차팅 솔루션 도움 받기 기능 개발/개선 요청 블로그 & 뉴스 잦은물음 위키 트위터
프로화일 프로화일설정 계정 및 빌링 트레이딩뷰 코인 나의 서포트 티켓 도움 받기 공개아이디어 팔로어 팔로잉 비밀메시지 채팅 로그아웃