以下是低吸高抛主图指标源码

EMA5:MA(C,5),COLOR0000FF,LINETHICK2;
 EMA10:MA(C,10),COLOR00FFFF,LINETHICK2;
 EMA21:=MA(C,21),COLORC0FF7F,LINETHICK1;
 EMA60:MA(C,60),COLORFFFFFF,LINETHICK1;
 MA7:=MA(C,7);
 VAR71:=ATAN((MA7/REF(MA7,1)-1)*100)*180/3.1416;
 AA1:=ATAN((MA7/REF(MA7,1)-1)*100)*180/3.1416;
 BB1:=MA(AA1,4);
 AA:=AA1>=BB1;
 BB:=AA1<BB1;
买入:DRAWICON(CROSS(AA,BB),L-0.1,1);
卖出:DRAWICON(CROSS(BB,AA),H+0.1,2);
 STICKLINE(AA,C,O,3,0),COLOR000099;
 STICKLINE(AA,H,L,0.5,0),COLOR000099;
 STICKLINE(BB,C,O,3,0),COLORFF0099;
 STICKLINE(BB,H,L,0.5,0),COLOR660099;
 STICKLINE(AA,CLOSE,OPEN,3.0,0),COLOR9900CC;
 STICKLINE(AA,CLOSE,OPEN,2.5,0),COLORFF00CC;
 STICKLINE(AA,CLOSE,OPEN,1.9,0),COLORFF00FF;
 STICKLINE(AA,CLOSE,OPEN,1.0,0),COLORFF33FF;
 STICKLINE(AA,CLOSE,OPEN,0.5,0),COLORFF66FF;
 STICKLINE(AA,CLOSE,OPEN,0.2,0),COLORFF99FF;
 STICKLINE(BB,CLOSE,OPEN,3,0),COLOR006633;
 STICKLINE(BB,CLOSE,OPEN,2.5,0),COLOR339933;
 STICKLINE(BB,CLOSE,OPEN,1.9,0),COLOR669933;
 STICKLINE(BB,CLOSE,OPEN,1.5,0),COLOR33CC33;
 STICKLINE(BB,CLOSE,OPEN,1.0,0),COLOR66CC33;
 STICKLINE(BB,CLOSE,OPEN,0.2,0),COLORCCFF33;
 STICKLINE(买入,O,(C-O)/2+O,3,0),COLOR335555;
 STICKLINE(买入,O,(C-O)/2+O,2.2,0),COLOR338888;
 STICKLINE(买入,O,(C-O)/2+O,1.5,0),COLOR33AAAA;
 STICKLINE(买入,O,(C-O)/2+O,1,0),COLOR33CCCC;
 STICKLINE(买入,O,(C-O)/2+O,0,0),COLOR33EEEE;
 STICKLINE(卖出,O,(C-O)/2+O,3,0),COLOR550055;
 STICKLINE(卖出,O,(C-O)/2+O,2.2,0),COLOR880088;
 STICKLINE(卖出,O,(C-O)/2+O,1.5,0),COLORAA00AA;
 STICKLINE(卖出,O,(C-O)/2+O,1,0),COLORCC00CC;
 STICKLINE(卖出,O,(C-O)/2+O,0.5,0),COLOREE00EE;

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。