通达信庄家与散户分时源码附图
2017-08-12网络 编 辑:翔博软件
VAR1:=1/WINNER(CLOSE);
VAR2:=MA(CLOSE,13);
VAR3:=100-ABS((CLOSE-VAR2)/VAR2*100);
VAR4:=LLV(LOW,75);
VAR5:=HHV(HIGH,75);
VAR6:=(VAR5-VAR4)/100;
VAR7:=SMA((CLOSE-VAR4)/VAR6,20,1);
VAR8:=SMA((OPEN-VAR4)/VAR6,20,1);
VAR9:=3*VAR7-2*SMA(VAR7,15,1);
VARA:=3*VAR8-2*SMA(VAR8,15,1);
VARB:=100-VARA;
VARC:=IF(900101<DATE AND DATE<9999999,1,0);
散户:(100-VAR9)*VARC, , {000B0001};
庄家:MA(WINNER(CLOSE*0.95)*100,3)*VARC;
IF(庄家>REF(庄家,1),庄家,DRAWNULL),COLORRED;