大智慧版的愿賭服輸分時(shí)指標(biāo),可惜沒有前40分鐘的,還請(qǐng)高手再優(yōu)化一下。
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; 風(fēng)險(xiǎn):-1,COLORGREEN,LINETHICK2; 現(xiàn)價(jià):C,LINETHICK0; DRAWTEXT(DISPSTATUS=2 AND C,4,' 愿賭服輸四段分時(shí)'),COLOR0000BB; DRAWTEXT(DISPSTATUS=2 AND C,3,' 操作選擇正確時(shí)段'),COLOR0000BB; DRAWTEXT(DISPSTATUS=2 AND C,2,' 黃線上方謹(jǐn)慎看多'),COLOR0000BB; DRAWTEXT(DISPSTATUS=2 AND C,-1.5,' 綠線下方保持警惕'),COLOR0000BB; DRAWTEXT(DISPSTATUS=2 AND C,-2.5,' 嚴(yán)格遵守操作紀(jì)律'),COLOR0000BB; DRAWTEXT(DISPSTATUS=2 AND C,-3.5,' 心態(tài)平衡投資順利'),COLOR0000BB; 均價(jià):SUM(現(xiàn)價(jià)*V,240)/SUM(V,240),COLORYELLOW,LINETHICK0; 回調(diào)認(rèn)同:EMA(EMA(C,20),13),LINETHICK0; 分時(shí)壓力:MA(REF(HHV(C,30),1),2),LINETHICK0; 分時(shí)支撐:MA(REF(LLV(C,30),1),2),LINETHICK0; STICKLINE(FILTER(C,29)>0,-1,1,0.5,0),LINETHICK0; STICKLINE(FILTER(C,59)>0,-1,1,0.5,0),COLORMAGENTA; STICKLINE(B4>0,0,B4,1,0),COLORYELLOW; STICKLINE(B3>0,0,B3,1,0),COLORRED; STICKLINE(B3<=0,0,B3,1,0),COLORGREEN; |
|