simwai

Swing Distance

simwai מעודכן   
Hello fellas,

This simple indicator helps to visualize the distance between swings. It consists of two lines, the highest and the lowest line, which show the highest and lowest value of the set lookback, respectively. Additionally, it plots labels with the distance (in %) between the highest and the lowest line when there is a change in either the highest or the lowest value.

Use Case:
This tool helps you get a feel for which trades you might want to take and which timeframe you might want to use.

Side Note: This indicator is not intended to be used as a signal emitter or filter!

Best regards,
simwai
הערות שחרור:
Changed behaviour of the Highest/Lowest change detection to recognize if the next high is higher than the high before and if the next low is lower than the low before to fix a bug.

Added two modes: "Pivot Point" and "Highest/Lowest".
The "Pivot Point" mode shows less distance measurements than the "Highest/Lowest" mode, because it only detects the top of the highest line movement and the bottom of the lowest line movement.

To update the description:
This is the calculation of the distance:
(highest close - lowest close) / close * 100
הערות שחרור:
Fixed bar_index bug

סקריפט קוד פתוח

ברוח TradingView אמיתית, מחבר הסקריפט הזה פרסם אותו בקוד פתוח, כך שסוחרים יכולים להבין ולאמת אותו. כל הכבוד למחבר! אתה יכול להשתמש בו בחינם, אך שימוש חוזר בקוד זה בפרסום כפוף לכללי הבית. אתה יכול להכניס אותו למועדפים כדי להשתמש בו בגרף.

כתב ויתור

המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.

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