大智慧潜龙勿用指标公式

input:N1(21,1,100),N2(34,1,100),M1(25,1,100),N(20,0,999);

底部:5,LINETHICK0,COLOR00FFFF;

趋势:5*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)-SMA(SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),2,1);

抄底:crOSS(趋势,底部);

A1:=C/MA(C,40)*100;

A2:=C/MA(C,60)*100;

A3:=H>L*1.051;

A4:=A3 AND COUNT(A3,5)>1;

A5:=A4 AND (A1<76 OR A2<74) AND Abs(C-O)>0.1*0.1*REF(C,1);

伏击:-76,COLOR00FFFF,LINETHICK0;

铁底:-74,COLORRED,LINETHICK0;

A6:=IF(A1>90,90,A1);

A7:=IF(A2>90,90,A2);

VAR1:=(((CLOSE - MA(CLOSE,N1)) / stD(CLOSE,N1)) * 100);

VAR2:=EMA(VAR1,5);

VAR3:=EMA(VAR2,5);

VAR4:=(((MA(CLOSE,N2) - CLOSE) / MA(CLOSE,N2)) * 100);

龙:=IF(CROSS(VAR2,VAR3) AND REF(VAR4,1) > M1 AND CLOSE > REF(CLOSE,1),100,0);

{www.zhibiaow.com 指标网_最新股票指标公式}

APP:=vol/((HIGH-LOW)*2-(ABS(CLOSE-OPEN)));

ASUPLY:=IF(CLOSE>OPEN,APP*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE<OPEN,APP*(HIGH-LOW),VOL/2));

ADEMAND:=IF(CLOSE>OPEN,APP*(HIGH-LOW),IF(CLOSE<OPEN,APP*(HIGH-OPEN+CLOSE-LOW),VOL/2));

RDEMAND:=IF(CLOSE>OPEN,APP*(CLOSE-OPEN),0);

RSUPLY:=IF(CLOSE<OPEN,APP*(OPEN-CLOSE),0);

RSDC:SUM(RDEMAND,N)/(SUM(RSUPLY,N)+SUM(RDEMAND,N))*100,POINTDOT,LINETHICK3,colorred;

ASDC:SUM(ADEMAND,N)/(SUM(ASUPLY,N)+SUM(ADEMAND,N))*100,POINTDOT,LINETHICK0;

80,POINTDOT,LINETHICK2;

20,POINTDOT,LINETHICK2;

STICKLINE(CROSS(rsdc,20),0,120,22,1),colorred;

DRAWICON(A5 and 趋势<底部 and rsdc<=22 or 龙=100,底部,7),ALIGN1;