潜龙勿用公式(大智慧)(飞狐用)

{潜龙勿用大智慧}
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);
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;

{飞狐用潜龙勿用}
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(趋势,底部);
DRAWTEXTEX(趋势<底部,1,500,900,'勿用乃用,是小心谨慎,无不利。')colorred;
A1:=C/MA(C,40)*100,LINETHICK0;
A2:=C/MA(C,60)*100,LINETHICK0;
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,PRECISION0,LINETHICK0;
铁底:-74,COLORRED,PRECISION0,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);
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,coloryellow;
ASDC:SUM(ADEMAND,N)/(SUM(ASUPLY,N)+SUM(ADEMAND,N))*100,POINTDOT,LINETHICK0;
80,POINTDOT,LINETHICK1;
20,POINTDOT,LINETHICK1;
STICKLINE(CROSS(rsdc,20),0,60,8,1)colorred;
DRAWICON(A5 and 趋势<底部 and rsdc<=22 or 龙=100,底部,4),PXDN9;




来函数检测结果如下:
该公式没有未来函数

解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  指标公式网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 浙ICP备2024071487号-2 指标公式网别名指标网仅为互联网文章,所有指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。指标公式网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图