备注,公式只是辅助作用,不要依赖
长阴:=C<O*0.952;
二分之一MAX(C,O)+MIN(C,O))/2,NODRAW;
三分之二MAX(C,O)-MIN(C,O))/3*2+MIN(C,O)NODRAW;
三分之一MAX(C,O)-MIN(C,O))/3+MIN(C,O)NODRAW;
STICKLINE(长阴,C,二分之一,3,0),COLOR00FFFF;
STICKLINE(长阴,(C+O)/2,(C+O)/2,3,0),COLOR00FFFF;
Z1:=STRCAT(HYBLOCK,' ');
Z2:=STRCAT(Z1,DYBLOCK);
Z3:=STRCAT(Z2,' ');
DRAWTEXT_FIX(ISLASTBAR,0,10,0,STRCAT(Z3,GNBLOCK)),COLOR0000FF;
DRAWTEXT_FIX(1,0.00,0.00,0,'主题投资:')COLOR0000FF;
DRAWTEXT_FIX(1,0.03,0.00,0,EXTERNSTR(0,1))COLOR0000FF;
DRAWTEXT_FIX(1,0.00,0.045,0,'主营业务:')COLORFF00FF;
DRAWTEXT_FIX(1,0.03,0.045,0,EXTERNSTR(0,2))COLORFF00FF; |