通达信D点金明日_短线点金系统.主图或副图、源码
{D点金明日_短线点金系统.(主图或副图、源码、贴图)}
PT :=HIGH-LOW;
AA := (O+HIGH + LOW + CLOSE*2)/5;
突破:AA + PT,COLORYELLOW;
阻力: 2*AA-LOW,COLORRED;
支撑: 2*AA-HIGH,COLORCYAN;
下降:AA - PT,COLORFF00FF;
明日心理价:(AA+突破+阻力+支撑+下降)/5,COLORBB8000;
今日保护价:(REF(C,2)+REF(C,1)+O)/3 ,COLORRED,NODRAW;
D突破:=STRCAT('突破: ',CON2STR(突破,2));
D阻力:=STRCAT('阻力: ',CON2STR(阻力,2));
D支撑:=STRCAT('支撑: ',CON2STR(支撑,2));
D下降:=STRCAT('下降: ',CON2STR(下降,2));
D明日心理价:=STRCAT('明日心理价: ',CON2STR(明日心理价,2));
D今日保护价:=STRCAT('今日保护价: ',CON2STR(今日保护价,2));
DRAWRECTREL(0,0,125,555.4,IF(120,RGB(100,100,100),0));
DRAWTEXT_FIX(ISLASTBAR,0.00,0.01,0,D突破),COLOR00FFFF;
DRAWTEXT_FIX(ISLASTBAR,0.00,0.08,0,D阻力),COLOR00FF00;
DRAWTEXT_FIX(ISLASTBAR,0.00,0.15,0,D支撑),COLORFF00FF;
DRAWTEXT_FIX(ISLASTBAR,0.00,0.22,0,D下降),COLORFFFF00;
DRAWTEXT_FIX(ISLASTBAR,0.00,0.29,0,D明日心理价),COLORRED;
DRAWTEXT_FIX(ISLASTBAR,0.00,0.36,0,D今日保护价),COLORGREEN;
DRAWTEXT_FIX(1,0 ,0.46,0,' ★短线点金系统'),COLORWHITE;