奉献自用绝密指标,第二天必涨停,连涨三天【暴涨牛 加仓点 金牌指标】
VAR19:=BARSLAST(REF(CROSS(DEA,DIFF),1));
顶背离:REF(CLOSE,VAR19+1)<CLOSE AND REF(DIFF,VAR19+1)>DIFF AND CROSS(DEA,DIFF);
DRAWTEXT(顶背离,11,61),COLORWHITE;
买入:ZIG(3,5)>REF(ZIG(3,5),1) AND REF(ZIG(3,5),1)<=REF(ZIG(3,5),2) AND REF(ZIG(3,5),2)<=REF(ZIG(3,5),3),COLORRED;
卖出:ZIG(3,5)<REF(ZIG(3,5),1) AND REF(ZIG(3,5),1)>=REF(ZIG(3,5),2) AND REF(ZIG(3,5),2)>=REF(ZIG(3,5),3),COLORGREEN;
{公式名称: 加仓点
公式描述:
无参数
公式类型: 技术指标公式-大势型
画线方法: 主图叠加
公式版本: 0
显示小数: 缺省位数
坐标线位置: 自动
额外Y轴分界: 无
参数精灵:无
用法注释:无
公式源码:}
MA05:MA(CLOSE,5),COLOR00CCFF,LINETHICK3;
VAR1:=MA(CLOSE,10);
VAR2:=MA(CLOSE,20);
VAR3:=MA(CLOSE,30);
VAR4:=(CLOSE-MA05)/MA05*100;
VAR5:=ATAN((MA05/REF(MA05,1)-1)*100)*180/3.1416;
VAR6:=SMA(EMA((MA05-REF(MA05,1))/REF(MA05,1),3)*100,3,1);
VAR7:=EMA(VAR6-REF(VAR6,1),3);
IF(VAR5>30 AND MA05>REF(MA05,1),MA05,DRAWNULL),COLORRED,LINETHICK3;
VAR8:=ATAN((VAR1/REF(VAR1,1)-1)*100)*180/3.1416;
IF(VAR5<0 AND MA05<REF(MA05,1),MA05,DRAWNULL),COLORGREEN,LINETHICK3;
VAR9:=(CLOSE-VAR3)/VAR3*100;
VAR10:=VAR2-VAR3>REF(VAR2-VAR3,1) AND VAR2>REF(VAR2,1) AND VAR3>REF(VAR3,1);
VAR11:=VAR3-VAR2<REF(VAR3-VAR2,1) AND VAR2<REF(VAR2,1) AND VAR3<REF(VAR3,1);
VAR12:=ATAN((VAR3/REF(VAR3,1)-1)*100)*180/3.1416;
VAR13:=FILTER(VAR12>30 AND VAR8>45 AND CROSS(VAR5,60),10);
VAR14:=FILTER(COUNT(CROSS(VAR5,30),5)>=1 AND MA05>REF(MA05,1) AND VAR9>REF(VAR9,1) AND VAR1>REF(VAR1,1) AND VAR7>REF(VAR7,1) AND VAR6>REF(VAR6,1),10);
VAR15:=FILTER(COUNT(CROSS(30,VAR5),5)>=1 AND (CLOSE>VAR3 OR OPEN>VAR3) AND MA05<REF(MA05,1) AND VAR9<REF(VAR9,1) AND VAR1<REF(VAR1,1),10);
DRAWTEXT(VAR14,LOW*0.98,62),COLORRED;
VAR16:=CROSS(0,VAR4) AND VAR9<REF(VAR9,1) AND VAR1>REF(VAR1,1);
VAR17:=FILTER(VAR16,10);
VAR18:=COUNT(CROSS(VAR4,0),3)>=1 AND VAR9>REF(VAR9,1) AND MA05>REF(MA05,1) AND (CLOSE/REF(CLOSE,1)-1)*100>5 AND REF(CLOSE,1)<VAR3;
VAR19:=FILTER(VAR18,10);
DRAWTEXT(VAR17,HIGH*1.02,63),COLORCYAN;
DRAWTEXT(VAR19,LOW*0.98,64),COLORYELLOW;
DRAWTEXT(VAR15,HIGH*1.02,65),COLORGREEN;
DRAWTEXT(VAR13,LOW*0.98,66),COLORYELLOW;
VAR20:=MAX(ABS(HIGH-AMOUNT/VOL/100),ABS(AMOUNT/VOL/100-LOW));
VAR21:=ABS((OPEN+CLOSE)/2-AMOUNT/VOL/100);
VAR22:=(VAR20+VAR21)/AMOUNT*VOL*100*50;
压力:MA(REF(HHV(CLOSE,30),1),2),COLOR9DFFFF;
支撑:MA(REF(LLV(CLOSE,30),1),2),COLORABFF46;
- 上一篇公式:通达信蓝码技术分享
- 下一篇公式:南极系统战法之阴阳战法 通达信附图精品