A1:=AMOUNT/VOL/100;
A2:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
A3:=SUM(AMOUNT,40)/A1/100;
A4:=SUM(AMOUNT,80)/A1/100;
B1:=DMA(A2,VOL/A3);
B2:=DMA(A2,VOL/A4);
B3:=(CLOSE-B1)/B1*100;
B4:=(CLOSE-B2)/B2*100;
控盤:1,COLORYELLOW,LINETHICK1;
高點(diǎn):5,,COLORFF6600;
風(fēng)險(xiǎn):-1,COLORGREEN,LINETHICK2;
低點(diǎn):-4,COLORCCFF33;
現(xiàn)價(jià):C,NODRAW;
DRAWTEXT(ISLASTBAR AND C,4,''),COLOR0000BB;
DRAWTEXT(ISLASTBAR AND C,3,''),COLOR0000BB;
DRAWTEXT(ISLASTBAR AND C,2,''),COLOR0000BB;
DRAWTEXT(ISLASTBAR AND C,-1.5,''),COLOR0000BB;
DRAWTEXT(ISLASTBAR AND C,-2.5,''),COLOR0000BB;
DRAWTEXT(ISLASTBAR AND C,-3.5,''),COLOR0000BB;
分時(shí)確認(rèn):MA(REF(HHV(C,60),1),2),NODRAW;
均價(jià):SUM(現(xiàn)價(jià)*V,240)/SUM(V,240),COLORYELLOW,NODRAW;
回調(diào)認(rèn)同:EMA(EXPMA(C,20),13),NODRAW;
分時(shí)壓力:MA(REF(HHV(C,30),1),2),NODRAW;
分時(shí)支撐:MA(REF(LLV(C,30),1),2),NODRAW;
STICKLINE(FILTER(C,60)>0,高點(diǎn),低點(diǎn),0.5,0),COLORRED;
STICKLINE(B4>0,0,B4,1,0),COLORYELLOW;
STICKLINE(B3>0,0,B3,1,0),COLORRED;
STICKLINE(B3<=0,0,B3,1,0),COLORGREEN;
RSV:=(CLOSE-LLV(LOW,Q))/(HHV(HIGH,Q)-LLV(LOW,Q))*100;
K:=SMA(RSV,5,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
VAR2:=EMA(J,6);
VAR3:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
VAR4:=SMA(VAR3,13,8);
VAR5:=CEILING(SMA(VAR4,13,8));
VAR6:="SSRP.MA1";
VAR7:="SSRP.MA2";
SIGNAL1:=CROSS(VAR5,VAR2) AND C>=均價(jià);
SIGNAL2:=(CROSS(VAR5,VAR2) AND B3>0.6 AND C>=均價(jià));
SIGNAL3:=(CROSS(VAR6,VAR7) AND B3>0.6 AND C>=均價(jià));
DRAWTEXT(SIGNAL1,-1,''),COLOR0000BB;
DRAWTEXT(SIGNAL2 AND VAR6>VAR7,-2,''),COLORFF00FF;
DRAWTEXT(SIGNAL2 AND VAR6>VAR7,-2.8,''),COLORFF00FF;
DRAWTEXT(SIGNAL3 AND VAR5>VAR2,-2,''),COLORRED;
DRAWTEXT(SIGNAL3 AND VAR5>VAR2,-2.8,''),COLORRED;
BGTYU:=IF(DATE<=1150530,1,0);
GHYJKU:=BETWEEN((DCLOSE*BGTYU)/(SUM(AMOUNT,BARSCOUNT((DCLOSE*BGTYU)))/SUM(VOL*100,BARSCOUNT((DCLOSE*BGTYU)))),1.05,0.95);
VBNH:=IF(GHYJKU=0,MA((DCLOSE*BGTYU),BARSCOUNT((DCLOSE*BGTYU))),(SUM(AMOUNT,BARSCOUNT((DCLOSE*BGTYU)))/SUM(VOL*100,BARSCOUNT((DCLOSE*BGTYU)))));
DRAWICON(CROSS(EXPMA((DCLOSE/VBNH),120),1.004),1.003*1,14);
DRAWICON(CROSS(EXPMA((DCLOSE/VBNH),60),EXPMA((DCLOSE/VBNH),120)),EXPMA((DCLOSE/VBNH),60)*1,1);
DRAWICON(CROSS(EXPMA((DCLOSE/VBNH),120),EXPMA((DCLOSE/VBNH),60)),EXPMA((DCLOSE/VBNH),120)*1,2);
DRAWICON(CROSS(EXPMA((DCLOSE/VBNH),20),1.02),1.02*3.3,14);
DRAWTEXT(CROSS(EXPMA((DCLOSE/VBNH),20),1.02),1.02*3,'★拉升★'),COLORGREEN;
STICKLINE(CROSS(EXPMA((DCLOSE/VBNH),20),1.02),1.02,1.025,4,0), , COLORMAGENTA;
STICKLINE(EXPMA(C,10)>EXPMA(C,60) ,1.03,1.034,1.0,0),COLORRED;
STICKLINE(EXPMA(C,10)<EXPMA(C,60) ,1.03,1.025,1.0,0),COLORGREEN;
STICKLINE(EXPMA((DCLOSE/VBNH),120)>1.003 ,1.03,1.039,1.0,0),COLORMAGENTA;
DRAWTEXT(CROSS(EXPMA((DCLOSE/VBNH),120),1.0029),1.028,'.'),COLORWHITE;
DRAWTEXT(CROSS(EXPMA((DCLOSE/VBNH),120),1.0029),-0.5,'●觀察分時(shí)量 '),COLORYELLOW;
DRAWICON(CROSS(EXPMA((DCLOSE/VBNH),120),1.004),1.003*3.3,13);
DRAWTEXT(CROSS(EXPMA((DCLOSE/VBNH),120),1.004),1.003*3,'★追漲★'),COLORYELLOW;
A:=EMA(100*(CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30)),3),COLORYELLOW,LINETHICK0;
操盤線:A*0.05;
|