以下是通达信资金雷达P源码附图
通达信资金雷达P源码附图
VARQS1:=991080610;
VARQS2:=IF(DATE<=VARQS1,1,0);
VARQS3:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*200*10;
资金流量:SMA(VARQS3,5,1)*VARQS2,LINETHICK3;
LLV(资金流量,3),LINETHICK1;
HHV(资金流量,3),LINETHICK1;
VARQS4:=VOL/((HIGH-LOW)*2-(ABS(CLOSE-OPEN)));
VARQS5:=AMOUNT/(100*VOL);
VARQS6:=MA(VARQS5,40);
VARQS7:=100*(CLOSE-VARQS6)/VARQS6;
VARQS8:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;
VARQS9:=SMA(VARQS8,3,1);
VARQS10:=SMA(VARQS9,3,1);
资金平衡线:SMA(VARQS10,5,1)*15*VARQS2,LINETHICK3;
VARQS11:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
VARQS12:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
VARQS13:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
VARQS14:=DMA(EMA(CLOSE,12),SUM(VOL,5)/3/CAPITAL);
VARQS15:=(CLOSE-VARQS14)/VARQS14*100;
VARQS16:=REF(VARQS15,1)<-40 AND VARQS15>REF(VARQS15,1) AND REF(VARQS15,1)<REF(VARQS15,2) AND VARQS15-REF(VARQS15,1)>2.5;
VARQS17:=(MA(AMOUNT,5)/MA(VOL,5)/100-MA(AMOUNT,110)/MA(VOL,110)/100)/(MA(AMOUNT,5)/MA(VOL,5)/100)<-0.273;
VARQS18:=(CLOSE-MA(CLOSE,30))/MA(CLOSE,30)<-0.125;
VARQS19:=VARQS17 AND VARQS18;
VAR3A:VARQS11>=-45 AND VARQS11<=-10 AND VARQS12<=-15 AND VARQS13<=-20;
VARQS20:=COUNT(VAR3A,1)>=1;
VARQS21:=1;
VARQS22:=VARQS19 AND VARQS20;
VARQS23:=(MA(AMOUNT,5)*VARQS21/MA(VOL,5)/100-MA(AMOUNT,125)/MA(VOL,125)/100)/(MA(AMOUNT,5)/MA(VOL,5)/100)<-0.4*VARQS21;
VARQS24:=HHV(HIGH,500);
VARQS25:=LLV(LOW,500);
VARQS26:=HHV(HIGH,250);
VARQS27:=LLV(LOW,250);
VARQS28:=EMA(CLOSE,34);
VARQS29:=MA(VARQS28*0.82,5);
VARQS30:=CLOSE-REF(MA(CLOSE,20),11)<-2;
VARQS31:=LLV(LOW,125);
VARQS32:=MA((VARQS24*0.45+VARQS26*0.5+VARQS25+VARQS27+VARQS31)/5,35);
VARQS33:=VARQS32;
VARQS34:=SMA(AMOUNT/VOL/100,13,1)*0.85;
VARQS35:=CLOSE-REF(MA(CLOSE,20),11);
VARQS36:=CLOSE<VARQS29 AND VARQS23 AND CLOSE<VARQS34 OR CLOSE<VARQS29 AND VARQS30 AND VARQS23 OR CLOSE<VARQS29 AND CLOSE<VARQS34 OR CLOSE<VARQS29 AND VARQS23 AND CLOSE<VARQS34 OR VARQS23 AND CLOSE<VARQS33 OR VARQS23 AND VARQS30 AND VARQS35<-1.5 OR VARQS23 AND CLOSE<VARQS29 OR VARQS23 AND VARQS35<-1.5 OR VARQS30 AND CLOSE<VARQS34 OR CLOSE<VARQS33 AND VARQS35<-1.5 OR CLOSE<VARQS29 AND VARQS30;
VARQS37:=VARQS17 AND VARQS18;
VARQS38:=VARQS11>=-45 AND VARQS11<=-7 AND VARQS12<=-11 AND VARQS13<=-14;
VARQS39:=COUNT(VARQS38,1)>=1;
VARQS40:=VARQS37 AND VARQS39;
VARQS41:=VARQS23 AND CLOSE<VARQS29 AND VARQS30 AND CLOSE<VARQS33 AND VARQS36 AND VARQS40;
VARQS42:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
VARQS43:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
VARQS44:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
VARQS45:=REF(CLOSE,1);
VARQS46:=(SMA(MAX(CLOSE-VARQS45,0),5,1))/(SMA(ABS(CLOSE-VARQS45),5,1))*100;
VARQS47:=(HIGH+LOW+CLOSE)/3;
VARQS48:=(VARQS47-MA(VARQS47,14))/(0.015*AVEDEV(VARQS47,14));
VARQS49:=REF(CLOSE,2)*0.865;
VARQS50:=REF(CLOSE,13)*0.772;
VARQS51:=MIN(VARQS49,VARQS50);
VARQS52:=100*VOL/CAPITAL;
VAR5C:VARQS42>=-15.8 AND VARQS42<=-12.2 AND VARQS43<=-2.8 AND VARQS44<=-8.5 AND VARQS46<=25.7 AND VARQS48<=-145;
关注拐点:IF(VARQS16 OR VARQS22 OR VARQS41 OR VAR5C OR (CLOSE-VARQS51)/CLOSE<0.03 AND SUM(VARQS52,5)/5<1.8,800,0);
评论(0)