DRAWNUMBER_FIX(ISLASTBAR,0,0,0,888888); 下面的代码是左下角显示6个8左对齐 DRAWNUMBER_FIX(ISLASTBAR,0,1,0,888888); 下面的代码是右下角显示6个8右对齐 DRAWNUMBER_FIX(ISLASTBAR,1,1,1,888888); 下面的代码是右上角显示6个8右对齐 DRAWNUMBER_FIX(ISLASTBAR,1,0,1,888888); 下面的代码是中间显示6个...
DRAWNUMBER_FIX(ISLASTBAR,0.155,0.7,0,日DEA),COLORFFFFFF; DRAWTEXT_FIX(ISLASTBAR,0.11,0.75,0,'周DIF='),COLORFFFFFF; DRAWNUMBER_FIX(ISLASTBAR,0.155,0.75,0,周DIF),COLORFFFFFF; DRAWTEXT_FIX(ISLASTBAR,0.11,0.8,0,'周DEA='),COLORFFFFFF; DRAWNUMBER_FIX(ISLASTBAR,0.155,0.8,0,周DEA),COLORFFFFFF...
type是左右对齐 x是代表y轴上的百分比位置,y是代表y轴上的百分比位置.数字的显示位置有xy轴和type决定 例如下面的代码含义是在左上角显示6个8左对齐 DRAWNUMBER_FIX(ISLASTBAR,0,0,0,888888);下面的代码是左下角显示6个8左对齐 DRAWNUMBER_FIX(ISLASTBAR,0,1,0,888888);下面的代码是右下角显示6...
DRAWTEXT_FIX(1,0.18,0.15,0,'测低:'),COLORYELLOW; DRAWNUMBER_FIX(1,0.24,0.17,0,CONST(预测低二)),COLORCYAN; DRAWTEXT_FIX(1,0.04,0.15,0,'测高:'),COLORFFFFFF; DRAWNUMBER_FIX(1,0.10,0.17,0,CONST(预测高二)),COLORYELLOW; MQ1:=12; MQ2:=50; MQ3:=60; EXP1:=EXPMA(CLOSE,MQ1); EXP2...
DRAWNUMBER_FIX:画定点数字 固定位置显示数字. 用法:DRAWNUMBER_FIX(COND,X,Y,TYPE,NUMBER),当COND条件满足时,在当前指标窗口内(X,Y)位置书写数字NUMBER,X,Y为书写点在窗口中相对于左上角的百分比,TYPE:0为左对齐,1为右对齐。 例如:DRAWNUMBER_FIX(CURRBARSCOUNT=1 AND CLOSE/OPEN>1.08,0.5,0.5,0,C)表示最...
DRAWNUMBER_FIX(BARSTATUS=2,0.45,0.00,0,封板能力概率),COLORYELLOW; DRAWTEXT_FIX(1,0.53,0.00,0,'涨停板数:'); DRAWNUMBER_FIX(BARSTATUS=2,0.60,0.00,0,涨停板总数); DRAWTEXT_FIX(1,0.73,0.00,0,'炸板数:'); DRAWNUMBER_FIX(BARSTATUS=2,0.79,0.00,0,炸板数); ...
DRAWNUMBER_FIX(1,0.19,0.45,1,流通盘),COLORWHITE; DRAWNUMBER_FIX(1,0.19,0.55,1,流通市值),COLORWHITE; DRAWNUMBER_FIX(1,0.2,0.65,1,股东人数),COLORWHITE; DRAWNUMBER_FIX(1,0.2,0.75,1,人均持股),COLORWHITE; DRAWTEXT_FIX(品种类型=1,0.23,0.15,1,'沪深A股'),COLORMAGENTA; ...
格式:DRAWNUMBER_FIX(COND,X,Y,TYPE,DATA) 功能:定点显示数据 参数要求:COND为逻辑值,X,Y为书写点在窗口中相对于左上角的百分比,TYPE:0为左对齐,1为右对齐,DATA为数据 返回值类型:无效数 算法说明:当COND条件满足时,在当前指标窗口内(X,Y)位置书写数据DATA ...
DRAWNUMBER_FIX(1,0.45,0.35,0,CONST(FINANCE(11)/FINANCE(15))),COLORWHITE; DRAWTEXT_FIX(1,0.50,0.35,0,'【>1.5<2.5 低1偿债差】'),COLOR0000FF; 负债比率:=(FINANCE(15)+FINANCE(16))/FINANCE(10)*100; DRAWTEXT_FIX(1,0.40,0.45,0,STRCAT(STRCAT('负债比率...
DRAWTEXT_FIX (1,0.22,0.17,0,'量比:'),COLORYELLOW; DRAWTEXT_FIX (1,0.30,0.17,0,'涨幅:'),COLORYELLOW; DRAWNUMBER_FIX(1,0.33,0.17,0,CONST(DYNAINFO(14)*100)),COLORYELLOW; DRAWNUMBER_FIX(1,0.33,0.17,0,IF(CONST(DYNAINFO(14)*100)<0,CONST(DYNAINFO(14)*100),DRAWNULL)),COLORYELLOW; ...