炒股玩杠杆 20240803 通达信“三线捉龙头”主图指标选股公式--突破翻倍
发布日期:2024-08-30 08:49 点击次数:171属龙的人时来运转,8月,富人和富人,财富下降,贵族帮助,收入增加一倍,变得富裕。龙在五月会有好运,他们将能够获得贵族的指导,这样他们就能解决他们以前遇到的困难,他们会很顺利。因此,龙族人民四月聚集在财富中,这笔钱不会白白浪费。而且他们的祝福将越来越深,所以属于龙的人将是4月18日之后鱼翻身并发财的好时机。大奖中头奖,闷声发大财,越来越好,一整年都会有好运傍身,运势转衰为旺,生活幸福无疆,另一方面,属鼠人他们天生适合做生意,能取得不菲成就,未来一帆风顺,大发横财,如日中天。
欧欧 欧欧量化
2024年08月03日 08:00 江西
图片炒股玩杠杆
图片
一、指标说明:
1.红绿为股价强弱转换线,与黄线形成箱体整理区;2.黄色线为买股线,股价站上黄线拉升在即,有涨停最好;3.股价在白线上持股不动,破白线减仓或清仓离场;二、主图公式如下:
买股线:EMA(COST(99),181),COLORYELLOW,LINETHICK2;
MA5:MA(C,5),LINETHICK1,COLORWHITE;
MA54:=MA(CLOSE,54);
MA10:=MA(CLOSE,10);
STICKLINE(C/REF(C,1)>=1.096 AND H=C,O,C,2,0),COLORYELLOW;
游资8:=(REF(CLOSE,3)-CLOSE)/REF(CLOSE,3)*100>5;
游资9:=FILTER(游资8,10);
游资10:=BARSLAST(游资9);
游资11:=REF(HIGH,游资10+2);
游资12:=REF(HIGH,游资10+1);
游资13:=REF(HIGH,游资10);
游资14:=MAX(游资11,游资12);
游资15:=MAX(游资14,游资13);
游资16:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>5;
游资17:=游资10<150;
游资18:=(OPEN-游资15)/游资15*100<30;
游资19:=(CLOSE-LLV(LOW,游资10))/LLV(LOW,游资10)*100<50;
游资20:=(CLOSE-REF(OPEN,5))/REF(OPEN,5)*100<30;
游资21:=VOL/MA(VOL,5)<3.5;
游资22:=(CLOSE-REF(CLOSE,89))/REF(CLOSE,89)*100<80;
游资25:=游资16 AND 游资17 AND 游资18 AND 游资19 AND 游资20 AND 游资21 AND 游资22;
暴利:=FILTER(游资25,15);
PL1:=(((CLOSE-MA54) /MA54)<0.1);
PL2:=(((CLOSE-MA10)/MA10)<0.3);
偏离率:=(((PL1=1) AND (PL2=1))*0.2);
平台突破:=((((偏离率=0) AND (REF (偏离率,1)=0.2)) AND (REF((COUNT((偏离率=0.2),10)=10),1)=1))*-0.1);
妖股突破:=平台突破=-0.1;
XDF:=(暴利 OR 妖股突破);
UARA:=DMA(AMOUNT/VOL/100,VOL /CAPITAL);
UARAA:=DYNAINFO(7)/(REF(CLOSE,1))>1.05 AND (DYNAINFO(7)/0>1.05);
FLIGA:=(VOL/REF(VOL,1)>1.2 AND COUNT (CLOSE>OPEN,1)) OR (LOW>REF (HIGH,1) AND COUNT (OPEN>CLOSE,1) AND VOL /REF(VOL,1)>1.2);
妖股:=XDF AND C/REF(C,1)>1.095 AND FLIGA AND UARAA,NODRAW;
DRAWICON(妖股,LOW*0.995,7);
DRAWTEXT(妖股,LOW*0.975,'妖股') ,COLORYELLOW;
AA:=((CLOSE/REF(CLOSE,1))>=1.099);
CB:=(VOL /REF(VOL,1));
关注:IF((((CLOSE/REF(CLOSE,1))>-1.07) AND (CB<1)),1,0) ,LINETHICKO , NODRAW;
龙头第一买点:=IF((AA AND (CB<1)),1,0);
龙头第二买点:=IF((((CLOSE/REF (CLOSE,1))>=1.07)AND (CB<1)),1,0);
DRAWTEXT((龙头第二买点=1),(REF(LOW,1)*1.1),'↖龙头'),COLOR00FFFF;
DRAWTEXT_FIX(C>O,0.01,0.9,0,'微信公众号:欧欧量化'),COLOR0000FF;
ZT:=C>REF(C,1)*1.094 AND C=H;
A1:=EVERY(ZT,1) ;
A2:= REF(O,1)>REF(C,1) AND C>O AND C<REF(O,1) AND EXIST(A1,3);
DRAWSL(A2,H,0,5,0),COLORWHITE LINETHICK2;
DRAWNUMBER(A2=1,H,H);
主力1:=150;
主力2:=3;
主力3:=REF(HHV(HIGH,主力1),主力2);
主力4:=REF(LLV(LOW,主力1),主力2);
主力5:=主力3-(主力3-主力4)*0.618;
主力6:=REFDATE(主力5,DATE);
横盘天数:=BARSLASTCOUNT(CLOSE<主力6),COLORGREEN;
主力7:=CROSS(CLOSE,主力6);
主力8:=横盘天数>100;
主力9:=REF(主力8,1);
主力10:=主力9 AND 主力7;
X11:=BARSLAST(主力10>0);
X12:REF(H,X11)COLORWHITE,LINETHICK1,DOTLINE;
A88:=VOL*CLOSE;
B88:=SUM(A88,1)/SUM(VOL,1);
B188:=EMA(B88,17);
数值8:=(B88-B188)*1500/B88;
越强势区黄线8:=数值8>=300;
首越黄线:BARSLASTCOUNT(越强势区黄线8)=1;
DRAWTEXT(首越黄线,L*0.92,'牛'),COLORMAGENTA;
DRAWTEXT(ISLASTBAR,X12,'强区')COLORYELLOW;
M170:MA(C,170);
上升:IF(M170>=REF(M170,1),M170,DRAWNULL),LINETHICK2 COLORRED;
下降:IF(M170<REF(M170,1),M170,DRAWNULL),LINETHICK2,COLORGREEN;
XA1:=IF(DATE<99999999,1,DRAWNULL);
MXD:=IF((DATETODAY(DATE))<99999999,1,DRAWNULL);
量化1:=IF(L=LLV(L,9),L,0)*MXD;
量化2:=CONST(BARSLAST(量化1!=0))*MXD;
量化3:=CONST(IF(量化2=0,H,REF(H,量化2)))*MXD;
量化4:=CONST(REF(BARSLAST(H>量化3),量化2+1)+量化2+1)*MXD;
量化5:=CONST(IF(量化4=0,H,REF(H,量化4)))*MXD;
量化6:=CONST(REF(BARSLAST(H>量化5),量化4+1)+量化4+1)*MXD;
量化7:IF(CURRBARSCOUNT<=量化2+10,CONST(IF(量化6=0,H,REF(H,量化6))),DRAWNULL)*MXD,COLORYELLOW,DOTLINE;
DRAWTEXT(ISLASTBAR,量化7,'进场')*XA1,COLORYELLOW;
SZ1:=100*('399107$C'-REF('399107$C',1))/REF('399107$C',1);
SZ2:=100*('399107$C'-REF('399107$C',2))/REF('399107$C',2);
SZ3:=100*('399107$C'-REF('399107$C',3))/REF('399107$C',3);
ZF1:=100*(C-REF(C,1))/REF(C,1);
ZF2:=100*(C-REF(C,2))/REF(C,2);
ZF3:=100*(C-REF(C,3))/REF(C,3);
三天:=ZF3-SZ3;
二天:=ZF2-SZ2;
一天:=ZF1-SZ1;
不能超3:=C+(20-三天)*REF(C,1)/100;
不能超2:=C+(20-二天)*REF(C,1)/100;
不能超1:=C+(20-一天)*REF(C,1)/100;
DRAWTEXT_FIX(CODELIKE('00'),0.85,0.85,0,STRCAT('3天偏离值:',CON2STR(三天,2)));
DRAWTEXT_FIX(CODELIKE('00'),0.95,0.85,0,STRCAT(' ',CON2STR(不能超3,2)));
DRAWTEXT_FIX(CODELIKE('00'),0.85,0.90,0,STRCAT('2天偏离值:',CON2STR(二天,2)));
DRAWTEXT_FIX(CODELIKE('00'),0.95,0.90,0,STRCAT(' ',CON2STR(不能超2,2)));
DRAWTEXT_FIX(CODELIKE('00'),0.85,0.95,0,STRCAT('1天偏离值:',CON2STR(一天,2)));
DRAWTEXT_FIX(CODELIKE('00'),0.95,0.95,0,STRCAT(' ',CON2STR(不能超1,2)));
{板块概念}
Z1:=STRCAT(HYBLOCK,' ');
Z2:=STRCAT(Z1,DYBLOCK);
Z3:=STRCAT(Z2,' ');
DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(Z3,GNBLOCK)),COLOR00C0C0;
自由流通市值:=STRCAT(STRCAT('自由流通市值:', CON2STR(C*FINANCE(46)/100000000,2)),'亿');
DRAWTEXT_FIX(O>0,0,0.09,0,自由流通市值);
三、首越黄线选股公式:
主力1:=150;
主力2:=3;主力3:=REF(HHV(HIGH,主力1),主力2);主力4:=REF(LLV(LOW,主力1),主力2);主力5:=主力3-(主力3-主力4)*0.618;主力6:=REFDATE(主力5,DATE);横盘天数:=BARSLASTCOUNT(CLOSE<主力6),COLORGREEN;主力7:=CROSS(CLOSE,主力6);主力8:=横盘天数>100;主力9:=REF(主力8,1);主力10:=主力9 AND 主力7;X11:=BARSLAST(主力10>0);X12:REF(H,X11)COLORWHITE,LINETHICK1,DOTLINE;A88:=VOL*CLOSE;B88:=SUM(A88,1)/SUM(VOL,1);B188:=EMA(B88,17);数值8:=(B88-B188)*1500/B88;越强势区黄线8:=数值8>=300;首越黄线:BARSLASTCOUNT(越强势区黄线8)=1;风险提示:本指标公式仅作为知识分享,模拟测试不构成任何投资建议,不作投资依据。
图片
END图片
公众号实用收藏源码打包,每天源码文件更新→点击链接下载:
图片
知识星球 本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报。
栏目分类