MA5:=MA(C,5); MA10:=MA(C,10); MA30:=MA(C,30); MA60:=MA(C,60); MA65:=MA(C,65); MA250:=MA(C,250);
均線流:=(MA5>MA65 AND MA10>MA65 AND MA30>MA65 AND MA5<MA30)*0.3; PL1:=(C-MA60)/MA60<0.1; PL2:=(C-MA250)/MA250<0.3; 偏離率:=(PL1=1 AND PL2=1)*0.2; DIFF:=EMA(C,12)-EMA(C,26); DEA :=EMA(DIFF,9); MACD超跌:(COUNT((DIFF<DEA),10)=10),COLOR00FFFF,NODRAW; MACD:=2*(DIFF-DEA); 目標(biāo):=IF(均線流=0.3 AND MACD超跌 AND 偏離率=0.2 ,0.8,0); DRAWTEXT(目標(biāo)=0.8 ,0.2,'▲'),COLOR008FFF; DRAWTEXT(FILTER(目標(biāo)>0,13),1.2,'關(guān)注區(qū)'),COLOR008FFF; MBSJ:=BARSLAST(目標(biāo)=0.8); 放量上漲:(V/REF(V,1)>=1.1 AND C/REF(C,1)>=1.01),COLORRED,NODRAW; SZSJ:=BARSLAST((放量上漲 = 1)); MACD金叉:=CROSS(DIFF,DEA); JCSJ:=BARSLAST(MACD金叉=1); 關(guān)注:MACD金叉 AND REF(MACD,1)<0,NODRAW; 啟動(dòng):MBSJ<=20 AND SZSJ<=1 AND JCSJ<=1,COLOR189F33,NODRAW; 突破:=偏離率=0 AND REF(偏離率,1)=0.2 AND REF(COUNT(偏離率=0.2,10)=10,1)=1; STICKLINE(關(guān)注,0,3,0,0),COLORWHITE; STICKLINE(啟動(dòng),0,6,0,0),COLOR189F33; DRAWICON(關(guān)注,1.0,7); DRAWICON(關(guān)注,0.2,9); DRAWTEXT(突破,3.4,'★ '),COLORRED; DRAWTEXT(突破,2.7,'★ '),COLORRED; DRAWTEXT(突破,1.9,'★ '),COLORRED; DRAWTEXT(突破,1.2,'突 '),COLORRED; DRAWTEXT(突破,0.5,'破 '),COLORRED; |
|
來(lái)自: 修遠(yuǎn)自疏 > 《我的圖書(shū)館》