同花顺ACDXF副图指标
源码
N:=18;M:=1;
Var2:=MA(CLOSE,N);
Var3:=(CLOSE-Var2)/Var2*100;
Var4:=MA(Var3,M);
趋势: Var4*1,colorred,linethick2;
Var5:=BARSLAST(CROSS(-10,Var4)=1);
Var6:=BARSLAST(CROSS(Var4,10)=1);
Var7:=Var4 -10 AND Var5
Var8:=Var4 10 AND Var6
底部:IF(Var4 -10 AND Var5 =5,Var4,0)*1,colorwhite,COLORSTICK;
考虑出:IF(Var4 10 AND Var6 =5,Var4,0)*1,colorred,COLORSTICK;
买入:IF(CROSS(趋势,0),5,0),linethick2,color00ff00;