主图公式:指南针----飞越二号
{指南针___飞越二号}
HUO:=100*WINNER(C);
VAR1:AMOUNT/VOL/100,NODRAW;
VAR2:(3*HIGH+LOW+OPEN+2*CLOSE)/7;
VAR3:=SUM(AMOUNT,5)/VAR1/100;
CYC5:DMA(VAR2,VOL/VAR3);
CYS5:=(CLOSE-CYC5)/CYC5*100;
CYF13:=100-(100/(1+SUM(VOL,13)/CAPITAL));
CYF34:=100-(100/(1+SUM(VOL,34)/CAPITAL));
出击:(HUO>50 AND CYS5>5 AND CYF13<25 AND C<10){MYP<30},COLOR0066FF,NODRAW;
DRAWTEXT(出击>0,L-0.08,'出击'),COLOR00FFFF;
DRAWICON(CROSS(HUO,CYF34),L-0.08,9);
六十:MA(C,60),COLOR00FFFF,LINETHICK2;
涨:IF(MA(CLOSE,60)>REF(MA(CLOSE,60),1),MA(CLOSE,60),DRAWNULL),COLORRED,LINETHICK2;
平:IF(MA(CLOSE,60)=REF(MA(CLOSE,60),1),MA(CLOSE,60),DRAWNULL),COLOR00FFFF,LINETHICK2;
跌:IF(MA(CLOSE,60)<=REF(MA(CLOSE,60),1),MA(CLOSE,60),DRAWNULL),COLORGREEN,LINETHICK2; |