palitoj_endthen

normalize_heatmap

palitoj_endthen Aktualisiert   

Description:
This was a simple indicator to indicate the heatmap area of an asset price, in a relative given time period. In default the lookback period was set to 50 bars, indicating the current state of the price within the previous lookback period. The color scheme was using the rainbow palette, which set blue as the cooling-off area, and red as the heating area. The indicator doesn't take into account momentum strategy and thus doesn't consider the future direction of the asset price. Note: cooling-off area, can be considered to entry or adding position as a DCA strategy.

Data Normalize:
norm = (x - min) / (max - min)

Feature:
  • Heatmap color condition
  • Weighted Moving average (Additional)
Versionshinweise:
Description:
This was a simple indicator aimed to indicate the heatmap area of an asset price, in a relative given time period. In default the lookback period was set to 50 bars, indicating the current state of the price within the previous lookback period. The color scheme was using the rainbow palette, which set blue as the cooling-off area, while red as the heating area. The indicator doesn't take into account momentum strategy and thus doesn't consider the future direction of the asset price. Note: cooling-off area, can be considered to entry or adding more position as a Dollar Cost Averaging strategy.

Normalize Data:
norm = (x - min) / (max - min)

Feature:
  • Heatmap color condition
  • Weighted Moving average (Additional)
Versionshinweise:
updated
Versionshinweise:
.
Versionshinweise:
adjusting the normalized data into a function, and adding a color scheme (use of rgb function)
Versionshinweise:
.
Versionshinweise:
Additional switch between moving average type, adding an alert condition on both moving average and normalized threshold

Example of other color schemes
Versionshinweise:
group adjustment, optional asymmetrical alert condition
Open-source Skript

Ganz im Spirit von TradingView hat der Autor dieses Skripts es als Open-Source veröffentlicht, damit Trader es besser verstehen und überprüfen können. Herzlichen Glückwunsch an den Autor! Sie können es kostenlos verwenden, aber die Wiederverwendung dieses Codes in einer Veröffentlichung unterliegt den Hausregeln. Sie können es als Favoriten auswählen, um es in einem Chart zu verwenden.

Haftungsausschluss

Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.

Möchten Sie dieses Skript auf einem Chart verwenden?