最强选股战法推荐:
通达信红绿上下未加密选股指标公式源码
源码正文:
A:=(CLOSE-ma(CLOSE,13))/MA(CLOSE,13)*20,LINETHICK0,COLORRED{XG51};
B:=(CLOSE-MA(CLOSE,4))/MA(CLOSE,4)*20,LINETHICK0,COLORBLUE{XG51};
红柱:=SMA(A,3,1),LINETHICK0,COLOR0000FF{XG51};
蓝柱:=SMA(B,3,1),COLORstICK,COLORFFFF00{XG51};
STICKLINE(红柱<REF(红柱,1)AND 红柱>0,0,红柱,2,0),COLOR888800{XG51};
STICKLINE(红柱<REF(红柱,1)AND 红柱>0,0,红柱,1.5,0),COLORAAAA00{XG51};
STICKLINE(红柱<REF(红柱,1)AND 红柱>0,0,红柱,0.8,0),COLORDDDD00{XG51};
STICKLINE(红柱<REF(红柱,1)AND 红柱>0,0,红柱,0.3,0),COLORFFFF00{XG51};
STICKLINE(红柱>REF(红柱,1)AND 红柱>0,0,红柱,2,0),COLOR000088{XG51};
STICKLINE(红柱>REF(红柱,1)AND 红柱>0,0,红柱,1.5,0),COLOR0000AA{XG51};
STICKLINE(红柱>REF(红柱,1)AND 红柱>0,0,红柱,0.8,0),COLOR0000DD{XG51};
STICKLINE(红柱>REF(红柱,1)AND 红柱>0,0,红柱,0.3,0),COLOR0000FF{XG51};
STICKLINE(蓝柱<REF(蓝柱,1) AND 蓝柱>0,0,蓝柱,2,0),COLOR008800{XG51};
STICKLINE(蓝柱<REF(蓝柱,1) AND 蓝柱>0,0,蓝柱,1,0),COLOR00AA00{XG51};
STICKLINE(蓝柱<REF(蓝柱,1) AND 蓝柱>0,0,蓝柱,0.8,0),COLOR00DD00{XG51};
STICKLINE(蓝柱<REF(蓝柱,1) AND 蓝柱>0,0,蓝柱,0.3,0),COLOR00FF00{XG51};
STICKLINE(红柱>REF(红柱,1)AND 红柱<0,0,红柱,2,0),COLOR880088{XG51};
STICKLINE(红柱>REF(红柱,1)AND 红柱<0,0,红柱,1.5,0),COLORAA00AA{XG51};
STICKLINE(红柱>REF(红柱,1)AND 红柱<0,0,红柱,0.8,0),COLORDD00DD{XG51};
STICKLINE(红柱>REF(红柱,1)AND 红柱<0,0,红柱,0.3,0),COLORFF00FF{XG51};
STICKLINE(红柱<REF(红柱,1)AND 红柱<0,0,红柱,2,0),COLOR888800{XG51};
STICKLINE(红柱<REF(红柱,1)AND 红柱<0,0,红柱,1.5,0),COLORAAAA00{XG51};
STICKLINE(红柱<REF(红柱,1)AND 红柱<0,0,红柱,0.8,0),COLORDDDD00{XG51};
STICKLINE(红柱<REF(红柱,1)AND 红柱<0,0,红柱,0.3,0),COLORFFFF00{XG51};
STICKLINE(蓝柱>REF(蓝柱,1)AND 蓝柱<0,0,蓝柱,2,0),COLOR009999{XG51};
STICKLINE(蓝柱>REF(蓝柱,1)AND 蓝柱<0,0,蓝柱,1.5,0),COLOR00BBBB{XG51};
STICKLINE(蓝柱>REF(蓝柱,1)AND 蓝柱<0,0,蓝柱,0.8,0),COLOR00DDDD{XG51};
STICKLINE(蓝柱>REF(蓝柱,1)AND 蓝柱<0,0,蓝柱,0.3,0),COLOR00FFFF{XG51};
VAR200:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100{XG51};
VAR300:=SMA(SMA(VAR200,3,1),3,1)/28.57{XG51};
VAR400:=ema(VAR300,5){XG51};
操盘:=3*VAR300-2*VAR400{XG51};
伏:=crOSS(操盘,VAR300) AND VAR300<2.1 AND C>O{XG51};
STICKLINE(伏, 0,10, 2, 0),COLORMAGENTA{XG51};
DRAWTEXT(伏,7.4,'★潜伏主力'),COLORBLUE{XG51};
DRAWICON(伏,10,29){XG51};
DRAWICON(伏,9.3,29){XG51};
DRAWICON(伏,9,29){XG51};
A1:=C/REF(C,1)>=1.097{XG51};
DRAWTEXT(A1 AND 伏,5.4,'★打板'),COLORLIMAGENTA{XG51};
B1:=C/REF(C,1)>=1.05 AND C/REF(C,1)<1.097{XG51};
DRAWTEXT(B1 AND 伏,3.4,'★大阳'),COLORLIMAGENTA{XG51};
X_1:=LLV(MA((LOW+HIGH+3*CLOSE+OPEN)/6,6),89){XG51};
散筹:EMA((LOW+HIGH+3*CLOSE+OPEN)/6*(HHV(HIGH,10)-CLOSE)/(HHV(HIGH,10)-LLV(LOW,10))*20/10+X_1,2),COLORCYAN,LINETHICK3{XG51};
趋势:1.86*EMA(CLOSE,5)-EMA(CLOSE,13),COLORWHITE,LINETHICK5{XG51};
X_2:=MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),1){XG51};
X_3:=IF(MA(CLOSE,17)<X_2,X_2,MA(CLOSE,17)){XG51};
浮筹:X_3-(EMA(CLOSE,3)-X_3),COLORCYAN,LINETHICK3{XG51};
DRAWICON(CROSS(趋势,散筹) AND REF(趋势,1)<REF(散筹,1),散筹+2,13){XG51};
DRAWTEXT(CROSS(趋势,散筹) AND REF(趋势,1)<REF(散筹,1),散筹+3.5,'主'){XG51};
DRAWTEXT(CROSS(趋势,散筹) AND REF(趋势,1)<REF(散筹,1),散筹+1.5,'升'){XG51};
STICKLINE(CROSS(趋势,散筹) AND REF(趋势,1)<REF(散筹,1),散筹+3.5,散筹+5.8,0.8,1),COLORWHITE{XG51};
DRAWTEXT(CROSS(散筹,15) AND REF(散筹,1)<15,浮筹+3.5,'跌'){XG51};
DRAWICON(CROSS(趋势,浮筹) AND REF(趋势,1)<REF(浮筹,1),浮筹+2,30){XG51};
DRAWTEXT(CROSS(趋势,浮筹) AND REF(趋势,1)<REF(浮筹,1),浮筹+3.5,'走'){XG51};
DRAWTEXT(CROSS(趋势,浮筹) AND REF(趋势,1)<REF(浮筹,1),浮筹+1.5,'牛'){XG51};
STICKLINE(CROSS(趋势,浮筹) AND REF(趋势,1)<REF(浮筹,1),散筹+3.5,散筹+5.8,0.8,1),COLORBLUE{XG51};
DRAWTEXT(CROSS(散筹,趋势) AND REF(散筹,1)<REF(趋势,1) AND 趋势<浮筹,散筹-1,'卖'){XG51};
STICKLINE(CROSS(散筹,趋势) AND REF(散筹,1)<REF(趋势,1),散筹+3.5,散筹+5.8,0.8,1),COLORCYAN{X_G+5-1_C_N_{};
通达信原始人毁三观未加密选股指标公式源码
源码正文:
常规条件A:=((EXIst(CLOSE/REF(CLOSE,1)>1.095 AND CLOSE=HIGH,13) OR EXIST(((CLOSE-LLV(CLOSE,5))/LLV(CLOSE,5)*100)>10,13))) AND HHV(HIGH,34)!=HIGH{XG51};
常规条件B:=IF(BARSTATUS=2,vol/FROMOPEN>(REF(VOL,1)+REF(VOL,2))/480,VOL>(REF(VOL,1)+REF(VOL,2))/2){XG51};
DD:=BArslAST(DOPEN=REF(DOPEN,1) AND DHIGH=REF(DHIGH,1) AND DLOW=REF(DLOW,1) AND DCLOSE=REF(DCLOSE,1)){XG51};
DDT1:=BARSLAST(DD=1){XG51};
现波段重心:SUM(AMOUNT,DDT1+1)/SUM(VOL,DDT1+1)/100,NODRAW{XG51};
前波段重心:REF(现波段重心,DDT1+1),NODRAW{XG51};
前2波段重心:REF(前波段重心,DDT1+1),NODRAW{XG51};
前3波:=REF(前2波段重心,DDT1+1){XG51};
前4波:=REF(前3波,DDT1+1){XG51};
前5波:=REF(前4波,DDT1+1){XG51};
前6波:=REF(前5波,DDT1+1){XG51};
前7波:=REF(前6波,DDT1+1){XG51};
波段maX:=MAX(前波段重心,MAX(前2波段重心,MAX(前3波,MAX(前4波,MAX(前5波,MAX(前6波,前7波)))))){XG51};
BB1:=波段MAX=前波段重心{XG51};
BB2:=波段MAX=前2波段重心{XG51};
BB3:=波段MAX=前3波{XG51};
BB4:=波段MAX=前4波{XG51};
BB5:=波段MAX=前5波{XG51};
BB6:=波段MAX=前6波{XG51};
BB7:=波段MAX=前7波{XG51};
AA1:=IF(BB1=1,0,前波段重心){XG51};
AA2:=IF(BB2=1,0,前2波段重心){XG51};
AA3:=IF(BB3=1,0,前3波){XG51};
AA4:=IF(BB4=1,0,前4波){XG51};
AA5:=IF(BB5=1,0,前5波){XG51};
AA6:=IF(BB6=1,0,前6波){XG51};
AA7:=IF(BB7=1,0,前7波){XG51};
波段MAX2:=MAX(AA1,MAX(AA2,MAX(AA3,MAX(AA4,MAX(AA5,MAX(AA6,AA7)))))){XG51};
波段MIN:=MIN(前波段重心,MIN(前2波段重心,MIN(前3波,前4波))){XG51};
波段趋势:=(((前波段重心>前2波段重心)+(前2波段重心>前3波)+(前3波>前4波))>=2 AND DLOW>波段MIN) OR DHIGH>波段MAX2{XG51};
快速k线:=HIGH>波段MAX2{XG51};
D条件A:=CLOSE>OPEN AND DCLOSE>DOPEN AND 波段趋势=1 AND 快速K线 AND (EXIST(DCLOSE<DOPEN,4) OR EXIST(CLOSE<OPEN,4)) AND 常规条件A AND 常规条件B{XG51};
D条件B:=(DCLOSE-REF(CLOSE,4))/REF(CLOSE,4)*100{XG51};
预警X: D条件A OR crOSS(D条件B,20),COLORBLUE,NODRAW{XG51};
DRAWKLINE(DHIGH,DOPEN,DLOW,DCLOSE){XG51};
STICKLINE(波段趋势=1,前波段重心,前波段重心,10,0),COLORBLUE{XG51};
DRAWTEXT(D条件A OR CROSS(D条件B,20),DLOW*0.97,'↖买入 '),COLORBLUE{X_G.5_1_C_N_{};
重要申明:本站所有的文章、图片、评论等,均由网友发表或上传并维护或收集自网络,属个人行为,与本站立场无关。
如果侵犯了您的权利,请与我们联系,我们将在24小时内进行处理、任何非本站因素导致的法律后果,本站均不负任何责任。
选股无忧网是股票软件指标公式分享平台,不开展相关证券业务,平台展示的所有股票资料由网络收集,不保障实时性和真实性,请勿以此为依据进行股票交易。
联系QQ:875328188 | 邮箱:875328188@qq.com
Copyright © 2002-2021 选股无忧网桂ICP备18001383号-7