Var1:=HHV(HIGH,3);
Var2:=(IF(WINNER(1.1*CLOSE)<0,0,WINNER(1.1*CLOSE))-IF(WINNER(0.9*CLOSE)<0,0,WINNER(0.9*CLOSE)))*100;
Var3:=IF(Var1<0,0,Var1);
Var4:=IF(Var2<0,0,Var2);
主力动向:WINNER(Var3),COLORFF00FF;
主力震仓:WINNER(Var4),colorwhite;
Var5:=COST(10);
Var6:=(CLOSE-Var5)/Var5*100;
Var7:=COUNT(Var6<-2.05,3);
主力蓄势大本营: IF(Var7>=3,0.20,0),COLORFFCC66;
风险区域: 1,colorred,POINTDOT;
0.9,COLOR0099FF,POINTDOT;
Var8:=(CLOSE-MA(CLOSE,10))/STD(CLOSE,35)*0.3;
强弱动向: EMA(Var8,1),COLOR00FF00;
VAR9:=((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100);
VAR10:=SMA(VAR9,3,1);
var11:=SMA(VAR10,3,1),Color0000FF;
var12:=SMA(var11,3,1),Color00FFFF;
金:IF(CROSS(var11,var12) AND (var11<40),0.9,0),Color0000FF,linethick2;
STICKLINE(金,0,0.5,8,0),colorred;
STICKLINE(金,0.45,0.6,2,0),colorred;
同花顺主力动向指标公式的选股公式如下: