OPEN-SOURCE SCRIPT

庄家入场基础指标

414
//version=5
indicator("庄家入场基础指标", overlay=true)

length = input.int(20, "低点周期")
volMultiplier = input.float(1.5, "成交量放大倍数")

lowestLow = ta.lowest(low, length)
avgVol = ta.sma(volume, length)
volumeSignal = volume > avgVol * volMultiplier
priceSignal = low <= lowestLow

entrySignal = priceSignal and volumeSignal

plotshape(entrySignal, title="庄家入场", location=location.belowbar, color=color.green, style=shape.labelup, text="庄", size=size.small)

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.