TradingView
cryptocashcashoo
8 Mei 2021 pukul 19.21

Extrema Detector 

DOGE / TETHER Standard FuturesBingX

Deskripsi

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.

Catatan Rilis

Fix repaint.
- When a new candlestick is added, the previous plots are deleted (lookback line and min/max labels).
Komentar
vinikumar72
Hi sir...when min appears after that 1 or 2 cadles max appears it is still repaint...when entry when exit can you tell me.
cryptocashcashoo
@vinikumar72, Thanks for your review.
Can you elaborate the problem?

About the entry and exits, a priory, this indicator shouldn't be used as an strategy because the labels appears two or more candlesticks before the current bar.
Instead, this indicator can be used to measure an ideal max profit gains.
mauryashivnarayan4
Hi...why arrow appear and after one or two candles are disappeared? Is still repaint? Plz look into again.... that you bro
cryptocashcashoo
@mauryashivnarayan4, This is because a maximum or minimum is fully determined ONLY after "extrema_finder_sensivity"-new candlesticks observations: it's determined by an extreme of the SMA. (Lagged indicator)
dpanday
Repaint?
cryptocashcashoo
@dpanday, Thanks. Fixed in the last version. Hope you enjoy the script.
V0l4nd
Good day, Thank you for your cool indicator!
Could you help me, I'm trying to add a little addition to your indicator.

If the last low is higher than the penultimate low, then a horizontal thin line is drawn from the low of the last low.
Help me please
Lebih lanjut