通达信指标公式源码概况:
指标类别: 通达信指标公式
授权方式: 免费版
指标评级: ★★★★★
指标分类: 策略
画线方法: 副图
尾盘买入指标公式
VAR1:=DMI.+DI;
VAR2:=DMI.-MDI;
VAR3:=VAR165 AND VAR1REF(VAR1,1);
VAR4:=LLV(VAR1,0);
VAR5:=BARSLAST(VAR4=VAR1);
VAR6:=(0-REF(VAR2,4))/(VAR4-REF(VAR2,VAR5))2;
VAR7:=VAR1REF(VAR1,1);
VAR8:=VOL2*MA(VOL,30);
VAR9:=DMI.ADX(12,6);
VARA:=DMI.ADXR(12,6);
VARB:=CLOSEMA(CLOSE,30) AND CLOSEMA(CLOSE,30)*1.04;
VARC:=MA(CLOSE,30)REF(MA(CLOSE,30),1);
VARD:=BARSLAST(CROSS(MA(CLOSE,5),MA(CLOSE,10)))BARSLAST(CROSS(MA(CLOSE,10),MA(CLOSE,5)));
VARE:=0-MACD.DIFF(7,21,3);
VARF:=TROUGHBARS(3,15,1)4;
VAR10:=EMA(CLOSE,30)REF(EMA(CLOSE,30),2);
VAR11:=IF(VARF=1,50,0);
VAR12:=CROSS(VAR2,VAR1) AND CROSS(VARA,VAR9);
VAR13:=CROSS(VAR2,VAR1) AND CROSS(VAR9,VARA);
VAR14:=VARB AND VARC AND VARD AND VAR10 AND VAR6 AND VAR7 AND VAR8*50;
VAR15:=BARSLAST(CROSS(VAR2,VAR1)=1);
VAR16:=BARSLAST(CROSS(VAR1,VAR2)=1);
VAR17:=HHV(VAR1,VAR16);
VAR18:=BARSLAST(VAR1=VAR17);
多空:EMA((CLOSE-MA((2*CLOSE+HIGH+LOW)/4,30))/MA((2*CLOSE+HIGH+LOW)/4,30)*100,3),colorwhite;
0,colorred;
STICKLINE(FILTER(VARF=1,5) AND 多空-10,50,0,30,0),coloryellow;
STICKLINE(FILTER(VARF=1,5),50,0,10,0),coloryellow;
VAR19:=VAR3 OR VAR12 OR VAR13*100;
VAR1A:=VAR13*100;
DRAWICON(FILTER(VARF=1,3),50,1);
DRAWTEXT(FILTER(VARF=1,3),25, #39;黄金 #39;),coloryellow;
STICKLINE(多空-10,0,多空,1,0),coloryellow;
STICKLINE(多空10,0,多空,1,0),coloryellow;
MA5:MA(CLOSE,5),ColorFFFfff,linethick1;
MA10:MA(CLOSE,10),Color00Ffff,linethicK1;
MA20:MA(CLOSE,20),Color00ff00,linethick1;
MA30:MA(CLOSE,30),ColorFF00ff,linethick1;
MA60:MA(CLOSE,60),Color0000ff,linethick1;
MA120:MA(CLOSE,120),ColorFFff00,linethick1;
angel:EMA(C,2),color000000;
devil:EMA(SLOPE(C,21)*20+C,42),POINTDOT,color000000;
kuangmai:=CROSS(angel,devil);
maichu:=CROSS(devil,angel);
DRAWTEXT(kuangmai,LOW*0.99, #39;狂买 #39;),colorf00ff0,linethick5;
DRAWTEXT(maichu,HIGH*1.08, #39;狂闪 #39;),colorwhite,linethick5;
STICKLINE(angel=devil,LOW,HIGH,0.1,0),colorred;
STICKLINE(angel=devil,CLOSE,OPEN,4.5,0),color0000AA;
STICKLINE(angel=devil,CLOSE,OPEN,3,0),color0000CC;
STICKLINE(angel=devil,CLOSE,OPEN,2,0),color0000DD;
STICKLINE(angel=devil,CLOSE,OPEN,1,0),color0000FF;
STICKLINE(CROSS(angel,devil) OR CROSS(devil,angel),OPEN,CLOSE,3.5,0),coloryellow;