通达信公式源码概况:
指标类别:通达信公式
授权方式: 免费版
指标评级: ★★★★★
指标分类: 策略
画线方法: 副图
一、通达信拐点买卖主图公式指标
AAA:=(MA(CLOSE,13)+MA(CLOSE,17))/2;
CCC:=(STD(CLOSE,13)+STD(CLOSE,17))/2;
BBB:=AAA+2.1*CCC;
DDD:=AAA+0.72*CCC;
ZZZ:=IF(CCC>1.88,MA(DDD,3),DDD);
平衡:ZZZ,COLORWHITE;
止赢:ZZZ*1.1,COLORYELLOW;
了结:ZZZ*1.05,COLORGRAY;
回档:ZZZ*0.95,COLORGREEN;
反弹:ZZZ*0.9,COLORBLUE;
DRAWTEXT(C>=1.09*REF(C,1),C,'涨停'),COLORYELLOW;
MA1:(MA(C,3)+MA(C,5))/2,COLORBLUE;
MA2:=(MA(C,8)+MA(C,13))/2,COLORYELLOW;
SFF:=H/REF(H,1)<1ANDREF(H,1)/REF(H,2)<1ANDL/REF(L,1)>1ANDREF(L,1)/REF(L,2)>1;
DRAWTEXT(SFF,L*0.95,'大鲨鱼:关注'),COLORYELLOW;
STICKLINE(平衡<REF(平衡,1)ANDREF(平衡,1)<REF(平衡,2),平衡*1.002,平衡*0.998,3,0),COLORBLUE;
卖:DRAWTEXT(FILTER(H<=REF(H,1)ANDC<REF(C,1)ANDMA1<REF(MA1,1)ANDH>平衡AND平衡<REF(平衡,1),4)OR
(H>了结ANDC<了结ANDC<OOR(H>平衡ANDC<平衡)ANDC<OAND平衡<REF(平衡,1)),H*1.01,'卖'),COLORGREEN;
买:DRAWTEXT(FILTER(C>REF(C,1)ANDL>=REF(L,1)ANDMA1>REF(MA1,1)ANDL<平衡AND平衡>REF(平衡,1)OR
(L<回档ANDC>回档ANDC>OAND平衡>REF(平衡,1)OR(L<平衡ANDC>平衡)ANDC>OAND平衡>REF(平衡,1)),5),L*0.99,'买'),COLORRED;
清仓:DRAWTEXT(H>止赢ANDC<止赢ANDC<OORREF(C,1)>止赢ANDC<REF(C,1),止赢*0.99,'清仓'),COLORYELLOW;
满仓:DRAWTEXT((REF(C,1)<反弹ORL<反弹)ANDC>反弹ANDC>OORFILTER(REF(C,1)<反弹ANDC>REF(C,3),5),L*0.99,'满仓'),COLORFF00FF;
选股:=(REF(C,1)<反弹ORL<反弹)ANDC>反弹ANDC>O;
买线:=EMA(C,2);
卖线:=EMA(SLOPE(C,21)*20+C,42);
BU:=CROSS(买线,卖线);
SEL:=CROSS(卖线,买线);
DRAWICON(BU,LOW*0.98,1),,,COLORRED,LINETHICK3;
DRAWICON(SEL,HIGH*1.02,2),,,COLORGREEN,LINETHICK3;
RSV:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
K:=SMA(RSV,9,1);
D:=SMA(K,3,1);
趋势:3*K-2*D,COLORWHITE,LINETHICK1;
IF(趋势>=REF(趋势,3),趋势,DRAWNULL),COLORRED,LINETHICK3;
IF(趋势<REF(趋势,1),趋势,DRAWNULL),COLORLIBLUE,LINETHICK1;
{阶段底:EMA(IF(L<=LLV(L,40),SMA(ABS(L-REF(L,1)),40,1)/SMA(MAX(L-REF(L,1),0),40,1),0),3)*10,STICK,COLORRED,LINETHICK2;}
DRAWLINE(D>=HHV(D,13),D,D<=LLV(D,13),D,1),COLOR00FF00;顶:100,COLOR00FF00;
强:80,COLORLIBLUE;
趋:50,COLORBROWN,DOTLINE;
底:20,COLORFFFF00;
VAR3:=LLV(HIGH,240);
VAR4:=100*(CLOSE-VAR3)/VAR3;
VAR5:=(CLOSE-LLV(LOW,528))/(HHV(HIGH,528)-LLV(LOW,528))*100;
VAR6:=(CLOSE-LLV(CLOSE,530))/(HHV(CLOSE,530)-LLV(CLOSE,530))*100;
VAR8:=SMA(MAX(CLOSE-REF(CLOSE,1),0),34,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),7,1)*100;
VAR9:=SMA(MAX(CLOSE-REF(CLOSE,1),0),13,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),13,1)*100;
VARA:=BARSCOUNT(CLOSE);
VARB:=VAR8<20ANDVAR9<23ANDVARA>35;
VARC:=VARBANDCOUNT(VARB,1)=1;
VARD:=EMA(CLOSE,21)-EMA(CLOSE,8);
VARE:=EMA(VARD,5);
VARF:=TROUGHBARS(3,6,1)<4ANDCROSS(VARD,VARE);
VAR10:=IF(TROUGHBARS(3,16,1)=0ANDHIGH>LOW+0.04,4,0);
VAR11:=ZIG(3,6)>REF(ZIG(3,6),1)ANDREF(ZIG(3,6),1)<=REF(ZIG(3,6),2)ANDREF(ZIG(3,6),2)<=REF(ZIG(3,6),3);
VAR12:=ZIG(3,6)<REF(ZIG(3,6),1)ANDREF(ZIG(3,6),1)>=REF(ZIG(3,6),2)ANDREF(ZIG(3,6),2)>=REF(ZIG(3,6),3);
VAR13:=ZIG(3,22)>REF(ZIG(3,22),1)ANDREF(ZIG(3,22),1)<=REF(ZIG(3,22),2)ANDREF(ZIG(3,22),2)<=REF(ZIG(3,22),3);
VAR14:=ZIG(3,22)<REF(ZIG(3,22),1)ANDREF(ZIG(3,22),1)>=REF(ZIG(3,22),2)ANDREF(ZIG(3,22),2)>=REF(ZIG(3,22),3);
VAR15:=ZIG(3,51)>REF(ZIG(3,51),1)ANDREF(ZIG(3,51),1)<=REF(ZIG(3,51),2)ANDREF(ZIG(3,51),2)<=REF(ZIG(3,51),3);
VAR16:=ZIG(3,51)<REF(ZIG(3,51),1)ANDREF(ZIG(3,51),1)>=REF(ZIG(3,51),2)ANDREF(ZIG(3,51),2)>=REF(ZIG(3,51),3);
VAR17:=ZIG(3,72)>REF(ZIG(3,72),1)ANDREF(ZIG(3,72),1)<=REF(ZIG(3,72),2)ANDREF(ZIG(3,72),2)<=REF(ZIG(3,72),3);
VAR18:=ZIG(3,72)<REF(ZIG(3,72),1)ANDREF(ZIG(3,72),1)>=REF(ZIG(3,72),2)ANDREF(ZIG(3,72),2)>=REF(ZIG(3,72),3);
VAR19:=EMA(CLOSE,2)-EMA(CLOSE,150);
VAR1A:=EMA(VAR19,100);
VAR1B:=2*(VAR19-VAR1A);
VAR1C:=POW(VAR1B,3)*0.1+POW(VAR1B,1);
VAR1D:=SQRT(SQRT(LOW*HIGH*OPEN*CLOSE));
VAR1E:=EMA(VAR1D*0.97,3);
VAR1F:=(HIGH+LOW+CLOSE)/3;
VAR20:=(VAR1F-MA(VAR1F,14))/(0.015*AVEDEV(VAR1F,14));
VAR21:=CROSS(VAR1E,LOW);
选股买点:VAR10,coloryellow;
组合买:(VAR11+VAR13+VAR15+VAR17),colorred;
组合卖:(VAR12+VAR14+VAR16+VAR18),colorgreen;
黑马线:IF(VAR1B>0.1,VAR1C,0)*1;
黑马信号介入点:选股买点ANDVARFANDVARCANDVAR21ANDVAR4<0ANDVAR5<2ANDVAR6=0,COLORFFFF99;
DRAWTEXT(VAR13,0.6,'●'),colorred;
DRAWICON(组合买,组合买,1);
DRAWICON(组合卖,组合卖,9);
DRAWTEXT(黑马信号介入点>0,4.5,'●我的黑马介入点'),colorred;
DRAWICON(选股买点>0,4.2,1);
DRAWTEXT(选股买点ANDVARFANDVARC,2.8,'30%下单莫错过!'),colormagenta;
DRAWTEXT(VAR18,3,'空仓'),colorgreen;
DRAWTEXT(VAR20<-110AND选股买点>0,2,'选股买点'),coloryellow;
DRAWTEXT(VAR17,1.3,'发现黑马'),COLORFF6600;
DRAWTEXT(选股买点ANDVAR20<-100ANDVARFANDVARC>0,4.1,'★组合5分钟线选股思路获利5%以上'),colorred;
指标公式知识:
一阳穿三线买进技巧
上图该股,三条均线分别是13日均线,30日均线,60日均线,划圆圈的当天,大家注意看从上到下,三条线的顺序最上面是白色的13日均线,中间是黄色的30日均线,最下面是紫色的60日均线,当天《一阳穿三线》,第二日早晨9:30开盘立即买进。
核心:
一:必须把个股日k线的均线改成13日均线、30日均线、60日均线。二:三线穿一阳的当天,三线的顺序从上到下必须是13日白色线–30日黄色线—60日紫色线,三线顺序必须如此,有丝毫不一样,都不可以。三;买入的时间,如果当天是涨停板收盘,则第二日开盘9:30分,立即闭眼买入。如果当天不是涨停板收盘,是普通阳线,则当天收盘前就可以闭眼买入。第四:三线穿一阳的当天,越是大阳线越好。
每日通达信公式解答:
编写条件:
开盘不大于2个点以下时的选股公式。
编写方法:
XG:O/REF(C,1)>1.001&&O/REF(C,1)<1.05;
评论(0)