TradingView
SyferCV
2019年6月22日下午2點19分

Golden Ratio Fibonacci Multipliers Top Detector 

Bitcoin / U.S. dollarBitstamp

描述

Based on article "The Golden Ratio Multiplier" by Philip Swift (@positivecrypto).

Added an alert for the X2 - DMA 111 crossing.

Optimized for dark tradeview themes
評論
UzAt
Hey SyferCV, I changed a little at your script to make it usable on all timeframes and just on crypto..
here are the changes - you just have to integrate them in your script..

len350 = input.int(350, minval=1, title='Length for SMA 350')
len111 = input.int(111, minval=1, title='Length for SMA 111')
src = input(close, title='Source')
res = input.timeframe('D', title='Resolution')
sma350 = ta.sma(src, len350)
sma111 = ta.sma(src, len111)
out350 = request.security(syminfo.ticker, res, sma350, gaps=barmerge.gaps_off, lookahead=barmerge.lookahead_off)
out111 = request.security(syminfo.ticker, res, sma111, gaps=barmerge.gaps_off, lookahead=barmerge.lookahead_off)
arg2 = syminfo.type == 'crypto'
crash = ta.crossunder((out350*2), out111)
plotshape(arg2 ? crash : na, title='Crash Incoming!', style=shape.labeldown, location=location.abovebar, color=color.new(color.red, 66), text='T\nO\nP\n‎\n‖\n‖\n‖\n‖\n‖\n ‎', size=size.small)

Thanks for your work. you helped me to get that "tops" in my script.. ;-)
Can you tell me why there is that thing with 350 day to 111 day MA's ? I don't get it why such an "trick" can get someone that tops...
Is there anyway to get the bottoms? Like using fib retracements 38,2 and 61,8 automatically?
wingmanx
Nice!!! Thanks!
SyferCV
It's to be used with BTCUSD on the daily chart
更多