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
Informacje o Wersji: - Fixed a small issue
Informacje o Wersji: - Fixed the repainting issue. Does NOT repaint anymore
Usuń z Ulubionych Skryptów Dodaj do Ulubionych Skryptów
Dave
Founder of Best Trading Indicator
Hello sir,

Can u please add 1, 3 and 5min as well to script
Odpowiedź
Great script!
Odpowiedź
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?
Odpowiedź
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!
Odpowiedź
@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 Odpowiedź
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!
Odpowiedź
@ulukay, I'll try your solution exactly like this. If working, I'll update the indicator
Thanks for sharing :)
Odpowiedź
@ulukay, will try that tomorrow. I didn't forget
Odpowiedź
@Daveatt , Brilliant...
Odpowiedź
wow
This script is definitely a good summary tool to see market trends. You are the best Dave
Thanks! x100
Odpowiedź
Strona główna Skaner akcji Skaner Forex Skaner Krypto Kalendarz ekonomiczny Jak to działa Funkcje wykresów Cena Dobre Praktyki Moderatorzy Rozwiązania internetowe i brokerskie Widżety Wykresy Uzyskaj Pomoc Zgłoś dodatkową funkcjonalność Blog i wiadomości Często zadawane pytania Wiki Twitter
Profil Ustawienia profilu Konto i płatności Monety TradingView Wiadomości do działu obsługi Uzyskaj Pomoc Opublikowane Pomysły Obserwujący Lista obserwowanych Wiadomość prywatna Czat Wyloguj