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/webhooks-for-alerts-now-available-14054/
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
Aug 22
Notes de version: - Fixed a small issue
Aug 29
Notes de version: - Fixed the repainting issue. Does NOT repaint anymore
Supprimer des scripts favoris Ajouter aux scripts favoris
Hello great job. I want to ask I created a purchase alert in your script. But when I turn them on for tradingview, it says it's Repaint. I understand that there is a security feature so that's why. My question is whether they will go along with warnings according to Heatmap or in the meantime throw other signals. thank you pretty great.
+1 Répondre
Daveatt Xadiamant
@Xadiamant, they shouldn't throw any other signal than the ones planned by the alerts :)
It depends of the chart time-frame actually. If your chart is a 4h chart and you try to capture a 2H supertrend, you might get some unexpected issues because, using a lower time-frame security on a bigger time-frame chsrt isn't recommended
Maybe I misunderstood your question
Répondre
@Daveatt
Hello, I want to use this indicator with repaint.
can you please tell me which part of the code you changed on Aug 29?
I want to downgrade the code.
+1 Répondre
Daveatt xerxes300
@xerxes300, please ask me privately. I'll send you the downgraded version
Répondre
Hello sir,

Can u please add 1, 3 and 5min as well to script
+1 Répondre
Great script!
+1 Répondre
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?
+1 Répondre
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!
Répondre
@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 Répondre
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!
Répondre
Accueil Filtre d'actions Filtre Forex Filtre Crypto Calendrier économique Shows Comment ça marche Caractéristiques du graphique Prix Règles de conduite Modérateurs Solutions site web & courtier Widgets Solutions de cartographie Bibliothèque de graphiques allégés Centre d'aide Parrainer un ami Demande de fonctionnalité Blog & News Questions Fréquentes Wiki Twitter
Profil Paramètres du Profil Compte et Facturation Parrainer un ami Mes tickets au support Centre d'aide Idées Publiées Suiveurs Suivi Messages privés dialogue en ligne Se Déconnecter