VAR1:=(HHV(HIGH,3)-LLV(LOW,3));
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*C+H+L)/4;
VAR7:=SMA((VAR3/VAR1*100),3,1);
VAR8:=LLV(LOW,27);
VAR9:=SMA(VAR7,3,1)-SMA(VAR4,7,1);
VAR10:= IF(VAR9>100,VAR9-100,0);
VARA:=HHV(HIGH,27);
主力: 3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),LINETHICK2;
见底信号: 10, LINETHICK2,COLORRED ;
买入准备: IF(主力<=10,50,10), LINETHICK2;
买入时机: IF(CROSS(主力,见底信号),100,10),LINETHICK2,COLORYELLOW;
主流资金:EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3), COLORRED,linethick2;
非主流资金:EMA(100*(INDEXC-LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34)),3),
colorgreen,linethick2; 20,pointdot,colorf00ff0; 50,pointdot,colorgreen; 80,pointdot,colorwhite;