大智慧逢底必抄副图指标
源码
{逢底必抄}
fa1:=REF(CLOSE,2);
fa2:=SMA(MAX(CLOSE-fa1,0),7,1)/SMA(ABS(CLOSE-fa1),7,1)*100;
逢底一:IF(fa2<14,1,0),linethick0;
DB1:=SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
DB2:=SMA(SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),2,1);
趋势二:=5*DB1-DB2;
逢底二:IF(CROSS(趋势二,5),1,0),linethick0;
CVq:=(MA(CLOSE,80)-MA(CLOSE,13)/3);
Cq:= MA((CLOSE-CVq)/CVq,1);
Cxa:=ema(Cq,12)*0.7;
Cxb:=ema(Cq,3);
Cd:=if(llv(Cxb-Cxa,12)>0,0,-30);
逢底三:FILTER(COUNT(Cd<-20,3)=3,34),linethick0;
VV13:=(CLOSE-MA(CLOSE,45))/MA(CLOSE,45)*100<-17 ;
逢底四:VV13 AND VOL>MA(VOL,5),linethick0;
m5:=13;
n5:=16;
A51:=(CLOSE+OPEN)/2;
A52:=(HIGH+LOW)/2;
A53:=IF(CLOSE>REF(CLOSE,1),MAX(A51,A52),MIN(A51,A52));
B51:=SUM(A53*VOL,M5)/SUM(VOL,M5);
逢底五:(CLOSE-B51)/B51*100<N5*-1 AND CLOSE/HHV(CLOSE,50)<=0.7 AND C/LLV(C,5)<1.1,linethick0;
x30:=0.27*MA(C,3);
m30:=0.57*REF(MA(C,50),1);
VMA30:=x30+m30;
逢底六:C<VMA30*0.97 AND COUNT(H=L AND C=O AND C<REF(C,1),3)<=0,linethick0;
逢底必抄:( 逢底一 + 逢底二 + 逢底三 +逢底四+逢底五+逢底六){>=N},stick3d,colorred;