1、波段贏家主圖
獲利了結(jié):EMA(EMA(EMA(HIGH,5),5),5)*1.15,COLORFFFFFF,LINETHICK1;
風(fēng)險(xiǎn): EMA(EMA(EMA(HIGH,5),5),5)*1.1,COLORYELLOW; 回檔: EMA(EMA(EMA(HIGH,5),5),5)*1.05,COLOR00FF00; 平衡: EMA(EMA(EMA(HIGH,5),5),5),COLORFF00FF,LINETHICK1; 反彈: EMA(EMA(EMA(HIGH,5),5),5)*0.95,COLORGRAY,LINETHICK1; 超跌: EMA(EMA(EMA(HIGH,5),5),5)*0.9,COLORBLUE,LINETHICK1; 2、主力控盤雷達(dá)
{主力控盤雷達(dá)}
VAR1:=CLOSE-LOW; VAR2:=HIGH-LOW; VAR3:=CLOSE-HIGH; VAR4:=IF(CLOSE>=0,(VAR1/VAR2+VAR3/VAR2)*VOL,(VAR3/VAR2+VAR1/VAR2)*VOL); 主力控盤雷達(dá): SUM(VAR4,10)/10000, VOLSTICK; 增減力度:(MA(CLOSE,34.000) - CLOSE) / MA(CLOSE, 34.000) * 10.000,COLOR6666FF; STICKLINE(CROSS( 1.700,增減力度), 3,0, 3,0),COLORWHITE; DRAWTEXT(CROSS( 1.700,增減力度), 8.000,'底'),COLORWHITE; 進(jìn)倉:STICKLINE(C/REF(C,1)>1.0618, 3,0, 3,0),COLORYELLOW; DRAWTEXT(C/REF(C,1)>1.0618, 10.000,'進(jìn)'),COLORYELLOW; STICKLINE(FILTER(CROSS(0.019100,增減力度),21), 5,0, 3,0),COLORRED; DRAWTEXT(FILTER(CROSS(0.019100,增減力度),21), 13,'析'),COLORRED; 逢高出局:STICKLINE(FILTER(C/REF(C,1)>1.0918,21), 15,0, 3,0),COLORFFAAFF; DRAWTEXT(FILTER(C/REF(C,1)>1.0918,21), 30,'出'),COLORFFAAFF; 3、拉升力
拉升力:=(CLOSE-LLV(LOW,28))/(HHV(HIGH,30)-LLV(LOW,36))*0.6*CLOSE;
拉升力A:=SMA(拉升力,6.3,1); 波峰波谷:SMA(拉升力A,3,1),COLORFF00FF; 拉升力B:=3*拉升力A-2.1*波峰波谷; 空方:=3*波峰波谷-1* 拉升力A; 做空:IF(空方>拉升力B,拉升力B,空方),LINETHICK2,COLOR00FF00; 做空周期:HHV(做空,21),COLORBLUE,LINETHICK2; 多頭:IF(做空>=REF(做空,1) ,做空,DRAWNULL),COLORRED,LINETHICK3; DRAWICON(做空>=REF(做空,1) AND REF(做空,1)<REF(做空,2),做空,23); 空頭:IF(做空<REF(做空,1),做空,DRAWNULL),COLORGREEN,LINETHICK3; {DRAWICON(做空<=REF(做空,1) AND REF(做空,1)>REF(做空,2),做空,19);} 短線:(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*20,LINETHICK0,COLORWHITE; 中線:(CLOSE-MA(CLOSE,4))/MA(CLOSE,4)*20,LINETHICK0,COLORYELLOW; 紅柱:SMA(短線,3,1),LINETHICK0,COLOR0000FF; 藍(lán)柱:SMA(中線,3,1),COLORSTICK,COLORFFFF00; {紅柱} STICKLINE(紅柱<REF(紅柱,1)AND 紅柱>0,0,紅柱,2,0),COLOR888800; STICKLINE(紅柱<REF(紅柱,1)AND 紅柱>0,0,紅柱,1.5,0),COLORAAAA00; STICKLINE(紅柱<REF(紅柱,1)AND 紅柱>0,0,紅柱,0.8,0),COLORDDDD00; STICKLINE(紅柱<REF(紅柱,1)AND 紅柱>0,0,紅柱,0.3,0),COLORFFFF00; STICKLINE(紅柱>REF(紅柱,1)AND 紅柱>0,0,紅柱,2,0),COLOR000088; STICKLINE(紅柱>REF(紅柱,1)AND 紅柱>0,0,紅柱,1.5,0),COLOR0000AA; STICKLINE(紅柱>REF(紅柱,1)AND 紅柱>0,0,紅柱,0.8,0),COLOR0000DD; STICKLINE(紅柱>REF(紅柱,1)AND 紅柱>0,0,紅柱,0.3,0),COLOR0000FF; STICKLINE(藍(lán)柱<REF(藍(lán)柱,1) AND 藍(lán)柱>0,0,藍(lán)柱,2,0),COLOR008800; STICKLINE(藍(lán)柱<REF(藍(lán)柱,1) AND 藍(lán)柱>0,0,藍(lán)柱,1,0),COLOR00AA00; STICKLINE(藍(lán)柱<REF(藍(lán)柱,1) AND 藍(lán)柱>0,0,藍(lán)柱,0.8,0),COLOR00DD00; STICKLINE(藍(lán)柱<REF(藍(lán)柱,1) AND 藍(lán)柱>0,0,藍(lán)柱,0.3,0),COLOR00FF00; {藍(lán)柱} STICKLINE(紅柱>REF(紅柱,1)AND 紅柱<0,0,紅柱,2,0),COLOR880088; STICKLINE(紅柱>REF(紅柱,1)AND 紅柱<0,0,紅柱,1.5,0),COLORAA00AA; STICKLINE(紅柱>REF(紅柱,1)AND 紅柱<0,0,紅柱,0.8,0),COLORDD00DD; STICKLINE(紅柱>REF(紅柱,1)AND 紅柱<0,0,紅柱,0.3,0),COLORFF00FF; STICKLINE(紅柱<REF(紅柱,1)AND 紅柱<0,0,紅柱,2,0),COLOR888800; STICKLINE(紅柱<REF(紅柱,1)AND 紅柱<0,0,紅柱,1.5,0),COLORAAAA00; STICKLINE(紅柱<REF(紅柱,1)AND 紅柱<0,0,紅柱,0.8,0),COLORDDDD00; STICKLINE(紅柱<REF(紅柱,1)AND 紅柱<0,0,紅柱,0.3,0),COLORFFFF00; STICKLINE(藍(lán)柱>REF(藍(lán)柱,1)AND 藍(lán)柱<0,0,藍(lán)柱,2,0),COLOR009999; STICKLINE(藍(lán)柱>REF(藍(lán)柱,1)AND 藍(lán)柱<0,0,藍(lán)柱,1.5,0),COLOR00BBBB; STICKLINE(藍(lán)柱>REF(藍(lán)柱,1)AND 藍(lán)柱<0,0,藍(lán)柱,0.8,0),COLOR00DDDD; STICKLINE(藍(lán)柱>REF(藍(lán)柱,1)AND 藍(lán)柱<0,0,藍(lán)柱,0.3,0),COLOR00FFFF; VAR200:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
VAR300:=SMA(SMA(VAR200,3,1),3,1)/28.57; VAR400:=EMA(VAR300,5); 操盤:=3*VAR300-2*VAR400; A1:=CROSS(操盤,VAR300) AND VAR300<2.1 AND C>O; STICKLINE(A1,5,0,4,0),COLOR770077; STICKLINE(A1,5,0,3,0),COLOR990099; STICKLINE(A1,5,0,2,0),COLORBB00BB; STICKLINE(A1,5,0,1,0),COLORDD00DD; STICKLINE(A1,5,0,0.3,0),COLORFF00FF; DRAWTEXT(A1,5.2,'全倉'),COLORRED; 4、
換手:=V*100/CAPITAL;
主力:=MA(換手,4); 大戶:=MA(換手,9); 中戶:=MA(換手,17); 散戶:=MA(換手,34); 均量:=(主力+大戶+中戶+散戶)/4; 主力能量:(主力-均量),NODRAW; 大戶能量:(大戶-均量),NODRAW; 中戶能量:(中戶-均量),NODRAW; 散戶能量:(散戶-均量),NODRAW; 操盤:STICKLINE(主力能量>=0 AND 主力能量>=REF(主力能量,1),4.5,4.5+主力能量,1,0),COLORRED; 減倉:STICKLINE(主力能量>=0 AND 主力能量< REF(主力能量,1),4.5,4.5+主力能量,1,0),COLORRED; 反彈:STICKLINE(主力能量<0 AND 主力能量>=REF(主力能量,1),4.5,4.5+主力能量,1,0),COLORGREEN; 尋底:STICKLINE(主力能量<0 AND 主力能量< REF(主力能量,1),4.5,4.5+主力能量,1,0),COLORGREEN; DRAWTEXT(ISLASTBAR=1,IF(主力能量>=0,4.2,4.8),'主力'),COLORBLUE; 操盤1:STICKLINE(大戶能量>=0 AND 大戶能量>=REF(大戶能量,1),3,3+大戶能量,1,0),COLORRED;
減倉1:STICKLINE(大戶能量>=0 AND 大戶能量< REF(大戶能量,1),3,3+大戶能量,1,0),COLORRED; 反彈1:STICKLINE(大戶能量<0 AND 大戶能量>=REF(大戶能量,1),3,3+大戶能量,1,0),COLORGREEN; 尋底1:STICKLINE(大戶能量<0 AND 大戶能量< REF(大戶能量,1),3,3+大戶能量,1,0),COLORGREEN; DRAWTEXT(ISLASTBAR=1,IF(大戶能量>=0,2.7,3.3),'大戶'),COLORBLUE; 操盤2:STICKLINE(中戶能量>=0 AND 中戶能量>=REF(中戶能量,1),1.5,1.5+中戶能量,1,0),COLORRED;
減倉2:STICKLINE(中戶能量>=0 AND 中戶能量< REF(中戶能量,1),1.5,1.5+中戶能量,1,0),COLORRED; 反彈2:STICKLINE(中戶能量<0 AND 中戶能量>=REF(中戶能量,1),1.5,1.5+中戶能量,1,0),COLORGREEN; 尋底2:STICKLINE(中戶能量<0 AND 中戶能量< REF(中戶能量,1),1.5,1.5+中戶能量,1,0),COLORGREEN; DRAWTEXT(ISLASTBAR=1,IF(中戶能量>=0,1.2,1.8),'中戶'),COLORBLUE; 操盤3:STICKLINE(散戶能量>=0 AND 散戶能量>=REF(散戶能量,1),0,散戶能量,1,0),COLORRED;
減倉3:STICKLINE(散戶能量>=0 AND 散戶能量< REF(散戶能量,1),0,散戶能量,1,0),COLORRED; 反彈3:STICKLINE(散戶能量<0 AND 散戶能量>=REF(散戶能量,1),0,散戶能量,1,0),COLORGREEN; 尋底3:STICKLINE(散戶能量<0 AND 散戶能量< REF(散戶能量,1),0,散戶能量,1,0),COLORGREEN; DRAWTEXT(ISLASTBAR=1,IF(散戶能量>=0,-0.3,0.3),'散戶'),COLORBLUE; {上漲是風(fēng)險(xiǎn)的鄰居,下跌是機(jī)會(huì)的來臨}; 6、簡(jiǎn)單的最實(shí)用
{簡(jiǎn)單的最實(shí)用}
N:=10; M1:=5; M2:=20; RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100; K:=SMA(RSV,M1,1); D:=SMA(K,M2,1); J:=3*K-2*D; A:=CROSS(K,D); B:=CROSS(D,K); DRAWTEXT(A,H,'----------------'),COLOR0000FF; DRAWTEXT(B,L,'----------------'),COLOR00FF00; MID:=(3*CLOSE+LOW+OPEN+HIGH)/6; 牛線:(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+16*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+4*REF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,20))/210,COLORRED; 馬線:MA(牛線,6),COLORGREEN; 五日線:MA(CLOSE,5),POINTDOT,COLORLIBLUE; |
|