通达信开收低于昨收买主图指标(源码)
DRAWTEXT_FIX(ISLASTBAR,0.988,0.06,1,' ★开盘价收盘价低于昨日的收盘价买,半仓操作,永不满仓。
★ '),COLOR0080EE;
CC:IF(CURRBARSCOUNT<18,CONST(REF(C,1)),DRAWNULL),COLOR000000;
止赢:1.05*CC,COLORMAGENTA,LINETHICK2;
DRAWTEXT(ISLASTBAR,止赢,'止赢'),LINETHICK5;
止损:0.97*CC,COLORYELLOW,LINETHICK2;
DRAWTEXT(ISLASTBAR,止损,'止损'),LINETHICK5;
V1:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
V2:=(1-7/100)*(DMA(CLOSE,V1));
V3:=(1+7/100)*(DMA(CLOSE,V1));
V5:=MA((LOW+HIGH+CLOSE)/3,5);
支撑:REFDATE(V2,DATE),LINETHICK2,COLORRED;
DRAWTEXT(ISLASTBAR,支撑,'支撑'),LINETHICK5;
阻力:REFDATE(V3,DATE),LINETHICK2,COLORBLUE;
DRAWTEXT(ISLASTBAR,阻力,'阻力'),LINETHICK5;
一天线:MA(CLOSE,1),COLOR0000FF;
两天线:MA(CLOSE,2),COLORYELLOW;
DRAWICON(CROSS(一天线,两天线),LOW*0.99,1);
DRAWICON(CROSS(两天线,一天线),HIGH*1.01,2);
STICKLINE(ISLASTBAR,HHV(C,5)*0.95-0.01,HHV(C,5)*0.95,100,0),COLORWHITE;
DRAWNUMBER(ISLASTBAR,HHV(C,5)*0.95-0.01,HHV(C,5)*0.95);
STICKLINE(C>=O,C,O,3.4,0),COLOR0000AA;
STICKLINE(C>=O,C,O,3.0,0),COLOR0000BB ;
STICKLINE(C>=O,C,O,2.4,0),COLOR0000CC;
STICKLINE(C>=O,C,O,2.0,0),COLOR0000DD ;
STICKLINE(C>=O,C,O,1.6,0),COLOR0000EE;
STICKLINE(C>=O,C,O,1.2,0),COLOR0000FF;
STICKLINE(C>=O,C,O,0.6,0),COLOR0000FF;
STICKLINE(C>=O,H,L,0,0),COLORRED;
STICKLINE(C<=O,C,O,3.4,0),COLORAAAA00;
STICKLINE(C<=O,C,O,3.0,0),COLORBBBB00;
STICKLINE(C<=O,C,O,2.4,0),COLORCCCC00;
STICKLINE(C<=O,C,O,2.0,0),COLORDDDD00;
STICKLINE(C<=O,C,O,1.6,0),COLOREEEE00;
STICKLINE(C<=O,C,O,1.2,0),COLORFFFF00;
STICKLINE(C<=O,C,O,0.6,0),COLORFFFF00;
STICKLINE(C<=O,H,L,0,0),COLORFFFF00;
- 上一篇公式:通达信优化成交量战法指标(源码)
- 下一篇公式:通达信支撑压力画线主图指标(源码)