qianchang 发表于 2020-11-29 18:50:15

抄底神剑指标改良

看大佬把抄底神剑指标结合macd 到主图优化再 结合缠论买卖点 ,效果挺好,想把通达信的抄底神剑也改良一下成爱交易这种的 。


<div align="left"><font color="rgb(0, 0, 0)"><font face="" "=""><font style="font-size: 13px">VAR2:=REF(LOW,1);</font></font></font></div>
<div align="left"><font color="rgb(0, 0, 0)"><font face="" "=""><font style="font-size: 13px">VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100;</font></font></font></div>
<div align="left"><font color="rgb(0, 0, 0)"><font face="" "=""><font style="font-size: 13px">VAR4:=EMA(IF(CLOSE*1.2,VAR3*10,VAR3/10),3);</font></font></font></div>
<div align="left"><font color="rgb(0, 0, 0)"><font face="" "=""><font style="font-size: 13px">VAR5:=LLV(LOW,38);</font></font></font></div>
<div align="left"><font color="rgb(0, 0, 0)"><font face="" "=""><font style="font-size: 13px">VAR6:=HHV(VAR4,38);</font></font></font></div>
<div align="left"><font color="rgb(0, 0, 0)"><font face="" "=""><font style="font-size: 13px">VAR7:=IF(LLV(LOW,90),1,0);</font></font></font></div>
<div align="left"><font color="rgb(0, 0, 0)"><font face="" "=""><font style="font-size: 13px">VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7;</font></font></font></div>
<div align="left"><font color="rgb(0, 0, 0)"><font face="" "=""><font style="font-size: 13px">DD:=VAR8>5;</font></font></font></div>
<div align="left"><font color="rgb(0, 0, 0)"><font face="" "=""><font style="font-size: 13px">买入:=IF((COUNT(DD,2)=2),-20,0);</font></font></font></div>
<div align="left"><font color="rgb(0, 0, 0)"><font face="" "=""><font style="font-size: 13px">VAR1S:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);</font></font></font></div>
<div align="left"><font color="rgb(0, 0, 0)"><font face="" "=""><font style="font-size: 13px">VAR2S:=SMA(ABS(LOW-VAR1S),13,1)/SMA(MAX(LOW-VAR1S,0),10,1);</font></font></font></div>
<div align="left"><font color="rgb(0, 0, 0)"><font face="" "=""><font style="font-size: 13px">VAR3S:=EMA(VAR2S,10);</font></font></font></div>
<div align="left"><font color="rgb(0, 0, 0)"><font face="" "=""><font style="font-size: 13px">VAR4S:=LLV(LOW,33);</font></font></font></div>
<div align="left"><font color="rgb(0, 0, 0)"><font face="" "=""><font style="font-size: 13px">VAR5S:=EMA(IF(LOW<=VAR4S,VAR3S,0),3);</font></font></font></div>
<div align="left"><font color="rgb(0, 0, 0)"><font face="" "=""><font style="font-size: 13px">主力进场:=IF(VAR5S>REF(VAR5S,1),VAR5S,0)*1.1,LINETHICK1,COLOR00FFFF;</font></font></font></div>
<div align="left"><font color="rgb(0, 0, 0)"><font face="" "=""><font style="font-size: 13px">洗盘:=IF(VAR5S<REF(VAR5S,1),VAR5S,0),COLORGREEN;</font></font></font></div>
<div align="left"><font color="rgb(0, 0, 0)"><font face="" "=""><font style="font-size: 13px">XG:IF((CROSS(洗盘,主力进场)AND 买入=-20),10,0);</font></font></font></div>
<div align="left"><font color="rgb(0, 0, 0)"><font face="" "=""><font style="font-size: 13px">STICKLINE(XG,0,6.5,4,0)COLORRED;</font></font></font></div>
<div align="left"><font color="rgb(0, 0, 0)"><font face="" "=""><font style="font-size: 13px">STICKLINE(XG,6.5,12,3,0);</font></font></font></div>
页: [1]
查看完整版本: 抄底神剑指标改良