OPEN-SOURCE SCRIPT

PhantomFlow TrendDetector

מעודכן
The TrendDetector calculates waves on the chart using the built-in ZigZag indicator and detects a trend change after the last high/low update occurs in a minimum sequence of non-updated highs/lows. This assumes a continuation of the trend for the subsequent update of the remaining high/low.

For trend determination:

When you see a pink or light yellow trend color, it means that a new trend may potentially be emerging right now, and you can join it almost at the beginning. So, if you see patterns from your trading system aligning with the TrendDetector indicator and they have the same direction, it further increases the likelihood of your plan working out.
In the case where the trend phase has a red or green color, it may indicate that the primary market impulse has already occurred, and therefore, joining the trend at this time may not be advisable.

For trade entry:

Additionally, you can use the indicator specifically for entering the market using market orders. Depending on the timeframe (the smaller the timeframe, the more confirmation candles are needed), you can open a trade when one trend replaces another at the close, for example, the second candle in the case of a 10-minute timeframe. Stop-loss can be placed under the signal candle, a local peak, or a reversal trend valley, a global peak, or a reversal trend valley. In the example above, the second option was used.

Settings

You cannot technically adjust anything in this indicator because all the logic is hardcoded. However, for a better chart visualization, after adding it to the chart, click on the three dots next to the indicator name, select "Visual order," and then "Bring to front".
הערות שחרור

  • Added alerts
momentumindicatorsentimentTrend Analysistrendfollowing

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

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

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


Get access to our free private and premium indicators: phantomflow.io/
גם על:

כתב ויתור