跟庄系统(通达信公式 副图 源码 测试图)
{跟庄系统副图}
VAR1:=13;VAR2:=30;VAR3:=(CLOSE+OPEN+LOW+HIGH)/4;VAR4:=WINNER(VAR3*1.04)*100;VAR5:=WINNER(VAR3*0.96)*100;A04:VAR5,NODRAW;A08:VAR4-VAR5,NODRAW;A06:100-VAR4,NODRAW;STICKLINE(1,0,A04,2,0),COLORRED;STICKLINE(1,100,VAR4,2,0),COLORGREEN;STICKLINE(1,A04,100-A06,2,0),COLORYELLOW;VAR6:=(HHV(A04,15)-VAR5)/VAR5*100>VAR2 AND HHV(A04,15)>50;STICKLINE(VAR6,0-2,2,4,0),COLORYELLOW;STICKLINE(NOT(VAR6),0-2,2,4,0),COLORMAGENTA;
获利:MA(VAR5,VAR1),COLORRED,LINETHICK3;