VAR1:= IF(YEAR>=2008 AND MONTH>=7 AND DAY>=1,0,1);
M3:= MA(CLOSE,3);
M5:= MA(CLOSE,5);
季线: MA(CLOSE,60),LINETHICK0,COLOR00FF0F;
MA99: MA(CLOSE,99),LINETHICK0,COLORFF00FF;
半年线: MA(CLOSE,120),LINETHICK0,COLORRED;
VAR7:= ZIG(3,15)<REF(ZIG(3,15),1);
SSL:= EMA(CLOSE,3);
操作线: EMA(SLOPE(CLOSE,22)*20+CLOSE,55)*VAR1,LINETHICK2,COLORWHITE;
STICKLINE(SSL>操作线,SSL,操作线,1,0),COLORWHITE;
DRAWTEXT(CROSS(CLOSE,操作线) AND VAR7<1,操作线*0.98,'上穿'),COLORYELLOW;
XX:= 操作线>REF(操作线,1)=1;
变轨: XX>REF(XX,1),LINETHICK0,COLORRED;
DRAWTEXT(变轨,操作线*0.98,'变轨'),COLORRED;
上穿: CROSS(CLOSE,操作线),LINETHICK0,COLORYELLOW;
STICKLINE(操作线>REF(操作线,1),操作线,操作线,4,6),LINETHICK2,COLORRED;
STICKLINE(操作线<REF(操作线,1),操作线,操作线,4,6),LINETHICK2,COLOR00FF00;
VAR8:= ZIG(3,15)<REF(ZIG(3,15),1) AND REF(ZIG(3,15),1)>REF(ZIG(3,15),2);
VAR9:= ZIG(3,15)>REF(ZIG(3,15),1) AND REF(ZIG(3,15),1)<REF(ZIG(3,15),2);
STICKLINE(VAR9,CLOSE,OPEN,4,0),LINETHICK2,COLORFF00FF;
STICKLINE(VAR9,HIGH,LOW,1,0),LINETHICK2,COLORFF00FF;
预警: VAR9,LINETHICK0,COLORFF00FF;
VAR31:= EMA(EMA(EMA(CLOSE,13),9),7);
T1:= (VAR31-REF(VAR31,1))/REF(VAR31,1)*100;
B3:= T1<REF(T1,1)=0;
小心: B3<REF(B3,1) AND T1>1.25,LINETHICK0,COLORYELLOW;
DRAWTEXT(小心,HIGH*1.06,'小●心'),COLORYELLOW;
VAR10:= 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);
VAR12:= (CLOSE-LLV(LOW,26))/(HHV(HIGH,26)-LLV(LOW,26))*100;
VAR13:= SMA(SMA(VAR12,3,1),3,1);
VAR14:= EMA(VAR13,5);
VAR15:= LLV(LOW,26);
VAR16:= HHV(HIGH,34);
VAR17:= EMA((CLOSE-VAR15)/(VAR16-VAR15)*4,4)*25;
DRAWTEXT(VAR17<10,10,'-'),LINETHICK2,COLOR00CCFF;
VAR18:= 100-VAR1;
VAR19:= (CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR20:= SMA(VAR9,3,1);
VAR21:= SMA(VAR10,3,1);
VAR22:= EMA(3*VAR10-2*VAR21,3);
VAR23:= (-1)*(EMA(VAR8,1)-50)+50;
VAR24:= EMA(100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14)),6);
大户:= SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,9,1);
散户:= SMA(大户,3,1);
主力庄家:= 3*大户-2*散户;
DRAWTEXT(CROSS(主力庄家,散户) AND 散户<60,HIGH*1.05,'$'),COLORYELLOW;
DRAWTEXT(CROSS(主力庄家,散户) AND 散户<60,操作线*0.95,'买'),COLORYELLOW;
买: CROSS(主力庄家,散户) AND 散户<60,LINETHICK0,COLORYELLOW;
DRAWTEXT(1-VAR1=1,CLOSE+4,'使'),COLORWHITE;
DRAWTEXT(1-VAR1=1,CLOSE+3,'用 '),COLORWHITE;
DRAWTEXT(1-VAR1=1,CLOSE+2,'到 '),COLORWHITE;
DRAWTEXT(1-VAR1=1,CLOSE+0.1,'期 '),COLORWHITE;
现价:= CLOSE;
蓝狐工作室: 0,LINETHICK0,COLOR00FF0F; |