以下是通达信回调整理副图指标
通达信回调整理副图指标
源码
振幅:=3;量比:=1;N:=26;M:=30;P:=10;
H1:=CLOSE > MA(CLOSE,5);
H2:=MA(CLOSE,10) > MA(CLOSE,5);
H3:=MA(CLOSE,10) > MA(CLOSE,30);
H4:=MA(CLOSE,30) > REF(MA(CLOSE,30),1);
H5:=MA(CLOSE,10) > REF(MA(CLOSE,10),1);
HP3R:=(HHV(HIGH,3)-LLV(LOW,3))/LLV(LOW,3) < 振幅/100;
HP4R:=(HHV(HIGH,4)-LLV(LOW,4))/LLV(LOW,4) < 振幅/100;
HP5R:=(HHV(HIGH,5)-LLV(LOW,5))/LLV(LOW,5) < 振幅/100;
HP6R:=(HHV(HIGH,6)-LLV(LOW,6))/LLV(LOW,6) < 振幅/100;
HP7R:=(HHV(HIGH,7)-LLV(LOW,7))/LLV(LOW,7) < 振幅/100;
HP8R:=(HHV(HIGH,8)-LLV(LOW,8))/LLV(LOW,8) < 振幅/100;
HP9R:=(HHV(HIGH,9)-LLV(LOW,9))/LLV(LOW,9) < 振幅/100;
HP10R:=(HHV(HIGH,10)-LLV(LOW,10))/LLV(LOW,10) < 振幅/100;
HP11R:=(HHV(HIGH,11)-LLV(LOW,11))/LLV(LOW,11) < 振幅/100;
HP12R:=(HHV(HIGH,12)-LLV(LOW,12))/LLV(LOW,12) < 振幅/100;
HP312:=HP3R OR HP4R OR HP5R OR HP6R OR HP7R OR HP8R OR HP9R OR HP10R OR HP11R OR HP12R;
V3R:=LLV(VOL,3) / HHV(VOL,20) < 量比/10;
V4R:=LLV(VOL,4) / HHV(VOL,20) < 量比/10;
V5R:=LLV(VOL,5) / HHV(VOL,20) < 量比/10;
V35R:=V3R OR V4R OR V5R;
回调: H1 AND H2 AND H3 AND H4 AND H5 AND HP312 AND V35R;
{短暂整理}
{AA1:="EXPLORER.W回档";
A1:=REF(AA1,1)=1;
A2:=(C-REF(C,1))/REF(C,1)<0.03 AND (H-L)/REF(C,1)<0.06;
T1:=A1 AND A2;
T2:=REF(T1,1)=1 AND (C-REF(C,1))/REF(C,1)<0.03 AND (H-L)/REF(C,1)<0.06 ;
T3:=SLOPE(MA(C,5),2)*100>3;
短暂整理: (T1 OR T2) AND T3 AND C>MA(C,13);}
{天量,N,26,5,300}
AJ1:=MA(C,250)<=REF(MA(C,250),1);
AJ2:=C<MA(C,250) AND C>MA(C,250)*0.90;
AJ3:=MA(C,5)<MA(C,250) AND MA(C,5)>REF(MA(C,5),1);
A4:=CAPITAL/V/100>0.03;
XX:= (HIGH+LOW+CLOSE)/3;
A5:=SUM(MAX(0,HIGH-REF(XX,1)),N)/SUM(MAX(0,REF(XX,1)-L),N)*100>175;
TJ1:=AJ1 AND AJ2 AND AJ3 AND A4 AND A5;
B1:=V>MA(V,5)*3.33 AND V>REF(V,1)*2.5;
B2:=V>MA(V,5)*2.5 AND MA(V,5)>MA(V,10) AND MA(V,10)>MA(V,30);
TJ2:=B1 OR B2 OR V>REF(MA(V,3),1)*4 OR 100*V/CAPITAL>10;
TJ3:=TJ2 AND MA(C,5)>REF(MA(C,5),1) AND 100*V/CAPITAL>1;
天量:TJ1 OR TJ3;