通达信游资量化主图指标 短线操作 白色虚线上持有 白色虚线下离场 源码 贴图
2024-07-24 10:16:00来源:本站整理浏览:1011
指标介绍:短线操作在白色虚线上持有;白色虚线下离场;波段可在红色多头趋势中持有;蓝色空头趋势卖出。
龙龙1:=STRCAT(HYBLOCK,' ');
龙龙2:=STRCAT(龙龙1,DYBLOCK);
龙龙3:=STRCAT(龙龙2,' ');
龙龙4:=STRCAT(龙龙3,GNBLOCK);
MA5:MA(C,5)DOTLINE COLORWHITE;
龙牛共振:=2230911;
龙飞凤舞:=IF(DATE< 龙牛共振,1,1);
DRAWTEXT_FIX(ISLASTBAR,0.0,0.01,0,STRCAT('所属板块:',龙龙4)),COLORFFFF00;
多头:EMA((MA(C,5)+MA(C,8)+MA(C,13)+MA(C,21)+MA(C,34))/5,8)*龙飞凤舞,COLORRED,LINETHICK2;
空头:IF(C<=多头,多头,DRAWNULL),COLORCYAN,LINETHICK2;
DI:=(EMA(C,12)-EMA(C,26))*龙飞凤舞;
DE:=(EMA(DI,9))*龙飞凤舞;
M:=(DI-DE)*2*龙飞凤舞;{公式网WWW.GPXIAZAI.COM}
R:=IF(CODELIKE('60') OR CODELIKE('00'),10,20)*龙飞凤舞;
突破:=100*(C/REF(C,1)-1)>R-0.01/REF(C,1)*100;
牛起飞:=BARSLASTCOUNT(突破)=1;
指标抓牛:=100*(C/REF(C,1)-1)< -R+0.01/REF(C,1)*100;
龙牛起舞11:=C>=O*龙飞凤舞;
龙牛起舞12:=C< O*龙飞凤舞;
STICKLINE(龙牛起舞11,H,L,0,0),COLOR0000DD;
STICKLINE(龙牛起舞11,C,O,2.7,0),COLOR000099;
STICKLINE(龙牛起舞11,C,O,1.8,0),COLOR0000BB;
STICKLINE(龙牛起舞11,C,O,1,0),COLOR0000DD;
STICKLINE(龙牛起舞12,HIGH,LOW,0,1),COLORGREEN;
STICKLINE(龙牛起舞12,C,OPEN,2.7,0),COLOR006600;
STICKLINE(龙牛起舞12,C,OPEN,2.3,0),COLOR008800;
STICKLINE(龙牛起舞12,C,OPEN,1.8,0),COLOR00AA00;
STICKLINE(龙牛起舞12,C,OPEN,1.3,0),COLOR00CC00;
STICKLINE(龙牛起舞12,C,OPEN,0.3,0),COLORGREEN;
STICKLINE(突破,HIGH,LOW,0,1),COLORFF55FF;
STICKLINE(突破,C,OPEN,2.7,0),COLOR880088;
STICKLINE(突破,C,OPEN,2.3,0),COLORAA00AA;
STICKLINE(突破,C,OPEN,1.8,0),COLORCC00CC;
STICKLINE(突破,C,OPEN,1.3,0),COLOREE00EE;
STICKLINE(突破,C,OPEN,0.3,0),COLORFF44FF;
STICKLINE(指标抓牛,H,L,0,0),COLOREEEEEE;
STICKLINE(指标抓牛,C,O,2.7,0),COLOR9F9F9F;
STICKLINE(指标抓牛,C,O,1.8,0),COLORCCCCCC;
STICKLINE(指标抓牛,C,O,1,0),COLOREEEEEE;
DRAWICON(牛起飞,L,9);
DRAWTEXT(牛起飞,L*0.998,'←牛起飞'),COLORYELLOW;
龙龙2:=STRCAT(龙龙1,DYBLOCK);
龙龙3:=STRCAT(龙龙2,' ');
龙龙4:=STRCAT(龙龙3,GNBLOCK);
MA5:MA(C,5)DOTLINE COLORWHITE;
龙牛共振:=2230911;
龙飞凤舞:=IF(DATE< 龙牛共振,1,1);
DRAWTEXT_FIX(ISLASTBAR,0.0,0.01,0,STRCAT('所属板块:',龙龙4)),COLORFFFF00;
多头:EMA((MA(C,5)+MA(C,8)+MA(C,13)+MA(C,21)+MA(C,34))/5,8)*龙飞凤舞,COLORRED,LINETHICK2;
空头:IF(C<=多头,多头,DRAWNULL),COLORCYAN,LINETHICK2;
DI:=(EMA(C,12)-EMA(C,26))*龙飞凤舞;
DE:=(EMA(DI,9))*龙飞凤舞;
M:=(DI-DE)*2*龙飞凤舞;{公式网WWW.GPXIAZAI.COM}
R:=IF(CODELIKE('60') OR CODELIKE('00'),10,20)*龙飞凤舞;
突破:=100*(C/REF(C,1)-1)>R-0.01/REF(C,1)*100;
牛起飞:=BARSLASTCOUNT(突破)=1;
指标抓牛:=100*(C/REF(C,1)-1)< -R+0.01/REF(C,1)*100;
龙牛起舞11:=C>=O*龙飞凤舞;
龙牛起舞12:=C< O*龙飞凤舞;
STICKLINE(龙牛起舞11,H,L,0,0),COLOR0000DD;
STICKLINE(龙牛起舞11,C,O,2.7,0),COLOR000099;
STICKLINE(龙牛起舞11,C,O,1.8,0),COLOR0000BB;
STICKLINE(龙牛起舞11,C,O,1,0),COLOR0000DD;
STICKLINE(龙牛起舞12,HIGH,LOW,0,1),COLORGREEN;
STICKLINE(龙牛起舞12,C,OPEN,2.7,0),COLOR006600;
STICKLINE(龙牛起舞12,C,OPEN,2.3,0),COLOR008800;
STICKLINE(龙牛起舞12,C,OPEN,1.8,0),COLOR00AA00;
STICKLINE(龙牛起舞12,C,OPEN,1.3,0),COLOR00CC00;
STICKLINE(龙牛起舞12,C,OPEN,0.3,0),COLORGREEN;
STICKLINE(突破,HIGH,LOW,0,1),COLORFF55FF;
STICKLINE(突破,C,OPEN,2.7,0),COLOR880088;
STICKLINE(突破,C,OPEN,2.3,0),COLORAA00AA;
STICKLINE(突破,C,OPEN,1.8,0),COLORCC00CC;
STICKLINE(突破,C,OPEN,1.3,0),COLOREE00EE;
STICKLINE(突破,C,OPEN,0.3,0),COLORFF44FF;
STICKLINE(指标抓牛,H,L,0,0),COLOREEEEEE;
STICKLINE(指标抓牛,C,O,2.7,0),COLOR9F9F9F;
STICKLINE(指标抓牛,C,O,1.8,0),COLORCCCCCC;
STICKLINE(指标抓牛,C,O,1,0),COLOREEEEEE;
DRAWICON(牛起飞,L,9);
DRAWTEXT(牛起飞,L*0.998,'←牛起飞'),COLORYELLOW;