N:=10;F:=21; 趋势: STICKLINE(CLOSE>(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4,0,2.5,10,0),COLORRED; Var1:=HHV(HIGH,9)-LLV(LOW,9); Var2:=HHV(HIGH,9)-CLOSE; Var3:=CLOSE-LLV(LOW,9); Var4:=Var2/Var1*100-70; Var5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100; Var6:=(2*CLOSE+HIGH+LOW)/4; Var7:=SMA(Var3/Var1*100,3,1); Var8:=LLV(LOW,34); Var9:=SMA(Var7,3,1)-SMA(Var4,9,1); VarA:=IF(Var9>100,Var9-100,0); VarB:=HHV(HIGH,34); VarC:=EMA((Var6-Var8)/(VarB-Var8)*100,13); VarD:=EMA(0.667*REF(VarC,1)+0.333*VarC,2); VarE:=SMA(MAX(CLOSE-REF(CLOSE,1),0)/CLOSE,8,1)/SMA(ABS(INDEXC-REF(INDEXC,1))/INDEXC,8,1)*100-25; VarF:=MA(VarE,3); Var10:=REF(VarF,1); 生命: EMA(VarD,N), COLORGREEN; 红灯买: STICKLINE(CROSS(VarC,VarD) AND VarC>VarD AND VarC<18,50,0,1,0), COLORRED; 钱袋: STICKLINE(CROSS(VarD,VarC) AND VarC< VarD AND VarC>60,90,100,10,1), COLORYELLOW; {www.gpxiazai.com 股票软件下载网_最新股票指标公式} 卖: STICKLINE(FILTER(CROSS(VarD,VarC),10) AND VarD>79 AND VarC>79,100,55,3,0), COLORGREEN; STICKLINE(VarC-VarD>0,VarC,VarD,8,1), COLORRED; STICKLINE(VarC-VarD<0,VarC,VarD,8,0), COLORGREEN; 100, COLORYELLOW; 0, COLORGREEN; 20, COLORYELLOW; 80, COLORYELLOW; |