TradingView
franzb0
Nov 22, 2021 2:02 PM

Hosoda N Wave and TPs {fmz} 

Bitcoin / U.S. dollarBitstamp

Description

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.

Release Notes

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.

Release Notes

Restored lines on target with boolean to hide and show them

Release Notes

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?

Release Notes

Allows to create a grid on time and price targets. Allows to trim horizontal lines to limit chart cluttering.
Comments
pietdejager1988
This is a Great Script thanks
PANTUFLAS
Ooooooooooooooohhh.muchas gracias,un grandísimo trabajo,te lo agradezco,saludos
reza425
very best .ok
MarcoPolo66
Hello Francesco, I have been using your script for a long time and appreciate it very much. I don't really understand the new elements (time theory) . I understand that it is about time calculation of ABC..... wave that is AC=CD; AB=CD, BC=CD .... I don't understand only for what for different values of PRICE levels (NT,N,V and E) there are different (time) squares ...How did you calculate that price levels should be reached in the designated time? Can you somehow specify this?
franzb0
Try to check this link for some explanation
telegra.ph/Hosoda-N-waves-price-and-time-relation-theory-10-28
MarcoPolo66
@Francesco_Marzolo, Thanks.....interesting :)
franzb0
I read your message. Thank you very much for the observation. I looked at your links and schematics, you must have done a great job of reading the code and preparing the drawings. Here is the answer to try to broaden the discussion, if someone knows the answer by reading Hosoda's books maybe he can help us. If I understand correctly you say that we have 4 prices and 4 times, we can mix them, and have the time V with the price NT, and we are fine too. Sure it is possible. I have considered, however, that Hosoda has given these specific letters to indicate that the price NT will be reached in time NT, not in time E, at least in his observations. If the price has a different speed it will probably go towards a different target, which also takes a different time. I believe that Hosoda's books exist only in Japanese, I'm looking for the contact of Gregor Moskwa, the great Ichimoku expert who translated them, let's see if I can ask him this question.
MarcoPolo66
@Francesco_Marzolo, I have read all (7) of Hosoda's books...He did not call times that way (he called them equivalent numbers/cycles) ...the diagram (you gave me a link to) is not from Hosoda's books..but from someone else's study. I can see the point in calling times similarly as well as prices but only as a similar method of calculating these ranges (in one case horizontally - it's times...and in the other vertically it's prices)....but is just that similarity. It does not mean, however, that, for example, time N can occur only when we reach level of price N. I am a big fan of Grzegorz Moskwa...I think he will confirm my way of thinking. In my opinion, we can mix all 4 times with all Price levels..which gives us a total of 16 possibilities.
MarcoPolo66
franzb0
I thank you very much, the new updates allow to create a grid of thiese prices and TPs
More