OPEN-SOURCE SCRIPT

顶底之王v1

81

// 1. 强化4H支撑转阻力识别
int pivotLeft = 5, pivotRight = 5 // 调整枢轴判定跨度,提高支撑有效性
float srPrice = request.security(syminfo.tickerid, "240", ta.pivotlow(pivotLeft, pivotRight))
var float currResistance = na // 当前关注的阻力价位
// 当检测到新的4H支撑位且价格跌破它时,更新currResistance

Exención de responsabilidad

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.