屠龙刀无敌版 网上看到的又改了一下觉得不错与创幻朋友共享 var2:=MA(CLOSE,15); var3:=(CLOSE-var2)/var2*100; var4:=MA(var3,11); 升跌: var4; var5:=BARSLAST(CROSS(-10,var4)=1); var6:=BARSLAST(CROSS(var4,10)=1); var7:=var4<-10 AND var5>=5; var8:=var4>10 AND var6>=5; C1: IF(var4<-10 AND var5>=5,var4,0), , COLORWHITE; C2: C1, COLORSTICK; C3: IF(var4>10 AND var6>=5,var4,0), , COLORWHITE; C4: C3, COLORSTICK; D: 升跌>REF(升跌,1) AND var7*25, , COLORRED; XG:EMA(IF(LOW<=LLV(LOW,33),EMA(SMA(ABS(LOW-REF((LOW+OPEN+CLOSE+HIGH)/4,1)),13, 1)/SMA(MAX(LOW-REF((LOW+OPEN+CLOSE+HIGH)/4,1),0),10,1),10),0),3)>REF(EMA(IF (LOW<=LLV(LOW,33),EMA(SMA(ABS(LOW-REF((LOW+OPEN+CLOSE+HIGH)/4,1)),13,1)/SMA( MAX(LOW-REF((LOW+OPEN+CLOSE+HIGH)/4,1),0),10,1),10),0),3),1); |