以下是同花顺多彩操盘副图源码

《软件炒股高手绝技》指标,欢迎大家试用看看。

/*
DRAWTEXTREL(10,30,’线上工作;线下休息。最低点靠近工作线低吸’),linethick2,coloryellow;
 DRAWTEXTREL(10,60,’线上阴线买,买错也要买;线下阳线卖,卖错也要卖’),linethick2,colorred; */
 V1:=DMA((((HIGH + LOW) + (CLOSE * 2)) / 4.15),0.9);
 HHY1:=REF(EMA(V1,3),1);
神秘线:=HHY1;
价:=C;
工作线:EMA(CLOSE,17),COLOR0F00FF;
涨势线: 工作线+3*STD(工作线,15),COLOR0055FF;
跌势线: 工作线-3*STD(工作线,15),colorgreen;
庄线:=EMA(WINNER(C)*70,5);
短庄:=MA( 庄线,10);
 AA1:=庄线*CLOSE;
 AA2:=庄线*OPEN;
 AA3:=庄线*HIGH;
 AA4:=庄线*LOW;
 VAR1:=AA1-REF(AA1,1);
 VAR2:=AA2-REF(AA2,1);
 VAR3:=AA3-REF(AA3,1);
 VAR4:=AA4-REF(AA4,1);
 var5:=(var1+var2+var3+var4)/4;
动能:=MA(var5*庄线,14) ;
买方:= 庄线>短庄 AND 价>工作线 ;
STICKLINE(动能>0 AND 庄线>短庄 AND 价>工作线,OPEN,CLOSE,8,0),COLOR0000FF;
 STICKLINE(动能>0 AND 庄线>短庄 AND 价>工作线,LOW,HIGH,0.5 ,0),COLOR0000FF;
 STICKLINE(动能<0 AND 庄线>短庄 AND 价>工作线,OPEN,CLOSE,8,0),COLORFF00FF;
 STICKLINE(动能<0 AND 庄线>短庄 AND 价>工作线,LOW,HIGH,0.5 ,0),COLORFF00FF;
 STICKLINE(动能<0 AND 庄线<短庄,OPEN,CLOSE,8,0),COLORFFAA00;
 STICKLINE(动能<0 AND 庄线<短庄,LOW,HIGH,0.5 ,0),COLORFFAA00;
 STICKLINE(价<工作线 AND 庄线>短庄,OPEN,CLOSE,8,0),COLORFFAA00;
 STICKLINE(价<工作线 AND 庄线>短庄,LOW,HIGH,0.5 ,0),COLORFFAA00;
 STICKLINE(动能>0 AND 庄线<短庄 AND 价<工作线,OPEN,CLOSE,8,0),COLORFFAA00;
 STICKLINE(动能>0 AND 庄线<短庄 AND 价<工作线,LOW,HIGH,0.5 ,0),COLORFFAA00;
 STICKLINE(动能>0 AND 庄线>短庄 AND 价<神秘线,OPEN,CLOSE,8,0),COLORFFAA00;
 STICKLINE(动能>0 AND 庄线>短庄 AND 价<神秘线,LOW,HIGH,0.5 ,0),COLORFFAA00;
 STICKLINE(动能>0 AND 庄线<短庄 AND 价>工作线,OPEN,CLOSE,8,0),COLOR00FF00;
 STICKLINE(动能>0 AND 庄线<短庄 AND 价>工作线,LOW,HIGH,0.5 ,0),COLOR00FF00;
涨停:=CLOSE/REF(CLOSE,1)>=1.09;
 STICKLINE(涨停,OPEN,CLOSE,8,0),COLOR00FFFF;
 STICKLINE(涨停,LOW,HIGH,0.5 ,0 ),COLOR00FFFF;
买2:=CROSS(庄线,短庄) OR (REF(短庄,1)=REF(庄线,1) AND 短庄<庄线);
买1:=CROSS(价,工作线) OR (REF(工作线,1)=REF(价,1) AND 工作线<价);
STICKLINE(CLOSE<OPEN AND REF(CLOSE,1)>REF(OPEN,1),REF(CLOSE,1),REF(CLOSE,1),20,0),COLORFFFFFF;
 aa:=HHV(C,5)/LLV(C,5)<1.50 AND COUNT(C>O,5)>=1 AND COUNT(C<O,5)>=1 AND COUNT(L>REF(L,1),5)<=3;
突破盘整:=REF(aa,1) AND C>O AND (C-O)>REF(HHV(ABS(C-O),5),1)*1.3 AND C>REF(HHV(H,5),1);
突破:=突破盘整 AND 价>工作线;
涨:=CLOSE/REF(CLOSE,1)>=1.07;
跨越:=EMA(SMA((C-LLV(L,13))/(HHV(H,13)-LLV(L,13))*100,10,1),3);
特殊会员:=3*SMA((C-LLV(L,13))/(HHV(H,13)-LLV(L,13))*100,13,1)-2*SMA(SMA((C-LLV(L,13))/(HHV(H,13)-LLV(L,13))*100,13,1),5,1);
卖卖:=CROSS(跨越,特殊会员) OR (REF(特殊会员,1)=REF(跨越,1) AND 特殊会员<跨越);
买A:=CROSS(特殊会员,跨越) OR (REF(跨越,1)=REF(特殊会员,1) AND 跨越<特殊会员);
va:=VOL/CAPITAL*1000;
 vaa:=REF(SUM(va,5),1);
 v3:=va AND va>vaa;
 v4:=v3 AND COUNT(v3,50)=1;
 F1:VERTLINE(v4/1000 AND C>=O AND COUNT(L<EMA(C,240),10)>0,1),COLOR0000FF;
 F2:VERTLINE(v4 AND C>O AND COUNT(L<EMA(C,240),10)<=0,1),COLORFF00FF;
 F3:VERTLINE(v4 AND C<O AND COUNT(L<EMA(C,240),10)<=0,1),COLOR00FF00;
笑脸关注:=买1 AND 买方;
笑脸关注2:=买2 AND 买方;
DRAWTEXT(买2 AND 买方,(OPEN * 0.97),’关注’);
DRAWTEXT(买1 AND 买方,(OPEN * 0.955),’关注’);
开始建仓:=动能>0 AND 动能<150 AND 买方 AND 卖卖<1;
拉升待涨:=动能>0 AND 庄线>短庄 AND 价>工作线 AND C>0;
短线出击:=突破 AND 涨;
DRAWTEXT(突破 AND 涨,(OPEN * 1),’出击’);
筹码突破:=买A AND 价>工作线;
DRAWTEXT(买A AND 价>工作线,(OPEN * 1),’突破’);
破顶减仓:=卖卖;
DRAWTEXT(卖卖,(OPEN * 1.003),’减仓’);
走弱出局:=CROSS(神秘线,价) OR (REF(价,1)=REF(神秘线,1) AND 价<神秘线);
DRAWTEXT(走弱出局,(OPEN * 1.03),’出局’);
弱市观望:=价<工作线;
赶底不碰:=价<工作线 AND 价<神秘线;

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