Chandelier Exit V2

KivancOzbilgic · study · 17 行 · 点赞 1,755 · TradingView 原页

本页源码来自 TradingView 公开发布的开源脚本,版权归原作者所有, 请遵循其原始许可(Pine 脚本常见 CC BY-NC-SA / MPL-2.0 / MIT)。 本项目仅用于研究检索与许可范围内的移植。

Pine Script

//@version=2
//creator: Charles Le Beau 
//author:KIVANÇ @fr3762 on twitter
study("Chandelier Exit V2", overlay = true)
 
 
length=input(22, minval=1,maxval = 100)
AtrPeriods=input(22, minval=1,maxval = 100)
Mult=input(3, minval=1,maxval = 100)
 
 
LongStop=highest(high,length)-(Mult*atr(AtrPeriods))
ShortStop=lowest(low,length)+(Mult*atr(AtrPeriods))
 
 
plot(ShortStop, color =red , style = line , linewidth = 2,title = "ShortStop")
plot(LongStop, color =green , style = line , linewidth = 2,title = "LongStop")

← 返回列表