{破軍1號} {參數(shù) P:60,Q:30} 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; 極限:5,,COLORFF6600; 風險:-1,COLORGREEN,LINETHICK2; 低點:-4,COLORCCFF33; 現(xiàn)價:C,NODRAW; DRAWTEXT(ISLASTBAR AND C,4.3,' ▲買 出現(xiàn)立刻關注'),COLORFF00FF; DRAWTEXT(ISLASTBAR AND C,3.2,' 黑馬 出現(xiàn)必持待漲'),COLORDB7093; DRAWTEXT(ISLASTBAR AND C,2.1,' 牛牛 出現(xiàn)后市必高'),COLORYELLOW; DRAWTEXT(ISLASTBAR AND C,1.0,' ▼賣 出現(xiàn)準備賣出'),COLORGREEN; DRAWTEXT(ISLASTBAR AND C,-0.1,' 短紅柱蓄勢待發(fā)'),COLORRED; DRAWTEXT(ISLASTBAR AND C,-1.2,' 洋紅柱主力做多'),COLORMAGENTA; DRAWTEXT(ISLASTBAR AND C,-2.3,' 遵守原則是上策'),COLORYELLOW; DRAWTEXT(ISLASTBAR AND C,-3.4,' 冷靜操盤獲利多'),COLORYELLOW;
STICKLINE(FILTER(C,60)>0,極限,低點,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;
H1:=MAX(DYNAINFO(3),DYNAINFO(5)); L1:=MIN(DYNAINFO(3),DYNAINFO(6)); P1:=H1-L1; 阻力:=L1+P1*7/8; 支撐:=L1+P1*0.5/8; 現(xiàn)價1:=CLOSE; DRAWTEXT(LONGCROSS(支撐,現(xiàn)價1,2),-1,'▲買'),COLORFF00FF;{吸} DRAWTEXT(LONGCROSS(現(xiàn)價1,阻力,2),1,'▼賣'),COLORGREEN;{拋};
VAR1:=EMA(EMA(CLOSE,13),13); 控盤1:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000; {分時價格原碼} JJ:=DYNAINFO(11); {波段買賣原碼} P:=55;S:=8;M1:=3; 財:=(EMA(CLOSE,S)-EMA(CLOSE,P))*10,COLORRED,LINETHICK2; 神:=EMA(財,M1),COLORGREEN,LINETHICK1;
{股價與均線偏離買賣條件} BTJ11:=(C-JJ)/JJ<-0.03; BTJ1:=(C-JJ)/JJ<-0.005; BTJ2:=控盤1>REF(控盤1,1) AND 控盤1<-0.2; {波段買賣條件} BTJ3:=CROSS(財,神) AND 財<-0.3; {以下為信號}; BTJ81:=FILTER(BTJ1 AND BTJ2 AND BTJ3,13); BTJ811:=FILTER(BTJ11 AND BTJ2 AND BTJ3,13); 馬:= BTJ11 AND BTJ2 AND BTJ3; 黑馬:FILTER(馬,2),COLORDB7093,LINETHICK3; DRAWTEXT(BTJ811,黑馬*1.5,'黑馬'),COLORDB7093; 牛:=(C-JJ)/JJ<-0.03; DRAWTEXT(牛,4,'牛')COLORYELLOW; VAR2:=LLV(LOW,33); VAR3:=HHV(HIGH,21); VAR4:=EMA((CLOSE-VAR2)/(VAR3-VAR2)*100,10)*-1+100; 安全線:(100-EMA(0.191*REF(VAR4,1)+0.809*VAR4,1))/20,LINETHICK2,COLORBLUE; 風險值:(100-EMA(0.191*REF(VAR4,1)+0.809*VAR4,1))/20,CIRCLEDOT,LINETHICK2,COLORRED; BGTYU:=IF(DATE<=1150530,1,0); GHYJKU:=BETWEEN((CLOSE*BGTYU)/(SUM(AMOUNT,BARSCOUNT((CLOSE*BGTYU)))/SUM(VOL*100,BARSCOUNT((CLOSE*BGTYU)))),1.05,0.95); VBNH:=IF(GHYJKU=0,MA((CLOSE*BGTYU),BARSCOUNT((CLOSE*BGTYU))),(SUM(AMOUNT,BARSCOUNT((CLOSE*BGTYU)))/SUM(VOL*100,BARSCOUNT((CLOSE*BGTYU))))); STICKLINE(EMA(C,10)>EMA(C,60) ,-3,-2.5,2.0,0),COLORRED; STICKLINE(EMA(C,10)<EMA(C,60) ,-3,-3.5,2.0,0),COLORGREEN; STICKLINE(EMA((CLOSE/VBNH),120)>1.003 ,-3,-2,2.0,0),COLORMAGENTA; DRAWTEXT(CROSS(EMA((CLOSE/VBNH),120),1.004),-3,'強勁主力'),COLORYELLOW; DRAWICON(CROSS(EMA((CLOSE/VBNH),20),1.003),-3.5,27); DRAWICON(CROSS(EMA((CLOSE/VBNH),20),1.003),-3.5,27); DRAWTEXT(CROSS(EMA((CLOSE/VBNH),20),EMA((CLOSE/VBNH),60)),-3.5,'看漲'),COLORBLUE; DRAWTEXT(CROSS(EMA((CLOSE/VBNH),20),EMA((CLOSE/VBNH),60)),安全線,'大資金活動'),COLOR38B0DE; |
|