【资料名称】:大智慧双突战法分时主图指标 源码介绍【资料描述】:
大智慧双突战法分时主图指标 源码
Pos:=Ceiling((Time0-if(Time<=113000,34200,39600))/60)+1;
AvgVol:=ref(MA(Vol,0),1);
VolStd:=ref(std(vol,pos),1);
DHigh:=ref(hhv(C,0),1);
Dlow:=ref(llv(C,0),1);
SumVol:=sum(vol,0);
Fsjx:=sum(amount,0)/sum(vol,0)/100;
VolUp:= (Vol>AvgVol*2 or last(vol>AvgVol)>=3 ) and Vol>(AvgVol+VolStd/2);
PV:=SumVol/capital>(0.04*pos/240) and Fsjx>ref(Fsjx,1) and C>Dhigh and VolUp and C<dynainfo(3)*1.06 and pos>15 and pos<210;
PB:=hhvbars(C,barslast(PV));
TP1:= (Pos>45 and PV) or (count(PV,0)>=1 and PB>10 and hhv(C,PB)-llv(low,PB)<(Dhigh-Dlow)/2 and C<dynainfo(3)*1.06 and VolUp and C[1]>C[2] and C>C[1] and C>Fsjx and pos<210 );
TP2:= count(TP1,15)=1 and TP1;
一突:count(TP2,0)<=2 and TP2,linethick0;
双突:count(一突,0)=2 and 一突,linethick0; { 双突信号 }
drawtext(一突 and not(双突) ,C,'★一突'),valign1,align0,ColorCyan;
drawtext(双突,close,'★双突'),valign1,align0,ColorEE00FF;
gd52567
【下载地址隐藏】: 点:回复可见地址