当前位置:→ 股海网公式帮助 → 正文
  • 魔王黄金坑

  • 相关简介:编写要求: www.guhai.com.cn 股海网解答: 网友求助: VAR1:=(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100))*200; VAR2:=SMA(VAR1,3,1); VAR3:=SMA(VAR2,3,1); VAR4:=3*VAR2-2*VAR3; VAR5:=LLV(LOW,5); VAR6:=HHV(HIGH,5); VAR7:=EMA((CLOSE-VAR5)/(VAR6-VAR5)*100,4)*2; VAR8:=E

  • 文章来源:股海网作者:股海网发布时间:2015-12-20浏览次数:下载次数:0

编写要求:

 

www.guhai.com.cn股海网解答:

 网友求助:

VAR1:=(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100))*200;
VAR2:=SMA(VAR1,3,1);
VAR3:=SMA(VAR2,3,1);
VAR4:=3*VAR2-2*VAR3;
VAR5:=LLV(LOW,5);
VAR6:=HHV(HIGH,5);
VAR7:=EMA((CLOSE-VAR5)/(VAR6-VAR5)*100,4)*2;
VAR8:=EMA(0.667*REF(VAR7,1)+0.333*VAR7,2);
VAR9:=3*VAR7-2*VAR8;
VARA:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);
VARB:=POW(MA(LOW,5),2)+MA(LOW,5);
VARC:=POW(MA(HIGH,5),2)+MA(HIGH,5);
VARD:=(VARA-LLV(VARB,64))/(HHV(VARC,64)-LLV(VARB,64))*150+65-10;
VARE:=SMA(VARD,3,1)*1.5-100;
VARF:=SMA(VARE,3,1);
VAR10:=3*VARE-2*VARF;
VAR11:=(HIGH+LOW+CLOSE*2)/4;
VAR12:=EMA(VAR11,13);
VAR13:=STD(VAR11,13);
VAR14:=(VAR11-VAR12)*100/VAR13;
VAR15:=EMA(VAR14,5);
VAR16:=EMA(VAR15,13);
VAR17:=EMA(VAR15,13)+200-100;
VAR18:=EMA(VAR17,10);
VAR19:=3*VAR17-2*VAR18;
VAR1A:=VAR2+VAR7+VARE+VAR17;
VAR1B:=VAR3+VAR8+VARF+VAR18;
VAR1C:=VAR4+VAR9+VAR10+VAR19;
VAR1D:=(HIGH+LOW+CLOSE)/3;
VAR1E:=AMOUNT/VOL/100;
VAR1F:=SUM(AMOUNT,5)/SUM(VOL,5)/100;
VAR20:=(VAR1D-MA(VAR1D,34))/(0.015*AVEDEV(VAR1D,34));
VAR21:=DMA(AMOUNT/VOL/100,VOL/CAPITAL);
VAR22:=(HIGH+LOW+CLOSE+VAR1D)/4;
VAR23:=EMA(VAR22,24);
VAR24:=STD(VAR22,24);
VAR25:=(VAR22-VAR23)/VAR24*100;
VAR26:=(VAR1D-MA(VAR1D,24))/(0.015*AVEDEV(VAR1D,24));
VAR27:=EMA(VAR25,5);
VAR28:=(VAR1E-MA(VAR1E,21))/(0.015*AVEDEV(VAR1E,21));
VAR29:=(VAR1F-MA(VAR1F,90))/(0.015*AVEDEV(VAR1F,90));
VAR2A:=((VAR29+VAR28+VAR27+VAR26+VAR20)/5+165)/4;
VAR2B:=(EMA(EMA(EMA(VAR2A,15),10),5)-25)*2+VAR21;
VAR2C:=(VAR1A+VAR1B+VAR1C*30)/32/5-15;
VAR2D:=EMA(VAR2C,13);
VAR2E:=(VAR2A+VAR2C)/2/1.1;
A:EMA(VAR2E,3),LINETHICK2;

B:(VAR2B+VAR2D)/2*0.92,LINETHICK2,colorFF;
CC:(VAR2B+VAR2D)/2*0.3018,LINETHICK2;

VAR1:=MA(LOW,1);
VAR2:=MA(HIGH,2);
VAR3:=MA(CLOSE,2);
VAR6:=(HHV(VAR2,9)-VAR3)/(HHV(VAR2,9)-LLV(VAR1,9))*100;
TTR:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),5);
HD:=HIGH-REF(HIGH,1);
LD:=REF(LOW,1)-LOW;
DMP:=(SUM(IF(HD>0 AND HD>LD,HD,0),5));
DMM:=SUM(IF(LD>0 AND LD>HD,LD,0),5);
PDI:=DMP*100/TTR;
MDI:=DMM*100/TTR;
ADX:=MA((ABS(MDI-PDI))/(MDI+PDI)*100,3);
【势】:=SMA(VAR6,3,1);
魔王黄金坑:(IF(ADX>72 AND PDI<3.8 AND 【势】>60,70,118)),LINETHICK2,colorFF00FF;
RSV2:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
K2:=SMA(RSV2,3,1);
D2:=SMA(K2,3,1);
J2:=3*K2-2*D2;
动力线:=EMA(J2,6);
筹码线:=ABS((CLOSE-LLV(LOW,265))/LLV(LOW,265))*100;
Q:=(MA(筹码线,1)+MA(筹码线,3)+MA(筹码线,5)+MA(筹码线,7)+MA(筹码线,9))/5;
神偷指数:=EMA(100*(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36)),36)/4;
暗器22:=IF(CROSS(筹码线,动力线),-55,0);
暗器23:=IF(CROSS(神偷指数,动力线),-55,0);
QQ:=暗器22 OR 暗器23;
DRAWICON(QQ>0 ,神偷指数,1);
TJ:=IF(STRCMP(USERNAME,'yngs')=0,1,0);
相对胜率:=ABS((COST(50)-CLOSE)/CLOSE*100);
庄筹线:=EMA(WINNER(CLOSE)*70,5);
A1:=(CLOSE-REF(CLOSE,13))/CLOSE*100;
有短线资金入场:IF(相对胜率>30 AND 庄筹线<3 AND A1<=-10,A1,-23),LINETHICK3,colorFF99FF;
异动量:(IF(VOL>REF(VOL,1) AND REF(VOL,1)>REF(VOL,2) AND CLOSE<REF(CLOSE,1) AND HIGH<SUM((HIGH+LOW)/2*VOL,5)/SUM(VOL,5),-10,-20)),LINETHICK2,colorFFFF;
VARQ1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VARQ2:=(SMA(ABS(LOW-VARQ1),13,1))/(SMA(MAX(LOW-VARQ1,0),10,1));
VARQ3:=EMA(VARQ2,10);
VARQ4:=LLV(LOW,33);
VARQ5:=(EMA(IF(LOW<=VARQ4,VARQ3,0),3))*1;
主力进场:STICKLINE(VARQ5>REF(VARQ5,1),0,VARQ5,7,0),colorFFFF00;
VAR1:=(CLOSE-LLV(LOW,24))/(HHV(HIGH,24)-LLV(LOW,24))*100;
VAR2:=SMA(VAR1,3,1);
VAR3:=SMA(VAR2,3,1)*VAR1;
VAR4:=SMA(VAR3,3,1);
VAR9:=CROSS(VAR4,VAR3) AND VAR3>80;
AA:=(SMA(ABS(LOW-REF(LOW,1)),30,1))/(SMA(MAX(LOW-REF(LOW,1),0),30,1));
TP:=(EMA(IF(LOW<=LLV(LOW,30),AA,0),3))*10;
VAR26:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
VAR36:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
VAR46:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
VAR56:=(VAR26+2*VAR36+3*VAR46)/6;
VAR66:=MA(VAR56,3);
VAR76:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR86:=SMA(VAR76,2,1);
VAR96:=SMA(VAR86,2,1);
VARA:=3*VAR86-2*VAR96;
关注:STICKLINE(CROSS(VARA,VAR96) AND COUNT(VAR66<-9,2)>=1,1,40,8,0),LINETHICK3,colorFFFFFF;谢谢
 

 
解答如下:
VAR1:=(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100))*200;
VAR2:=SMA(VAR1,3,1);
VAR3:=SMA(VAR2,3,1);
VAR6:=HHV(HIGH,5);
VAR1:=MA(LOW,1);
VAR2:=MA(HIGH,2);
VAR3:=MA(CLOSE,2);
VAR6:=(HHV(VAR2,9)-VAR3)/(HHV(VAR2,9)-LLV(VAR1,9))*100;
TTR:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),5);
HD:=HIGH-REF(HIGH,1);
LD:=REF(LOW,1)-LOW;
DMP:=(SUM(IF(HD>0 AND HD>LD,HD,0),5));
DMM:=SUM(IF(LD>0 AND LD>HD,LD,0),5);
PDI:=DMP*100/TTR;
MDI:=DMM*100/TTR;
ADX:=MA((ABS(MDI-PDI))/(MDI+PDI)*100,3);
【势】:=SMA(VAR6,3,1);
魔王黄金坑:((ADX>72 AND PDI<3.8 AND 【势】>60));
 ☟问题反馈 ☞┄┄┄┄┄┄┄┄┄┄→收藏资源:

魔王黄金坑

  • 下载资源所需积分

    0

  • 当前拥有积分

    0

上传会员: 
股海网
文件大小: 
Bytes
上传时间: 
2015-12-20
下载积分: 
-
免责声明: 
请仔细阅读并同意后才能下载
本附件为用户分享上传,股海网没有对文件进行验证,不能保证下载资源的准确性、安全性和完整性,也不保证下载资源能正常安装和使用,且下载后扣除的积分无法退还,除非您充分理解并完全接受本声明,否则您无权下载。
本站对提供下载的软件、指标、资料等不拥有任何权利,其版权归该下载资源的合法拥有者所有。本附件仅供学习和研究使用,不得用于商业或者非法用途,如有侵犯您的版权, 请参看 《股海网侵权处理流程》《股海网免责声明条款》
点击下载无反应时,更换主流浏览器重新登录操作,如360浏览器、Edge浏览器、谷歌浏览器,个别浏览器有不兼容现象。
勾选以下表示您已经阅读并同意以上声明才能下载本文件,扣除积分无法退还!
我已阅读所有条款规定, 请点我同意 所有条款内容!我自愿下载!
提示:如下载失败,请点关闭刷新此页面或提交问题反馈给管理员→
关闭

关于我们 - 联系我们 - 隐私政策 - 免责声明 - 下载帮助 - 广告合作 - SiteMap - TOP
增值电信业务经营ICP许可证:湘B2-20210269 湘ICP备09016573号-10 湘公网安备43108102000040号
Copyright © 2021 铭网科技,All Rights Reserved.