franzb0

Hosoda N Wave and TPs {fmz}

franzb0 מעודכן   
This script allows you to establish in a graphic and interactive way which are the N, NT, V and E targets for a Hosoda N wave.

Apply the indicator to the chart.

The interactive tool of Pine script version 5 will ask you to identify three points of "minimum-maximum-higher minimum" that form a bullish N wave of Hosoda (refer to the specific documentation for Hosoda N wave), or on the contrary three points "maximum-minimum-lower maximum" for a bearish N wave.

Once drawn, the price points can be moved.

When changing the market instrument, the indicator must be removed because it remains linked to the prices where it was first drawn.
הערות שחרור:
Thank to all guys that asked me to improve this script adding the time part of the theory.

This new version allows from the moment in which the selected points ABC of the N wave are plotted to estimate where the objectives will be reached according to the Hosoda theory both in price and in time.
For the details of the calculation, see the references relating to the Nosoda N wave.
To use it you need to add it to the chart, the chart will ask you to choose three points (minimum-maximum minimum greater for a bullish trend, or maximum-minimum-maximum lower for a bearish trend) from which it will derive the possible targets for Hosoda.
Please check if it works well and report me in the comments if there are any problems, describing in detail the environment in which you are trying it in case you want to make reports.
הערות שחרור:
Restored lines on target with boolean to hide and show them
הערות שחרור:
Conditional hide of Tp E date-time if BC>AC, the time target will be before point C. I'm curious about timing rule for choosing ABC point in Hosoda books, Anyone knows? Maybe we ave a AB time smaller than BC? So E target timing will be before C?
הערות שחרור:
Allows to create a grid on time and price targets. Allows to trim horizontal lines to limit chart cluttering.
סקריפט קוד פתוח

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

כתב ויתור

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

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