当前位置: 网站首页 > 股票软件公式 > 通达信公式 > 文章 当前位置: 通达信公式 > 文章

通达信源码:超级大主图,岛形反转,致简狙击战法G

点击: 次    来源:顶尖财经    作者:股市狙击 - 小 + 大

1、超级大主图

N:=30;

N2:=7;
M:=4;
DRAWGBK(C>0, RGB(0,10,10),RGB(88,0,0),0,'11',0);
STICKLINE(C>=O,C,O,3,0),COLOR000045;
STICKLINE(C>=O,C,O,2.5,0),COLOR000065;
STICKLINE(C>=O,C,O,2,0),COLOR000085;
STICKLINE(C>=O,C,O,1.5,0),COLOR0000A5;
STICKLINE(C>=O,C,O,1,0),COLOR0000C5;
STICKLINE(C>=O,C,O,0.5,0),COLOR0000E5;
STICKLINE(C>=O,H,L,0,0),COLOR0000F5;
STICKLINE(C<O,C,O,3,0),COLOR656500;
STICKLINE(C<O,C,O,2.5,0),COLOR757500;
STICKLINE(C<O,C,O,2,0),COLOR858500;
STICKLINE(C<O,C,O,1.5,0),COLOR959500;
STICKLINE(C<O,C,O,1,0),COLORA5A500;
STICKLINE(C<O,C,O,0.5,0),COLORB5B500;
STICKLINE(C<O,H,L,0,0),COLORC5C500;
EXP10:EMA(CLOSE,10)COLORWHITE,LINETHICK2;
EXP60:EMA(CLOSE,60)COLORYELLOW,LINETHICK2;
EXP金叉:=CROSS(EXP10,EXP60);
DRAWICON(EXP金叉,LOW-0.2,1);
DRAWTEXT(EXP金叉,LOW-0.7,'★EXP金叉买2'),COLORLIMAGENTA;
跌破:=CROSS(EXP60,CLOSE);
DRAWICON(跌破,HIGH+0.1,2);
DRAWTEXT(跌破,HIGH+0.5,'←离场'),COLORGREEN;
低位1:=(HHV(C,N)-REF(C,1))/HHV(C,N)>=0.50&&(HIGH/LOW)-1>0.07;
吊劲线:=MAX(OPEN,CLOSE)&&HIGH-LOW>3*(HIGH-MIN(OPEN,CLOSE));
射日线:=MIN(OPEN,CLOSE)&&HIGH-LOW>3*(MAX(OPEN,CLOSE)-LOW);
 
EFCT1:=低位1&&吊劲线;
DRAWICON(EFCT1,LOW-0.2,1);
DRAWTEXT(EFCT1,LOW-0.5,'★吊射买入'),COLORYELLOW;
EFCT2:=低位1&&射日线;
 
 
DRAWICON(EFCT2,LOW-0.2,1);
 
DRAWTEXT(EFCT2,LOW-0.5,'★吊射买入'),COLORYELLOW;
低位2:=(HHV(C,N)-REF(C,1))/HHV(C,N)>=0.40&&(HIGH/LOW)-1>0.07;
地开大阳线:=OPEN/REF(CLOSE,1)<=1-M/100 && CLOSE/OPEN>=1+N2/100;
FEX:=低位2&&地开大阳线;
DRAWICON(FEX,LOW-0.5,1);
DRAWTEXT(FEX,LOW-0.7,'←分批建仓')COLORRED;
高1:=REF(HHV(H,150),3);
低1:=REF(LLV(L,150),3);
突破:REF(EMA(C,14),1)COLORMAGENTA,LINETHICK2;
A1X:=(EMA(C,14)-突破)/突破*100,NODRAW;
多方:IF(A1X>=0,REF(EMA(C,14),BARSLAST(CROSS(A1X,0))+1),DRAWNULL)COLORRED,LINETHICK2;
空方:IF(A1X<0,REF(EMA(C,14),BARSLAST(CROSS(0,A1X))+1),DRAWNULL)COLORGREEN,LINETHICK2;
STICKLINE(A1X>=0,多方,突破,0,-1)COLORRED;
STICKLINE(A1X<0,空方,突破,0,-1)COLORGREEN;
STICKLINE(CROSS(A1X,0),C,O,2,0)COLORYELLOW;
STICKLINE(CROSS(A1X,0),H,L,0,1)COLORYELLOW;
STICKLINE(CROSS(0,A1X),C,O,2,0)COLORGREEN;
STICKLINE(CROSS(0,A1X),H,L,0,1)COLORGREEN;
破位:IF(A1X<0,突破,DRAWNULL)COLORGREEN,LINETHICK2;
DP:=REF(EMA(INDEXC,14),1);
DPX:=(EMA(INDEXC,14)-DP)/DP*100;
DRAWICON(CROSS(0,A1X),HIGH+0.2,15);
DRAWTEXT(CROSS(0,A1X),HIGH+0.3,'减仓')COLORGREEN;
DRAWICON(CROSS(EXP10,突破),LOW-0.2,1);
 
DRAWTEXT(CROSS(EXP10,突破),LOW-0.5,'★上穿买1')COLORMAGENTA;
 
Z1:=STRCAT(HYBLOCK,' ');
Z2:=STRCAT(Z1,DYBLOCK);
Z3:=STRCAT(Z2,' ');
DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(Z3,GNBLOCK)),COLORRED;



2、岛形反转

{公式名称: 岛形反转

公式描述: 
无参数
公式类型: 技术指标公式-其他类型
画线方法: 副图}
 
VAR1:=REF(CLOSE,1)/REF(CLOSE,4)<=0.94;
VAR2:=REF(HIGH,1)<REF(LOW,2);
VAR3:=LOW>REF(HIGH,1) AND LOW>REF(LOW,2);
VAR4:=CLOSE>REF(CLOSE,1) AND CLOSE>OPEN;
VAR5:=VAR1 AND VAR2 AND VAR3 AND VAR4;
VAR6:=REF(HIGH,2)<REF(LOW,3) AND REF(HIGH,1)<REF(LOW,3);
VAR7:=LOW>REF(HIGH,1) AND LOW>REF(HIGH,2);
VAR8:=CLOSE>REF(CLOSE,1);
VAR9:=VAR6 AND VAR7 AND VAR8;
VAR10:=BARSLAST(HIGH<REF(LOW,1));
VAR11:=HHV(HIGH,VAR10+1);
VAR12:=VAR11<REF(LOW,VAR10+1);
VAR13:=CROSS(REF(VAR12,1) AND LOW>REF(HHV(HIGH,VAR10+1),1),0.5);
XG:VAR13 OR VAR5 OR VAR9;
 


3、致简狙击战法G

极简体验版( 顶尖财经 股票学院: http://58188.com )
 
 
{公式名称: 致简狙击战法G
画线方法: 主图叠加
公式源码:}
 
MA1:MA(CLOSE,5);
MA5:MA(CLOSE,10);
MA3:MA(CLOSE,20);
MA4:MA(CLOSE,60);
MA2:MA(CLOSE,2),COLORBLACK;
MA7:MA(CLOSE,7),COLORBLACK;
DRAWTEXT_FIX(ISLASTBAR,0,0,0,HYBLOCK),COLORMAGENTA;
DRAWTEXT_FIX(ISLASTBAR,0.2,0,0,GNBLOCK),COLORCYAN;
VAR1:=WINNER(CLOSE)*100;
VAR2:=COUNT(EXIST(BARSLASTCOUNT(CLOSE>=ZTPRICE(REF(CLOSE,1),0.095))>=1,20),22);
VAR3:=IF(VAR2=1,0,1);
VAR4:=HIGH>REF(HIGH,1) AND LOW>REF(LOW,1);
VAR5:=IF(VAR4=1,0,1);
VAR6:=MA2;
VAR7:=(3*CLOSE+LOW+OPEN+HIGH)/6;
VAR8:=(20*VAR7+19*REF(VAR7,1)+18*REF(VAR7,2)+17*REF(VAR7,3)+16*REF(VAR7,4)+15*REF(VAR7,5)+14*REF(VAR7,6)+13*REF(VAR7,7)+12*REF(VAR7,8)+11*REF(VAR7,9)+10*REF(VAR7,10)+9*REF(VAR7,11)+8*REF(VAR7,12)+7*REF(VAR7,13)+6*REF(VAR7,14)+5*REF(VAR7,15)+4*REF(VAR7,16)+3*REF(VAR7,17)+2*REF(VAR7,18)+REF(VAR7,20))/210;
VAR9:=EMA(VAR8,13);
VAR10:=EMA(CLOSE,5);
VAR11:=EMA(VAR10,8);
VAR12:=EMA(VAR11,13);
VAR13:=EMA(VAR12,50);
VAR14:=EMA(VAR7,1);
GD89:VAR14,COLORBLACK;
STICKLINE(VAR14<VAR9,HIGH,LOW,0,1),COLOR404080;
STICKLINE(VAR14<VAR9,CLOSE,OPEN,3,1),COLOR404080;
STICKLINE(VAR14>=VAR9,HIGH,LOW,0,1),COLORRED;
STICKLINE(VAR14>=VAR9,CLOSE,OPEN,3,1),COLORRED;
VAR15:=HIGH>REF(HIGH,1) AND LOW>REF(LOW,1);
STICKLINE(VAR15,OPEN,CLOSE,2,0),COLORLIGRAY;
STICKLINE(EVERY(LOW>=REF(LOW,1),2),OPEN,CLOSE,2,0),COLORLIRED;
VAR16:=(3*CLOSE+LOW+OPEN+HIGH)/6;
VAR17:=EMA(VAR16,1);
VAR18:=IF(DYNAINFO(7)>ZSTJJ,DYNAINFO(7)>REF(CLOSE,1) AND LOW>REF(LOW,1),0);
VAR19:=MA(CLOSE,5);
VAR20:=IF(DYNAINFO(7)>ZSTJJ,HIGH>=REF(HIGH,1) AND LOW>=REF(LOW,1) AND CLOSE>VAR19,0);
VAR21:=CLOSE/REF(CLOSE,1)>=1.09;
STICKLINE(VAR21,OPEN,CLOSE,2,0),COLORLIRED;

上一篇:通达信公式下载:无敌龙门主图,私用行情,怪杰_4

下一篇:通达信源码:神渔短线2主图,神渔短线副2J