TradingView
cheatcountry
2023年5月16日下午12點40分

Benner-Fibonacci Reversal Points [CC] 

Apple Inc.NASDAQ

描述

This is an original script based on a very old idea called the Benner Theory from the Civil War times. Benner discovered a pattern in pig iron prices (no clue what those are), and this turned out to be a parallel idea to indicators based on Fibonacci numbers. Because a year is 365 days (nearly 377, which is a Fibonacci number), made up of 52 weeks (nearly 55, which is another Fibonacci number), or 12 months (nearly 13, which is another Fibonacci number), Benner theorized that he could find both past and future turning points in the market by using a pattern he found. He discovered that peaks in prices seemed to follow a pattern of 8-9-10, meaning that after a recent peak, it would be 8 bars until the next peak, 9 bars until after that peak for the next, and 10 bars until the following peak. For past peaks, he would just need to reverse this pattern, and so the previous peak would be 10 bars before the most current peak, 9 bars before that peak, and 8 bars before the previous one, and these patterns seemed to repeat. For troughs, he found a pattern of 16,18,20 which follows the same logic, and this idea also seemed to work on long-term peaks and troughs as well.

This is my version of the Benner theory and the major difference between my version and his is that he would manually select a year or date and either work backwards or forwards from that point. I chose to go with an adaptive version that will automatically detect those points and plot those past and future points. I have included several options such as allowing the algorithm to be calculated in reverse which seems to work well for Crypto for some reason. I also have both short and long term options to only show one or both if you choose and of course the option to enable repainting or leave it disabled.

Big thanks to @HeWhoMustNotBeNamed and @RicardoSantos for helping me fix some bugs in my code and for @kerpiciwuasile for suggesting this idea in the first place.

發布通知

Made some slight code changes

發布通知

Fixed issue with some tickers giving an error when trying to load the indicator

發布通知

Added alert conditions for current reversal points found
評論
ricksmail1
Hello, I just discovered your work and greatly appreciate all of your efforts! On this script, what determines the strong buy/sell vs. a regular buy/sell? Thanks!
fher98
Recently I read about Benner... thanks for the script, will try it out.
BarefootJoey
Thank you!!
cheatcountry
KatzeRothiDieErste
I have no error, but when I e.g. open in some stocks is looks strange in 1 min raster.
cheatcountry
@KatzeRothiDieErste, Feel free to send me a pm with some screenshots
A_Traders_Edge
Hi my friend, just letting you know...On lower TF (didnt check others...just the 1min) it produces error bc of xloc.bar_index it says, cannot draw lines further than 500 bars with xloc.... I know how to fix it on my end was just informing you.
cheatcountry
@chasinalts, That is strange because I did testing on those timeframes and didn't get that error. Can you send me a pm with more info please?
更多