指标公式选股:(EMA(CLOSE,10)-EMA(CLOSE,20))*0.7,LINETHICK1,COLORRED; 行情给力:EMA(指标公式选股,8),LINETHICK1,COLORGREEN;MACD1:=(指标公式选股-行情给力),COLORSTICK; DRAWBAND(指标公式选股,RGB(250,10,10),行情给力,RGB(0,0,0)); SHORT:=5; aaaw5:=26; MID:=2; DIF:(EMA(CLOSE,SHORT)-EMA(CLOSE,aaaw5)),LINETHICK1,COLOR0000FF; DEA:EMA(DIF,MID); DRAWBAND(DIF,RGB(500,180,280),DEA,RGB(380,280,180)); MACD:=(DIF-DEA)*2,COLORSTICK; aaaw6:=IF(DIF<REF(DIF,1),DIF,DRAWNULL),COLORGREEN,LINETHICK2; DRAWICON(CROSS(DIF,DEA) AND DIF>REF(DIF,1) AND DEA<0,DIF,0); aaaw1:=MACD1,LINETHICK2,COLORCYAN; aaaw2:=(SMA(((C+L)/2-LLV(L,21))/(HHV((H+C)/2,21)-LLV(L,21))*100,2,1)-8); STICKLINE(FILTER(CROSS(aaaw2,aaaw1)=1 OR aaaw2>REF(aaaw2,1),10) AND aaaw2<25 ,0,0.02,4,0),COLORRED; STICKLINE(FILTER(aaaw2<REF(aaaw2,1)AND aaaw2>65,5),0,0.02,4,0),COLORGREEN; MA5:=EMA(C,3); MA13:=EMA(C,13); UP:=DRAWLINE(L=LLV(L,BARSLAST(CROSS(MA13,MA5))+1),LLV(L,BARSLAST(CROSS (MA13,MA5))+1),H=HHV(H,BARSLAST(CROSS(MA5,MA13))+1),HHV(H,BARSLAST(CROSS (MA5,MA13))+1),0),COLOR0000FF; DOWN:=DRAWLINE(H=HHV(H,BARSLAST(CROSS(MA5,MA13))+1),HHV(H,BARSLAST(CROSS (MA5,MA13))+1),L=LLV(L,BARSLAST(CROSS(MA13,MA5))+1),LLV(L,BARSLAST(CROSS (MA13,MA5))+1),0),COLOR00FF00; HR:=HHV(HIGH,55); aaaw3:=LLV(LOW,55); aaaw311:=HR*aaaw3; aaaw333:=SQRT(aaaw311); aaaw4:=REF(DOWN,1)<REF(DOWN,2) AND UP>REF(DOWN,1) AND C<aaaw333; STICKLINE(aaaw4,0,0.02,5,0),COLOR008888; STICKLINE(aaaw4,0,0.02,2,0),COLOR00AAAA; STICKLINE(aaaw4,0,0.02,1,0),COLOR00CCCC; STICKLINE(aaaw4,0,0.03,0.2,0),COLOR00FFFF; DRAWTEXT(aaaw4,-0.01,''),COLOR00FFFF; 0; |
|