最强选股战法推荐:
源码正文:
N:=12{XG51};
M:=9{XG51};
DI:(ema(CLOSE,12)-Ema(CLOSE,26))*5,COLORRED,LINETHICK3{XG51};
DE:(EMA(DI,9))*1,COLORCYAN,LINETHICK2{XG51};
DRAWBAND(DI,RGB(0,40,0),DE,RGB(0,220,0)){XG51};
VAR11:=(2*CLOSE+HIGH+LOW)/4{XG51};
VAR2:=EMA(EMA(EMA(VAR11,4),4),4){XG51};
J:= ((VAR2-REF(VAR2,1))/REF(VAR2,1)*100)*1.5{XG51};
D:= (MA(J,3)){XG51};
K: (MA(J,1)){XG51};
DRAWTEXT(crOSS(K,D),D,'B'),COLORWHITE{XG51};
DRAWTEXT(CROSS(D,K),D*1.08,'S'),COLORCYAN{XG51};
额:AMOUNT/10000000,NODRAW{XG51};
VAR1:=AMOUNT/((HIGH-LOW)*2-Abs(CLOSE-OPEN)){XG51};
流入亿:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),AMOUNT/2))/100000000,COLORWHITE,NODRAW{XG51};
流出亿:IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN- LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-AMOUNT/2))/100000000,COLOR00FF00,NODRAW{XG51};
差:(流入亿+流出亿),NODRAW{XG51};
强:=EMA((CLOSE-REF(CLOSE,1))/CLOSE*10,2){XG51};
主力:=EMA(差,1),COLORFF00FF,LINETHICK5{XG51};
差A:3*EMA(EMA(EMA(EMA(强,2),2),2),2),NODRAW{XG51};
净流:5*EMA(EMA(EMA(EMA(差A,1),2),2),2), COLORWHITE,NODRAW{XG51};
stICKLINE(净流<0,0,净流,0.15,0),COLORFF6600{XG51};
STICKLINE(净流>0,0,净流,0.1,0),COLORWHITE{XG51};
STICKLINE(净流<REF(净流,1)AND 净流>0,0,净流,0.15,0),COLORLIBLUE {XG51};
STICKLINE(净流>REF(净流,1)AND 净流<0,0,净流,0.2,0),COLORBLUE {XG51};
DRAWTEXT(CROSS(0,净流),0+1,'水'),COLORCYAN{XG51};
DRAWTEXT(CROSS(REF(净流,1),净流),净流-0.7,'观'),COLORGREEN{XG51};
DRAWTEXT(CROSS(净流,0),0.7,'预 '),COLORWHITE{XG51};
DRAWICON(CROSS(DI,DE) AND DI>0,DI*1.04,23){XG51};
STICKLINE(ABS(DI-DE)/ABS(REF(DI,1)-REF(DE,1))>1.5 AND ABS(REF(DI,1)-REF(DE,1))
<ABS(REF(DI,2)-REF(DE,2))AND DI>DE AND DI>0.40 AND C/REF(C,1)>1.02,-1.2,-1.9,4,0),COLORBLUE{XG51};
STICKLINE(ABS(DI-DE)/ABS(REF(DI,1)-REF(DE,1))>1.9 AND ABS(REF(DI,1)-REF(DE,1))
>ABS(REF(DI,2)-REF(DE,2))AND DI>DE AND DI>0.40 AND C/REF(C,1)>1.04,-1,-1.9,2,0),COLORLIMAGENTA {XG51};
STICKLINE(ABS(DI-DE)/ABS(REF(DI,1)-REF(DE,1))>1.7 AND ABS(REF(DI,1)-REF(DE,1))
>ABS(REF(DI,2)-REF(DE,2))AND DI>DE AND DI>0.40 AND C/REF(C,1)>1.04,-0.5,-1.15,2,0),COLORRED{XG51};
STICKLINE(ABS(DI-DE)/ABS(REF(DI,1)-REF(DE,1))>1.4 AND ABS(REF(DI,1)-REF(DE,1))
>ABS(REF(DI,2)-REF(DE,2))AND DI>DE AND DI>0.40 AND C/REF(C,1)>1.04,-1.19,-2.0,2,0),COLORLIBLUE {XG51};
X4:=REF(K,10)=HHV(K,21){XG51};
X5:=FILTER(X4,10){XG51};
X6:=BacKSET(X5,21){XG51};
X7:=FILTER(X6,10){XG51};
T线:=REF(K,BArslAST(X7)),NODRAW,COLORLIMAGENTA{XG51};
STICKLINE(CLOSE>0,T线,T线,6,0),COLORFF6600{XG51};
DRAWICON(CROSS(K,T线) AND K>0,T线*0.99,34){X.G-5_1.C.N.{};
源码正文:
均线25:ma(CLOSE,25){XG51};
均线43:MA(CLOSE,43){XG51};
均线50:MA(CLOSE,50),COLOR0000FF{XG51};
均线88:MA(CLOSE,88){XG51};
N8:=stRCAT(CON2STR(YEAR,0),'年');
Y8:=STRCAT(CON2STR(MONTH,0),'月');
R8:=STRCAT(CON2STR(DAY,0),'日');
N:=120{XG51};
K:=BArslAST(CURRBARSCOUNT=N){XG51};
GD:=CONST(IF(ISLASTBAR=1,HHV(H,K),0)){XG51};
DD:=CONST(IF(ISLASTBAR=1,LLV(L,K),0)){XG51};
KJ:=GD-DD{XG51};
GD4:IF(CURRBARSCOUNT<=N/30,GD,DRAWNULL){XG51};
低:IF(CURRBARSCOUNT<=N/30,DD,DRAWNULL),COLORFFFF00{XG51};
高:IF(CURRBARSCOUNT<=N/30,GD,DRAWNULL),COLOR00FFFF{XG51};
支撑:IF(CURRBARSCOUNT<=N/30,DD+KJ*0.191,DRAWNULL),COLOR00FFFF{XG51};
强势: IF(CURRBARSCOUNT<=N/30,DD+KJ*0.382,DRAWNULL),COLORFF00FF{XG51};
突破:IF(CURRBARSCOUNT<=N/30,DD+KJ/2,DRAWNULL),COLOR0000FF{XG51};
警示:IF(CURRBARSCOUNT<=N/30,DD+KJ*0.618,DRAWNULL),COLOR00FFFF{XG51};
压力:IF(CURRBARSCOUNT<=N/30,DD+KJ*0.809,DRAWNULL),COLOR00FF00{XG51};
低涨:IF(CURRBARSCOUNT<=N/30,(C/LLV(LOW,K)-1)*100,DRAWNULL),COLOR0000FF,NODRAW{XG51};
天数:BARSLAST(L=DD),COLORGREEN,NODRAW{XG51};
今日保护价:(REF(C,2)+REF(C,1)+O)/3 ,COLORCC3299,NODRAW{XG51};
顶点:IF(CURRBARSCOUNT<=60, CONST(IF(ISLASTBAR=1,HHV(H, BARSLAST(CURRBARSCOUNT=60)),1)),DRAWNULL),COLOREAEAAE,DOTLINE{XG51};
低点:IF(CURRBARSCOUNT<=60, CONST(IF(ISLASTBAR=1,LLV(L, BARSLAST(CURRBARSCOUNT=60)),1)),DRAWNULL),COLOREAEAAE,DOTLINE{XG51};
STICKLINE(cci>=200 AND H>=顶点,O,C,3,0),COLORYELLOW{XG51};
STICKLINE(CCI<=100 AND L<=低点,O,C,3,0),COLORBLUE{XG51};
DRAWBAND(高,RGB(200,200,0),压力,RGB(0,0,0)){XG51};
DRAWBAND(压力,RGB(0,190,0),警示,RGB(0,0,0)){XG51};
DRAWBAND(警示,RGB(220,120,0),突破,RGB(0,0,0)){XG51};
DRAWBAND(突破,RGB(120,0,120),强势,RGB(0,0,0)){XG51};
DRAWBAND(强势,RGB(120, 0,0),支撑,RGB(0,0,0)){XG51};
DRAWBAND(支撑,RGB(80,80,80),低,RGB(0,0,0)){XG51};
STICKLINE(CURRBARSCOUNT=N/30,GD,DD,0,0),COLORCYAN{XG51};
STICKLINE(CURRBARSCOUNT=1,GD,DD,0,0),COLORCYAN{XG51};
STICKLINE(CURRBARSCOUNT<=N/30,支撑,支撑,4,0),COLORFF00FF{XG51};
STICKLINE(CURRBARSCOUNT<=N/30,强势,强势,4,0),COLORFF00FF{XG51};
STICKLINE(CURRBARSCOUNT<=N/30,突破,突破,4,0),COLORABABAB{XG51};
STICKLINE(CURRBARSCOUNT<=N/30,警示,警示,4,0),COLOR00FFFF{XG51};
STICKLINE(CURRBARSCOUNT<=N/30,压力,压力,4,0),COLOR00FFFF{XG51};
DRAWTEXT(CURRBARSCOUNT=1,压力,'0.809'),COLOR00FFFF{XG51};
DRAWTEXT(CURRBARSCOUNT=1,警示,'0.618'),COLOR00FFFF{XG51};
DRAWTEXT(CURRBARSCOUNT=1,突破,'0.500'),COLORFFFFFF{XG51};
DRAWTEXT(CURRBARSCOUNT=1,强势,'0.382'),COLOR00FFFF{XG51};
DRAWTEXT(CURRBARSCOUNT=1,支撑,'0.191'),COLOR00FFFF{XG51};
DA:(3*CLOSE+OPEN+LOW+HIGH)/6,POINTDOT{XG51};
DB:(20*DA+19*REF(DA,1)+18*REF(DA,2)+17*REF(DA,3)+16*REF(DA,4)+
15*REF(DA,5)+14*REF(DA,6)+13*REF(DA,7)+12*REF(DA,8)+11*REF(DA,9)+
10*REF(DA,10)+9*REF(DA,11)+8*REF(DA,12)+7*REF(DA,13)+6*REF(DA,14)+
5*REF(DA,15)+4*REF(DA,16)+3*REF(DA,17)+2*REF(DA,18)+
REF(DA,20))/210,COLORWHITE{XG51};
DC:MA(DB,5),COLORF0F000,LINETHICK1{XG51};
DRAWBAND(DB,RGB(155,50,50),DC,RGB(83,123,68)){XG51};
STICKLINE(CLOSE> REF(CLOSE,1) ,HIGH,LOW,0,0 ),COLORWHITE{XG51};
STICKLINE(C<O AND C>REF(C,1),C,O,3,0),COLORFFCC00{XG51};
STICKLINE(CLOSE> REF(CLOSE,1) AND C>O ,OPEN,CLOSE,3,0 ),COLOR000055;{XG51};
STICKLINE(CLOSE> REF(CLOSE,1) AND C>O ,OPEN,CLOSE,2.7,0 ),COLOR000077;{XG51};
STICKLINE(CLOSE> REF(CLOSE,1) AND C>O ,OPEN,CLOSE,2.1,0 ),COLOR000099{XG51};
STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,1.5,0 ),COLOR0000BB{XG51};
STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,0.9,0 ),COLOR0000DD{XG51};
STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,0.3,0 ),COLOR0000FF{XG51};
STICKLINE(CLOSE= REF(CLOSE,1) ,H,L,3,1 ),COLOR999999{XG51};
STICKLINE(CLOSE= REF(CLOSE,1) ,HIGH,LOW,0,0 ),COLORRED{XG51};
STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,3,0 ),COLOR555555{XG51};
STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,2.7,0 ),COLOR777777{XG51};
STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,2.1,0 ),COLOR999999{XG51};
STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,1.5,0 ),COLORBBBBBB{XG51};
STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,0.9,0 ),COLORDDDDDD{XG51};
STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,0.3,0 ),COLORFFFFFF{XG51};
STICKLINE(CLOSE< REF(CLOSE,1) ,HIGH,LOW,0,1 ),COLORGREEN{XG51};
STICKLINE(C<REF(C,1) AND C>O,C,O,3,0),COLORFFCC00{XG51};
STICKLINE(C<REF(C,1) AND C<O ,OPEN,CLOSE,3,0 ),COLOR990000{XG51};
STICKLINE(C<REF(C,1) AND C<O ,OPEN,CLOSE,2.7,0 ),COLORCC0000{XG51};
STICKLINE(CLOSE< REF(C,1) ,OPEN,CLOSE,2.1,0 ),COLORFF4400{XG51};
地量:=FILTER(LLV(AMOUNT,120)=AMOUNT,10){XG51};
STICKLINE(地量,CLOSE,OPEN,4,0),COLORCYAN{XG51};
DRAWKLINE(HIGH,OPEN,LOW,CLOSE){XG51};
DRAWTEXT(地量,LOW,' ↖地量'),COLORCYAN{XG51};
{XG51};
STICKLINE(ISLASTBAR,C,C,3333,-1),COLORRED{XG51};
买入价格:IF(crOSS((macd.dif),(MacD.DEA)),C,DRAWNULL),NODRAW{XG51};
AAA:=STICKLINE(买入价格,0,C,2,0),COLORWHITE{XG51};
AAC:=BARSLAST(AAA){XG51};
止盈价格:IF(C>=REF(C,AAC)*1.1,REF(C,AAC)*1.1,DRAWNULL),COLORLIMAGENTA,NODRAW{XG51};
止损价格:IF(C<=REF(C,AAC)*0.95,REF(C,AAC)*0.95,DRAWNULL),COLORCYAN,NODRAW{XG51};
A:=SUMBARS(V ,CAPITAL*1){XG51};
A1:=SUM(COST(10),A)/A{XG51};
A2:=SUM(COST(20),A)/A{XG51};
A3:=SUM(COST(30),A)/A{XG51};
A4:=SUM(COST(40),A)/A{XG51};
A5:=SUM(COST(50),A)/A{XG51};
庄家成本:(5*A1+4*A2+3*A3+2*A4+A5)/15,DOTLINE,COLORRED{XG51};
IF(庄家成本>REF(庄家成本,1),庄家成本,DRAWNULL),COLORFF00FF,LINETHICK2{XG51};
STICKLINE(C>O,C,O,3.2,0),COLOR000066{XG51};
STICKLINE(C>O,C,O,2.0,0),COLOR000077{XG51};
STICKLINE(C>O,C,O,1.5,0),COLOR000099{XG51};
STICKLINE(C>O,C,O,0.9,0),COLOR0000CC{XG51};
STICKLINE(C>O,C,O,0.5,0),COLOR0000FF{XG51};
STICKLINE(C>0,O,C,0,0),COLORFFFFFF{XG51};
STICKLINE(C<O,L,H,0,0),COLOR009900{XG51};
STICKLINE(C<O,C,O,3.2,0),COLOR009900{XG51};
STICKLINE(C<O,C,O,2.5,0),COLOR00BB00{XG51};
STICKLINE(C<O,C,O,1.5,0),COLOR00DD00{XG51};
STICKLINE(C<O,C,O,0.5,0),COLOR00FF00{XG51};
STICKLINE(C<O,C,O,0,0),COLORFFFFFF{XG51};
阳涨幅:=3.5{XG51};
阳倍量:=1.9{XG51};
单阳收:=C{XG51};
单阳开:=O{XG51};
单阳:=单阳收>=REF(C,1)*(1+阳涨幅/100)AND vol>REF(VOL,1)*阳倍量{XG51};
DRAWTEXT(CURRBARSCOUNT<100 AND 单阳,L*0.98,'阳'),COLOR00FFFF{XG51};
高不破价:=REF(C,BARSLAST(单阳)){XG51};
低不破价:=REF(L,BARSLAST(单阳)){XG51};
单阳不破:=CURRBARSCOUNT<100 AND BARSLAST(单阳)<11 AND (LLV(L,BARSLAST(单阳))>低不破价 OR LLV(L,BARSLAST(单阳))=低不破价){XG51};
STICKLINE(单阳不破,低不破价-低不破价*0.0005,低不破价,4,0),COLORCYAN{XG51};
STICKLINE(单阳不破,高不破价,高不破价,4,0),COLORWHITE{XG51};
STICKLINE(单阳,单阳开,单阳收,2,0),COLORBLUE{XG51};
DRAWTEXT(BARSLAST(单阳)=1 AND 单阳不破,低不破价*0.98,'1'),COLORCYAN{XG51};
DRAWTEXT(BARSLAST(单阳)=2 AND 单阳不破,低不破价*0.98,'2'),COLORCYAN{XG51};
DRAWTEXT(BARSLAST(单阳)=3 AND 单阳不破,低不破价*0.98,'3'),COLORCYAN{XG51};
DRAWTEXT(BARSLAST(单阳)=4 AND 单阳不破,低不破价*0.98,'4'),COLORCYAN{XG51};
DRAWTEXT(BARSLAST(单阳)=5 AND 单阳不破,低不破价*0.98,'5'),COLORCYAN{XG51};
DRAWTEXT(BARSLAST(单阳)=6 AND 单阳不破,低不破价*0.98,'6'),COLORCYAN{XG51};
DRAWTEXT(BARSLAST(单阳)=7 AND 单阳不破,低不破价*0.98,'7'),COLORCYAN{XG51};
DRAWTEXT(BARSLAST(单阳)=8 AND 单阳不破,低不破价*0.98,'8'),COLORCYAN{XG51};
DRAWTEXT(BARSLAST(单阳)=9 AND 单阳不破,低不破价*0.98,'9'),COLORCYAN{XG51};
DRAWTEXT(BARSLAST(单阳)=10 AND 单阳不破,低不破价*0.98,'10'),COLORCYAN{XG51};
PP1:=H>=MA(C,5)*(100+8)/100 AND NOT(C/REF(C,1)>1.095){XG51};
DRAWICON(PP1,H*1.02,15){XG51};
MA2:=MA(C,2){XG51};
布林上轨:=MA(CLOSE,20)+2*STD(CLOSE,20){XG51};
XG1:=CROSS(MA2,布林上轨){XG51};
XG2:=L<=MA(C,26) AND C>=MA(C,26){XG51};
XG0:=COUNT(XG1,30)=1 AND XG2 AND FILTER(XG2,10){XG51};
DRAWTEXT(XG0,L*0.98,'↖回踩买'),COLORBLUE{X+G-5+1+C+N+{};
重要申明:本站所有的文章、图片、评论等,均由网友发表或上传并维护或收集自网络,属个人行为,与本站立场无关。
如果侵犯了您的权利,请与我们联系,我们将在24小时内进行处理、任何非本站因素导致的法律后果,本站均不负任何责任。
选股无忧网是股票软件指标公式分享平台,不开展相关证券业务,平台展示的所有股票资料由网络收集,不保障实时性和真实性,请勿以此为依据进行股票交易。
联系QQ:875328188 | 邮箱:875328188@qq.com
Copyright © 2002-2021 选股无忧网桂ICP备18001383号-7