Home
Connect Wallet
幸存者
@22036

双均线抵扣价代码分享一(免费)

双均线 抵扣价 交易系统
2022-07-17 03:57 Words count: 1132
代码来自B站up主的免费分享,有需要的可以拿去用。 此代码适用于tradingview系统。我自己加多一对200移动均线,不需要的可以勾选去掉。

代码来自B站up主的免费分享,有需要的可以拿去用。
此代码适用于tradingview系统。我自己加多一对200移动均线,不需要的可以勾选去掉。

//@version=4
study(“MA+EMA”,overlay=true)
e1=ema(close,20)
c1=sma(close,20)
e2=ema(close,60)
c2=sma(close,60)
e3=ema(close,120)
c3=sma(close,120)
e4=ema(close,200)
c4=sma(close,200)

plot(e1,”ema20”,color=color.gray)
plot(c1,”ma20”,color=#D3D3D3)
plot(e2,”ema60”,color=color.red)
plot(c2,”ma60”,color=#FDBCB4)
plot(e3,”ema120”,color=color.blue)
plot(c3,”ma120”,color=#ADD8E6)
plot(e4,”ema200”,color=color.black)
plot(c4,”ma200”,color=#787b86)
//DK3
cond=barstate.islast
moveBar = input(0)
x20=input(20)+moveBar
x60=input(60)+moveBar
x120=input(120)+moveBar
x200=input(200)+moveBar
plot(cond?low[20]:na,color=#FFC40C,linewidth=5,offset=-x20,style=plot.style_circles,transp=0)
plot(cond?low[60]:na,color=#FFC40C,linewidth=5,offset=-x60,style=plot.style_circles,transp=0)
plot(cond?low[120]:na,color=#FFC40C,linewidth=5,offset=-x120,style=plot.style_circles,transp=0)
plot(cond?low[200]:na,color=#FFC40C,linewidth=5,offset=-x200,style=plot.style_circles,transp=0)

//@version=4
study("MA+EMA",overlay=true)
e1=ema(close,20)
c1=sma(close,20)
e2=ema(close,60)
c2=sma(close,60)
e3=ema(close,120)
c3=sma(close,120)
e4=ema(close,200)
c4=sma(close,200)

plot(e1,"ema20",color=color.gray)
plot(c1,"ma20",color=#D3D3D3)
plot(e2,"ema60",color=color.red)
plot(c2,"ma60",color=#FDBCB4)
plot(e3,"ema120",color=color.blue)
plot(c3,"ma120",color=#ADD8E6)
plot(e4,"ema200",color=color.black)
plot(c4,"ma200",color=#787b86)
//DK3
cond=barstate.islast
moveBar = input(0)
x20=input(20)+moveBar
x60=input(60)+moveBar
x120=input(120)+moveBar
x200=input(200)+moveBar
plot(cond?low[20]:na,color=#FFC40C,linewidth=5,offset=-x20,style=plot.style_circles,transp=0)
plot(cond?low[60]:na,color=#FFC40C,linewidth=5,offset=-x60,style=plot.style_circles,transp=0)
plot(cond?low[120]:na,color=#FFC40C,linewidth=5,offset=-x120,style=plot.style_circles,transp=0)
plot(cond?low[200]:na,color=#FFC40C,linewidth=5,offset=-x200,style=plot.style_circles,transp=0)

B站up主链接[https://www.bilibili.com/video/BV1av411w7jj?spm_id_from=333.999.0.0&vd_source=6f9c52354e28d557e63915515a768f03]

Reward
1 0
0 times bought
•
0 times reward
0.0
Price(XIN)
0
Paid Times
$0.0
Revenue
0.0%
My Share(%)
Comments 0
Subscribe
幸存者
@22036
1 Posts 2 Subscribers 1 Subscribing
Joined at November 24, 2020
Subscribe
© 2026 Quill
Rules Stats Help Github
双均线抵扣价代码分享一(免费)
Reward