TradingView
jphlong
2021年3月12日午後4時15分

Gann Fan Analysis v 3.0 

Wayfair Inc.NYSE

詳細

The openness of this community is amazing and I have gained a lot from being a member. Hopefully you think this is useful so I can give something back.

This indicator constructs a reference framework of Support and Resistance levels based on Gann Fan ratios. Two fans are created: Support or Bullish fan, and a Resistance or Bearish fan. The origin of the analysis is the lowest pivot in the analysis window set by the length input. The upper bound of the analysis is the highest pivot in the analysis window. This is the only user input that affects the fan calculation. The remaining user input controls the visualization of the fans. The fan calculations are updated as the high and low within the analysis window change. The resistance fan range is based on an assumed 70% retracement.

Indicator also highlights the active Support and Resistance lines of each fan. An alert is also included, based on the price crossing one of these active levels.

Currently I can't figure out how to get the analysis to extend beyond 278 or so bars (not sure what the limitation is) so it isn't really useful for intraday timeframes, but it is reliable on daily and above. I use it on a Weekly view with the analysis length set to 52, and on a daily timeframe with the length set to 260.

I included fractal visualization using Ricardo Santos' Fractals v9 script as a means of confirming the Gann Fan pivots. The two methods seems to correlate well, in my opinion.

The coding is terrible, I'm sure, so please overlook that as this my first complex effort. I'm a total amateur!



リリースノート

Update to the original Alert to split it into 2 directionally specific Alerts

リリースノート

A minor update that I've had a few requests for.

Resistance and Support Fans are now defined symmetrically.
コメント
djmad
Thank you a lot
fstephen255
Hi works great on 5m chart with input of 50 any better input on 5
cocawater
Dude, this is a sick indicator. Thanks
jphlong
@cocawater, Glad you find it useful!
idrisbengali
you said >> I'm a total amateur ... sorry you are a Pro ... looking forward to some more exciting scripts from you. Thank you for your effort
jphlong
@idrisbengali, Thanks. You are too kind
garhardt
Hey jphlong, Great work with your fan analysis. I trade the Forex. Some pairs display the fans backwards. Please advise. thanks
meettalia007
This arrows repaints?
Yelian
Thank you for your work! I'm not much into Gann methodology but I decided to add your indicator to a series of Gann related indicators that I want to test and see what their statistical behavior is vis-a-vis my existing strategy. Happy speculating!
詳細