通達(dá)信財(cái)富方陣主圖源碼主圖貼圖(無(wú)源碼的請(qǐng)下載附件導(dǎo)入)
參數(shù):N(1.150.120)
M:=BARSLAST(CURRBARSCOUNT=N);
GD:=CONST(IF(ISLASTBAR=1,HHV(H,M),0));
DD:=CONST(IF(ISLASTBAR=1,LLV(L,M),0));
KJ:=GD-DD;
高區(qū):IF(CURRBARSCOUNT<=N,GD,DRAWNULL),LINETHICK4,COLORYELLOW;
低區(qū):IF(CURRBARSCOUNT<=N,DD,DRAWNULL),LINETHICK2,COLORYELLOW;
平衡:IF(CURRBARSCOUNT<=N,DD+KJ/2,DRAWNULL),LINETHICK2,COLORYELLOW;
支撐0:IF(CURRBARSCOUNT<=N/2,DD+KJ*0.191,DRAWNULL),LINETHICK2,COLORYELLOW;
強(qiáng)勢(shì):IF(CURRBARSCOUNT<=N/2,DD+KJ*0.382,DRAWNULL),LINETHICK2,COLORYELLOW;
突破:IF(CURRBARSCOUNT<=N,DD+KJ/2,DRAWNULL),LINETHICK2,COLORYELLOW;
警示:IF(CURRBARSCOUNT<=N/2,DD+KJ*0.618,DRAWNULL),LINETHICK2,COLORYELLOW;
壓力:IF(CURRBARSCOUNT<=N/2,DD+KJ*0.809,DRAWNULL),LINETHICK2,COLORYELLOW;
CD:=CURRBARSCOUNT,NODRAW;
STICKLINE(CD=60,HHV(高區(qū),60),LLV(低區(qū),60),0.01,0),COLOR004080;
STICKLINE(CD=120,HHV(高區(qū),60),LLV(低區(qū),60),0.01,0),COLOR004080;
STICKLINE(CD=1,HHV(高區(qū),60),LLV(低區(qū),60),0.01,0),COLOR004080;
DRAWTEXT_FIX(1,0.7,0,0,'所屬板塊:'),COLORFF6000;
DRAWTEXT_FIX(1,0.77,0,0,HYBLOCK),COLORRED;
DRAWTEXT_FIX(1,0.835,0,0,DYBLOCK),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=1,壓力,'壓力'),COLOR004080;
DRAWTEXT(CURRBARSCOUNT=1,警示,'警示'),COLOR004080;
DRAWTEXT(CURRBARSCOUNT=1,突破,'突破'),COLOR004080;
DRAWTEXT(CURRBARSCOUNT=1,強(qiáng)勢(shì),'強(qiáng)勢(shì)'),COLOR004080;
DRAWTEXT(CURRBARSCOUNT=1,支撐0,'支撐'),COLOR004080;
DRAWTEXT(CURRBARSCOUNT=N/4+30,GD-KJ*0.09,'【風(fēng)險(xiǎn)區(qū)】--高拋避險(xiǎn)'),COLORWHITE;
DRAWTEXT(CURRBARSCOUNT=N/4+30,GD-KJ*0.3,'【警示區(qū)】--逢高減倉(cāng)'),COLORWHITE;
DRAWTEXT(CURRBARSCOUNT=N/4+30,GD-KJ*0.45,'【突破區(qū)】--主力拉升'),COLORWHITE;
DRAWTEXT(CURRBARSCOUNT=N/4+30,GD-KJ*0.55,'【拉升區(qū)】--強(qiáng)勢(shì)畜銳'),COLORWHITE;
DRAWTEXT(CURRBARSCOUNT=N/4+30,DD+KJ/3,'【關(guān)注區(qū)】--逢低買入'),COLORWHITE;
DRAWTEXT(CURRBARSCOUNT=N/4+30,DD+KJ/10,'【低吸區(qū)】--大膽買入'),COLORWHITE;
DRAWTEXT(CURRBARSCOUNT=N/2+6,GD-KJ*0.25,'【拉升區(qū)】'),COLORWHITE;
DRAWTEXT(CURRBARSCOUNT=N/2+6,DD+KJ*0.25,'【持股區(qū)】'),COLORWHITE;
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
|