同花顺股市剑客主图指标公式源码如下: Var29:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100; Var2A:=SMA(Var29,5,1); Var2B:=SMA(Var2A,10,1); Var2C:=CROSS(Var2B,Var2A); Var2D:=Var2B>80 OR Var2A>80; Var2E:=Var2C AND Var2D; Var51:=EMA(AMOUNT/VOL/100,3); Var52:=EMA(Var51,88); Var53:=EMA(Var51,88)*0.85; Var54:=Var53*0.87; Var55:=LOW< Var54 AND CLOSE>REF(CLOSE,1)*1.02; DRAWTEXT(FILTER(Var55,6),LOW+0.1,'坚决买进'),COLORCCDDCC; 鱼肠剑: (EMA(CLOSE,5)*7+EMA(CLOSE,10)*3)/10,colorblue; 莫邪剑: EMA(CLOSE,13),colorred; 青锋剑: EMA(CLOSE,50),COLOR00cc00; //{www.gpxiazai.com 股票软件下载网_同花顺股票指标公式} STICKLINE(3*SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,10,2)-2*SMA(SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,10,2),2,1)>REF(3*SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,10,2)-2*SMA(SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,10,2),2,1),10),CLOSE,OPEN,8,0),COLORFFBBBB; STICKLINE(3*SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,10,2)-2*SMA(SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,10,2),2,1)>REF(3*SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,10,2)-2*SMA(SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,10,2),2,1),10),HIGH,LOW,0,0),COLORFFBBBB; STICKLINE(VOL/CAPITAL>0.015,CLOSE,OPEN,15,1),COLORFF0000; STICKLINE(VOL/CAPITAL>0.05,CLOSE,OPEN,80,1), colorred; STICKLINE(VOL/CAPITAL>0.1,CLOSE,OPEN,150,1) ,colorred; STICKLINE(VOL/CAPITAL>0.2,CLOSE,OPEN,250,1), COLORFF00FF; STICKLINE(VOL/CAPITAL>0.3,CLOSE,OPEN,350,1),COLORFFFF00; STICKLINE(3*SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,10,2)-2*SMA(SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,10,2),2,1)< REF(3*SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,10,2)-2*SMA(SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,10,2),2,1),10),HIGH,LOW,0,0),COLOR00FFFF; STICKLINE(3*SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,10,2)-2*SMA(SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,10,2),2,1)< REF(3*SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,10,2)-2*SMA(SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,10,2),2,1),10),CLOSE,OPEN,8,1), COLOR00FFFF; 逃顶:STICKLINE(Var2E,H,H,18,1), COLOR00FF00; DRAWTEXT(FILTER(CROSS(75,SMA(MAX(CLOSE-REF(CLOSE,1),0),8,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),8,1)*100) ,10),HIGH,'卖'),colorgreen; DRAWTEXT(FILTER(CROSS(-5,MA((LLV(LOW,45)-CLOSE)/(HHV(HIGH,45)-LLV(LOW,45))*100,5)) ,5 ),LOW,'买'),colorred; |