palitoj_endthen

normalize_heatmap

palitoj_endthen Mis à jour   

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)
Notes de version:
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)
Notes de version:
updated
Notes de version:
.
Notes de version:
adjusting the normalized data into a function, and adding a color scheme (use of rgb function)
Notes de version:
.
Notes de version:
Additional switch between moving average type, adding an alert condition on both moving average and normalized threshold

Example of other color schemes
Notes de version:
group adjustment, optional asymmetrical alert condition
Script open-source

Dans le véritable esprit de TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par le règlement. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.

Vous voulez utiliser ce script sur un graphique ?