大智慧做T+0的方法—开盘最高公式
昨天开:"日线引用.开盘价1#day",linethick4;
昨天高:"日线引用.最高价1#day",linethick4;
昨天低:"日线引用.最低价1#day",linethick4;
BBD1:="DATA@dde分时"(4)-"DATA@dde分时"(5)+"DATA@dde分时"(6)-"DATA@dde分时"(7);
DDX:=BBD1*SUM(VOL,0)/capital*100;
DRAWTEXTABS(140 ,175 ,'★★DDX'+DDX),LINETHICK3,ColorFFFFFF;
DRAWTEXTREL(0,600,'DDX'),COLORFFFFFF,LINETHICK3;
〔30〕:=DDX-REF(DDX,30);
〔60〕:=DDX-REF(DDX,60);
〔90〕:=DDX-REF(DDX,90);
〔120〕:=DDX-REF(DDX,120);
〔150〕:=DDX-REF(DDX,150);
〔180〕:=DDX-REF(DDX,180);
〔210〕:=DDX-REF(DDX,210);
〔240〕:=DDX-REF(DDX,240);
DRAWTEXTABS(30 ,215 ,'〔30〕'+〔30〕),LINETHICK2,ColorFFFFFF;
DRAWTEXTABS(130 ,215 ,'〔60〕'+〔60〕),LINETHICK2,ColorFFFFFF;
DRAWTEXTABS(230 ,215 ,'〔90〕'+〔90〕),LINETHICK2,ColorFFFFFF;
DRAWTEXTABS(350 ,215 ,'〔120〕'+〔120〕),LINETHICK2,ColorFFFFFF;
DRAWTEXTABS(470 ,215 ,'〔150〕'+〔150〕),LINETHICK2,ColorFFFFFF;
DRAWTEXTABS(590 ,215 ,'〔180〕'+〔180〕),LINETHICK2,ColorFFFFFF;
DRAWTEXTABS(700 ,215 ,'〔210〕'+〔210〕),LINETHICK2,ColorFFFFFF;
DRAWTEXTABS(800 ,215 ,'〔240〕'+〔240〕),LINETHICK2,ColorFFFFFF;
开盘价1:REF(open,1);
最高价1:REF(high,1);
最低价1:REF(low,1);