franzb0

Hosoda N Wave and TPs {fmz}

franzb0 Aktualisiert   
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.
Versionshinweise:
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.
Versionshinweise:
Restored lines on target with boolean to hide and show them
Versionshinweise:
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?
Versionshinweise:
Allows to create a grid on time and price targets. Allows to trim horizontal lines to limit chart cluttering.
Open-source Skript

Ganz im Spirit von TradingView hat der Autor dieses Skripts es als Open-Source veröffentlicht, damit Trader es besser verstehen und überprüfen können. Herzlichen Glückwunsch an den Autor! Sie können es kostenlos verwenden, aber die Wiederverwendung dieses Codes in einer Veröffentlichung unterliegt den Hausregeln. Sie können es als Favoriten auswählen, um es in einem Chart zu verwenden.

Haftungsausschluss

Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.

Möchten Sie dieses Skript auf einem Chart verwenden?