通达信指标公式源码概况:
指标类别: 通达信指标公式
授权方式: 免费版
指标评级: ★★★★★
指标分类: 策略
画线方法: 副图
Var2:=REF(LOW,1);
Var3:=SMA(ABS(LOW-Var2),3,1)/SMA(MAX(LOW-Var2,0),3,1)*100;
Var4:=EMA(IF(CLOSE*1.3,Var3*10,Var3/10),3);
Var5:=LLV(LOW,30);
Var6:=HHV(Var4,30);
Var7:=IF(MA(CLOSE,58),1,0);
Var8:=EMA(IF(LOW=Var5,(Var4+Var6*2)/2,0),3)/618*Var7;
Var9:=IF(Var8100,100,Var8);
STICKLINE(Var9-150,0,Var9,3,0), colorff00ff;
底部吸筹指标: (CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100, color00ff00;
STICKLINE(CROSS(底部吸筹指标,-24),100,0,6,0), colorffffff;
先知: (CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100, colorff00ff;
可能放量拉升: IF(CROSS(底部吸筹指标,-24),1,0), colorffffff;
获利:STICKLINE(REF(KDJ.J,1)0 AND KDJ.J0,60,0,2,0),color0000ff;
Var2:=REF(LOW,1);
Var3:=SMA(ABS(LOW-Var2),3,1)/SMA(MAX(LOW-Var2,0),3,1)*100;
Var4:=EMA(IF(CLOSE*1.2,Var3*10,Var3/10),3);
Var5:=LLV(LOW,38);
Var6:=HHV(Var4,38);
Var7:=IF(LLV(LOW,90),1,0);
Var8:=EMA(IF(LOW=Var5,(Var4+Var6*2)/2,0),3)/618*Var7;
有庄的影子: STICKLINE(Var8,0,Var8,6,1) , COLORffaaff;
线: (CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100 , COLORaabbdd;
aa:=((REF(趋势线,1)REF(趋势线,2) AND 趋势线-30) AND 趋势线=REF(趋势线,1)) OR (REF(CROSS(-30,趋势线),1) AND CROSS(趋势线,-30)) OR 趋势线=-30;
DRAWTEXT(aa,500, #39;砸锅卖田买 #39;),coloryellow;
砸锅卖田买:IF(aa,500,-30),coloryellow;
bb:=((REF(趋势线,1)REF(趋势线,2) AND 趋势线-20 AND 趋势线-25) AND 趋势线=REF(趋势线,1)) OR (REF(CROSS(-20,趋势线),1) AND CROSS(趋势线,-20));
DRAWTEXT(bb,300, #39;见底信号 #39;),colorred;
见底信号:IF(bb,300,-20),colorred;
cc:=((REF(趋势线,1)REF(趋势线,2) AND 趋势线-25 AND 趋势线-30) AND 趋势线=REF(趋势线,1)) OR (REF(CROSS(-25,趋势线),1) AND CROSS(趋势线,-25));
DRAWTEXT(cc,400, #39;莫错失机会 #39;),color00ff00;
莫错失机会:IF(cc,400,-25),color00ff00;
底部快显:IF(CROSS(-20,趋势线),100,-20),linethick2,colorf0f000;
DRAWTEXT(CROSS(-20,趋势线),120, #39;★ #39;),colorf0f000;
机会来临:IF(CROSS(-25,趋势线),150,-25),linethick2,colorf00ff0;
DRAWTEXT(CROSS(-25,趋势线),170, #39;★ #39;),colorf00ff0;
砸锅卖田等:IF(CROSS(-30,趋势线),200,-30),linethick2,colorwhite;
DRAWTEXT(CROSS(-30,趋势线),220, #39;★ #39;),colorwhite;
Var1:=EMA(HHV(HIGH,500),21);
Var2:=EMA(HHV(HIGH,250),21);
Var3:=EMA(HHV(HIGH,90),21);
Var4:=EMA(LLV(LOW,500),21);
Var5:=EMA(LLV(LOW,250),21);
Var6:=EMA(LLV(LOW,90),21);
Var7:=EMA((Var4*0.96+Var5*0.96+Var6*0.96+Var1*0.558+Var2*0.558+Var3*0.558)/6,21);
Var8:=EMA((Var4*1.25+Var5*1.23+Var6*1.2+Var1*0.55+Var2*0.55+Var3*0.65)/6,21);
Var9:=EMA((Var4*1.3+Var5*1.3+Var6*1.3+Var1*0.68+Var2*0.68+Var3*0.68)/6,21);
VarA:=EMA((Var7*3+Var8*2+Var9)/6*1.738,21);
VarB:=REF(LOW,1);
VarC:=SMA(ABS(LOW-VarB),3,1)/SMA(MAX(LOW-VarB,0),3,1)*100;
VarD:=EMA(IF(CLOSE*1.35=VarA,VarC*10,VarC/10),3);
VarE:=LLV(LOW,30);
VarF:=HHV(VarD,30);
Var10:=IF(MA(CLOSE,58),1,0);
寒冰谷: -EMA(IF(LOW=VarE,(VarD+VarF*2)/2,0),3)/618*Var10;
寒冰: STICKLINE(寒冰谷0,0,寒冰谷,-4,1),STICK,linethick2,COLORFF0000;
今量1: 寒冰谷;
a1:IF(寒冰谷0,今量1*6,0),STICK,linethick5, COLORFFFFFF;
a2:IF(寒冰谷0,今量1*0.8,0),STICK,linethick5, COLORFFFF00;
a3:IF(寒冰谷0,今量1*0.6,0),STICK,linethick5, COLORFF9933;
a4:IF(寒冰谷0,今量1*0.4,0) ,STICK,linethick5,COLORFF6633;
a5:IF(寒冰谷0,今量1*0.2,0) ,STICK,linethick5,COLORFF0000;
Var1a:=(HHV(HIGH,5)-CLOSE)/(HHV(HIGH,5)-LLV(LOW,5))*100-70;
Var2a:=SMA(Var1a,9,1)+100;
Var3a:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;
Var4a:=SMA(Var3a,3,1);
Var5a:=SMA(Var4a,3,1)+100;
Var6a:=Var5a-Var2a;
t1:=寒冰谷REF(寒冰谷,1) AND REF(寒冰谷,1)REF(寒冰谷,2);
火焰山: EMA(IF(LOW=VarE,(VarD+VarF*2)/2,0),3)/618*Var10;
火焰: IF(火焰山0,火焰山,0),STICK,linethick2, COLOR0000ff;
今量: 火焰山;
a1:IF(火焰山0,今量*1.2,0),STICK,linethick5, COLOR0000ff;
a2:IF(火焰山0,今量*0.8,0),STICK,linethick5, COLOR0066ff;
a3:IF(火焰山0,今量*0.6,0),STICK,linethick5, COLOR0099ff;
a4:IF(火焰山0,今量*0.4,0) ,STICK,linethick5,COLOR00ccff;
a5:IF(火焰山0,今量*0.2,0) ,STICK,linethick5,COLOR00ffff;YKHYKHE
p1:=10;
p2:=10;
p3:=5;
v1:=(H+O+L+2*C)/5;
V2:=REF(V1,1);
V3:=MAX(V1-V2,0);
V4:=ABS(V1-V2);
V5:=SMA(V3,P1,1);
V6:=SMA(V4,P1,1);
V8:=COUNT(V5/V60.2,P3);
V9:=COUNT(LLV(V1,P2)=V1,P2);
P:IF(V8=1 AND V9=1 AND CLOSEOPEN AND REF(CLOSE,1)REF(OPEN,1) AND VOLREF(VOL,1),1,0);