最强选股战法推荐:
通达信还不错的箱体主图选股指标公式源码
源码正文:
ma1:MA(CLOSE,20),COLORBLUE,LINETHICK2{XG51};
MA2:IF(MA1>=REF(MA1,1),MA1,DRAWNULL),COLORBLUE,LINETHICK2{XG51};
MA3:IF(REF(MA1,1)>MA1,MA1,DRAWNULL),COLORYELLOW,LINETHICK2{XG51};
选手:=MA(C,2){XG51};
箱顶:MA(REF(HHV(C,30),1),2),LINETHICK2,COLORFFFFE5{XG51};
箱底:MA(REF(LLV(C,30),1),2),LINETHICK2,COLORCYAN{XG51};
T4:=crOSS(选手,箱底) AND 箱顶/箱底>110/100{XG51};
T5:=CROSS(箱顶,选手) AND 箱顶/箱底>110/100{XG51};
VAR1X:=(C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100{XG51};
VAR2X:=SMA(VAR1X,3,1){XG51};
VAR3X:=SMA(VAR2X,3,1){XG51};
VAR4X:=SMA(VAR3X,3,1){XG51};
DRAWTEXT(CROSS(VAR4X,VAR3X) AND VAR4X>75,H*1.03,'减仓'),COLORBLUE{XG51};
空:=ema(C,5){XG51};
均衡:=EMA(空,5),COLORRED{XG51};
中轨:=HHV(MA(H,13),13),COLORWHITE,LINETHICK2{XG51};
趋势:=LLV(MA(H,13),1),COLORBLUE,LINETHICK2{XG51};
VARA:=(CLOSE-REF(OPEN,29))/REF(OPEN,29)*100;
VARB:=EMA(0.667*REF(VARA,1)+0.333*VARA,5){XG51};
VARC:=SMA(MAX(CLOSE-REF(C,1),0),6,1)/SMA(Abs(CLOSE-REF(C,1)),6,1)*100{XG51};
VAR1:=(HIGH+LOW+OPEN+2*CLOSE)/5{XG51};
VAR2:=REF(VAR1,1){XG51};
VAR3:=SMA(MAX(VAR1-VAR2,0),10,1)/SMA(ABS(VAR1-VAR2),10,1)*100{XG51};
VAR4:=FILTER(IF(COUNT(VAR3<20,5)>=1 AND COUNT(VAR1=LLV(VAR1,10),10)>=1 AND CLOSE>=OPEN*1.038 AND vol>MA(VOL,5)*1.2,1,0),5){XG51};
VAR5:=FILTER(均衡>REF(均衡,1)AND 中轨<REF(中轨,1)AND C>REF(C,1),11){XG51};
A2:=(100 * (CLOSE - (MA(CLOSE,30)))) / (MA(CLOSE,30)){XG51};
A3:=100 - ((90 * ((HHV(HIGH,20)) - CLOSE)) / ((HHV(HIGH,20)) - (LLV(LOW,20)))){XG51};
A4:=100 - (MA(((100 * ((HHV(HIGH,6)) - CLOSE)) / ((HHV(HIGH,6)) - (LLV(LOW,6)))),28)){XG51};
A5:=MA(A4,6){XG51};
红持股:=IF((A3 < A5),A5,A3),COLORWHITE{XG51};
DRAWTEXT(红持股 AND VAR5,L*0.95,'追击'),COLOR00FF00{XG51};
DRAWICON(红持股 AND VAR5,L*0.98,26){XG51};
VAR6:=REF(CLOSE,1);
VAR7:=SMA(MAX(CLOSE-VAR6,0),6,1)/SMA(ABS(CLOSE-VAR6),6,1)*100;
DRAWTEXT(CROSS(84,VAR7),H*1.04,'逃顶'),COLORBLUE {XG51};
DRAWICON(CROSS(84,VAR7),H*1.02,9){XG51};
VA3:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100{XG51};
VA4:=SMA(VA3,9,1){XG51};
VA5:=SMA(VA4,9,1){XG51};
VA6:=(CLOSE-SMA(CLOSE,13,1))/SMA(CLOSE,13,1)*(-100){XG51};
VA7:=REF(VA6,1)>13 AND REF(VA6,1)/VA6>1.23 AND CLOSE/REF(CLOSE,1)>1.03{XG51};
感恩庄家:= VA7 AND REF(CLOSE,1)<=COst(5) {XG51};
DRAWTEXT(感恩庄家,L*0.96,'杀底'),COLORFFFFFF {XG51};
买线:=EMA(C,2){XG51};
卖线:=EMA(SLOPE(C,21)*20+C,42);
BU:=CROSS(买线,卖线){XG51};
SEL:=CROSS(卖线,买线){XG51};
STICKLINE(买线>=卖线,LOW,HIGH,0.0,1),COLORWHITE{XG51};
STICKLINE(买线>=卖线,CLOSE,OPEN,2,1),COLORWHITE{XG51};
STICKLINE(买线<卖线,LOW,HIGH,0.0,1),COLORCYAN{XG51};
STICKLINE(买线<卖线,CLOSE,OPEN,2,1),COLORCYAN{XG51};
小股民:=EMA(CLOSE,5),COLORRED{XG51};
操盘:=MA(CLOSE,9),COLORGREEN,LINETHICK2{XG51};
界点:=MA(CLOSE,20),COLORLIMAGENTA{X*G!5~1*C*N*{};
重要申明:本站所有的文章、图片、评论等,均由网友发表或上传并维护或收集自网络,属个人行为,与本站立场无关。
如果侵犯了您的权利,请与我们联系,我们将在24小时内进行处理、任何非本站因素导致的法律后果,本站均不负任何责任。
选股无忧网是股票软件指标公式分享平台,不开展相关证券业务,平台展示的所有股票资料由网络收集,不保障实时性和真实性,请勿以此为依据进行股票交易。
联系QQ:875328188 | 邮箱:875328188@qq.com
Copyright © 2002-2021 选股无忧网桂ICP备18001383号-7