同花顺波动性突破主图指标公式股票软件源码如下: AA:=MA(C,5); BB:=MA(C,15); AF:=CROSS(AA,BB); STICKLINE(AF,LLV(L,8),LLV(L,8),50,1),colorred,LINETHICK3; AF1:=CROSS(BB,AA); STICKLINE(AF1,HHV(H,8),HHV(H,8),50,1),COLOR00FF00,LINETHICK3; ma20:=MA(C,5); Var1:=(H-L)/L*100; Var2:=REF(Var1,1) ; Var3:=REF(Var1,2); Var4:=Var2-Var3; var5:=Var2+Var4; DRAWTEXT((C/REF(C,1)-1)>Var5 AND ma20>REF(ma20,1) AND C>O,L*0.95,"←波动突破"),colorred; |