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
Phát hành các Ghi chú: - Fixed a small issue
Phát hành các Ghi chú: - Fixed the repainting issue. Does NOT repaint anymore
Gỡ bỏ khỏi Script Ưa thích Thêm vào Script Ưa thích
Dave
Founder of Best Trading Indicator
Hello sir,

Can u please add 1, 3 and 5min as well to script
Phản hồi
Great script!
Phản hồi
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?
Phản hồi
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!
Phản hồi
@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 Phản hồi
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!
Phản hồi
@ulukay, I'll try your solution exactly like this. If working, I'll update the indicator
Thanks for sharing :)
Phản hồi
@ulukay, will try that tomorrow. I didn't forget
Phản hồi
@Daveatt , Brilliant...
Phản hồi
wow
This script is definitely a good summary tool to see market trends. You are the best Dave
Thanks! x100
Phản hồi
Trang chủ Bộ lọc cổ phiếu Bộ lọc Forex Bộ lọc Tiền điện tử Lịch kinh tế Cách thức hoạt động Tính năng Biểu đồ Giá Quy tắc Áp dụng Người điều hành Giải pháp cho Website & Nhà môi giới Widget Giải pháp biểu đồ Nhận trợ giúp Yêu cầu tính năng Blog & Tin tức Câu hỏi thường gặp Wiki Twitter
Hồ sơ Tùy chỉnh Hồ sơ Tài khoản và Thanh toán Đồng TradingView Ticket Hỗ trợ của tôi Nhận trợ giúp Các ý tưởng đã đăng Người theo dõi Đang theo dõi Tin nhắn riêng Trò chuyện Đăng xuất