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. קרא עוד בתנאים וההגבלות.

רוצה להשתמש בסקריפ זה בגרף?