「翔博精选指标」盯庄跟庄(通达信公式 副图 源码 测试图)
2022-04-11原创 编 辑:翔博软件
{盯庄跟庄}
VAR4:=3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH, 75)-LLV(LOW,75))*100, 20, 1)-2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100, 20, 1), 15, 1);
VAR5:=3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH, 75)-LLV(LOW,75))*100, 20, 1)-2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100, 20, 1), 15, 1);
VAR6:=100-VAR5;
VAR7:=100-VAR4;
A1:=REF(C,1);
A2:=100*V/CAPITAL*10;
AA:=CROSS(VAR6,VAR7) AND VAR4<25 ;
AAB:=CROSS(VAR6,VAR7) AND VAR4>30 AND VAR4<50 ;
ABC:=CROSS(VAR6,VAR7) AND VAR4>50 AND VAR4<65;
STICKLINE(VAR7<REF(VAR6, 1), -1*VAR7, -1*VAR6, A2,1), COLORRED;
VA1:=MA(VAR6,3);
STICKLINE(-1*VAR7>VA1, -1*VAR7, -1*VAR6,A2,1);
STICKLINE(VAR7>=REF(VAR6, 1), -1*VAR7, -1*VAR6, A2,1),COLORBLUE;
FORCAST(-1*VAR6,21);
百万:=MA(WINNER(C),9)*100;
BB:=CROSS(百万,2.5) ;
BB*-85,LINETHICK4,STICK;
DRAWTEXT(BB,-40,'..新庄介入');
DRAWTEXT(AAB,-80,'叮庄');
{DRAWTEXT(ABC,-50,'梅开二度');}
DRAWTEXT(AA,-70,'跟庄'),COLORRED;