cryptocashcashoo

Extrema Detector

cryptocashcashoo 已更新   
Determines local maximums and minimums points in the chart.

Parameters:
  • lookback: number of candlesticks to look.
  • extrema_finder_sensivity: If lower, more extreme points will be found (may over-find).

Brief algorithm description:
Computes a Simple Moving Average (length=extrema_finder_sensivity), and searches for its local extremes.
Given some SMA extreme, it looks the previous extrema_finder_sensivity candlesticks to find the highest (or lowest value).

Notes:
Is a lagged indicator: determining if the current candlestick have reach a maximum can be delayed to, at most extrema_finder_sensivity-further candlesticks.

版本注释:
Fix repaint.
- When a new candlestick is added, the previous plots are deleted (lookback line and min/max labels).
开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?