当前位置:分析家公式网 → 股票公式 → 通达信公式 → 一键转帖:猎庄,珍藏很久很准的好公式(通达信公式 副图 源码 测试图)
软件名称:[B]猎庄,珍藏很久很准的好公式(通达信公式 副图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:17.0 KB
官方主页:Home Page
更新时间:2020-05-15 00:15:04
软件简介:
这个公式,我自己一直使用,珍藏很久很准的好公式
{公式名称: 猎庄
公式描述:
参数数量: 1
参数1: N, 最小: 1, 最大: 20, 缺省: 5
公式类型: 技术指标公式-龙系
画线方法: 副图
公式版本: 0
显示小数: 缺省位数
坐标线位置: 自动
额外Y轴分界: 无
参数精灵:
请设置计算参数:
N: Param#0 (1.00--20.00)
用法注释:无
公式源码:}
换手:IF(SETCODE=0 OR SETCODE=1,100*VOL,VOL)/(FINANCE(7)/100),NODRAW;
VAR1:=55;
VAR2:=34;
VAR3:=REF(CLOSE,1);
VAR4:=SMA(MAX(CLOSE-VAR3,0),3,1)/SMA(ABS(CLOSE-VAR3),3,1)*100;
VAR5:=EMA(CLOSE,3);
VAR6:=EMA(CLOSE,21);
DRAWTEXT(CROSS(85,VAR4),75,76),COLORGREEN;
VAR7:=(CLOSE-LLV(LOW,VAR2))/(HHV(HIGH,VAR2)-LLV(LOW,VAR2))*100;
VAR8:=SMA(VAR7,3,1);
VAR9:=SMA(VAR8,3,1);
VAR10:=3*VAR8-2*VAR9;
VAR11:=MAX(HHV(CLOSE,5),HHV(OPEN,5));
VAR12:=MIN(LLV(CLOSE,5),HHV(OPEN,5));
VAR13:=(VAR11/VAR12-1)*100;
VAR14:=VAR13<7;
VAR15:=EMA(VAR10,20);
有戏:EVERY(VAR15>REF(VAR15,1),3) AND VAR14;
STICKLINE(有戏,0,20,4,0),COLORWHITE;
VAR16:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR17:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
VAR18:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
VAR19:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
VAR20:=(VAR17+2*VAR18+3*VAR19)/6;
VAR21:=MA(VAR20,3);
关注:STICKLINE(VAR21<=(-8),5,25,7,0);
出击:STICKLINE(VAR21<=(-10),80,100,5,0),COLORYELLOW;
引导雷达:STICKLINE(VAR21<=(-10),65,35,4,0),COLORYELLOW;
制导雷达:STICKLINE(VAR21<=(-10),40,0,4,1),COLORRED;
VAR22:=STICKLINE(VAR21<=(-10),80,30,3,0);
导弹:STICKLINE(VAR21<=(-10),80,60,3,0),COLORWHITE;
雷达:IF(VAR21<=(-10),20,0),COLORRED,LINETHICK3;
VAR23:=150;
VAR24:=3;
VAR25:=REF(HHV(HIGH,VAR23),VAR24);
VAR26:=REF(LLV(LOW,VAR23),VAR24);
VAR27:=VAR25-(VAR25-VAR26)*0.618;
VAR28:=REFDATE(VAR27,DATE);
VAR29:=BARSLASTCOUNT(CLOSE<VAR28);
VAR30:=CROSS(CLOSE,VAR28);
VAR31:=VAR29>100;
VAR32:=REF(VAR31,1);
VAR33:=VAR32 AND VAR30;
DRAWICON(VAR33,50,34);
VAR34:=EMA(HHV(HIGH,1),8);
VAR35:=EMA(CLOSE,8);
VAR36:=VAR35<REF(VAR35,1) AND CLOSE<VAR35;
VAR37:=IF(VAR34<REF(VAR34,1) OR VAR36,1,0);
全仓出击:(COUNT(VAR37=1,4)=3 AND VAR37=0 AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>0.085)*89;
STICKLINE(全仓出击,66,0,3,0),COLORGREEN;
DRAWICON(全仓出击>=89,67,1);
DRAWTEXT(全仓出击>=89,69,77);
VAR38:=IF(YEAR>=2098 AND MONTH>=1,0,1);
VAR39:=REF(LOW,1)*VAR38;
VAR40:=SMA(ABS(LOW-VAR39),3,1)/SMA(MAX(LOW-VAR39,0),3,1)*100*VAR38;
VAR41:=EMA(IF(CLOSE*1.3,VAR40*10,VAR40/10),3)*VAR38;
VAR42:=LLV(LOW,30)*VAR38;
{分析家公式网 WWW.70822.com 整理}
VAR43:=HHV(VAR41,30)*VAR38;
VAR44:=IF(MA(CLOSE,58),1,0)*VAR38;
VAR45:=EMA(IF(LOW<=VAR42,(VAR41+VAR43*2)/2,0),3)/618*VAR44*VAR38;
吸筹:IF(VAR45>100,100,VAR45)*VAR38,COLORRED;
庄家吸筹:STICKLINE(吸筹>(-150),0,吸筹,5,0),COLORRED;
散户:100*(HHV(HIGH,VAR1)-CLOSE)/(HHV(HIGH,VAR1)-LLV(LOW,VAR1)),COLOR2F4F2F,LINETHICK2;
庄家:EMA(VAR10,1),COLORYELLOW,LINETHICK3;
VAR46:=EMA(EMA(CLOSE,9),9);
VAR47:=(VAR46-REF(VAR46,1))/REF(VAR46,1)*1000;
STICKLINE(VAR47<0,VAR47,0,1,0),COLORWHITE;
VAR48:=CROSS(VAR47,0);
VAR49:=IF(VAR47<0,VAR47,0);
开始控盘:IF(VAR48,5,0),COLORYELLOW;
STICKLINE(VAR47>REF(VAR47,1) AND VAR47>0,VAR47,0,1,0),COLORRED;
有庄控盘:IF(VAR47>REF(VAR47,1) AND VAR47>0,VAR47,0),NODRAW,COLORRED;
VAR50:=100*WINNER(CLOSE*0.95);
STICKLINE(VAR50>50 AND COST(85)<CLOSE AND VAR47>0,VAR47,0,1,0),COLORMAGENTA;
高度控盘:IF(VAR50>50 AND COST(85)<CLOSE AND VAR47>0,VAR47,0),NODRAW,COLORMAGENTA;
STICKLINE(VAR47<REF(VAR47,1) AND VAR47>0,VAR47,0,1,0),COLORGREEN;
主力出货:IF(VAR47<REF(VAR47,1) AND VAR47>0,VAR47,0),NODRAW,COLORGREEN;
多头力量:SUM(IF(CLOSE>OPEN,VOL,0),30)/SUM(VOL,30)*100,COLORWHITE,LINETHICK2;
VAR51:=EMA(WINNER(CLOSE)*70,3);
VAR52:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);
主力控盘:VAR51/(VAR51+VAR52)*100,COLORGREEN,LINETHICK2;
VAR53:=90;
VAR54:=80;
平衡:50,COLORGREEN;
VAR55:=20;
VAR56:=0;
DRAWTEXT(CROSS(主力控盘,20),VAR55,78),COLORYELLOW;
DRAWTEXT(CROSS(主力控盘,50),平衡,78),COLORRED;
{分析家公式网 WWW.70822.com 整理}
[url=http://www.70822.com/soft/sort013/sort05/down-147696.html]猎庄,珍藏很久很准的好公式(通达信公式 副图 源码 测试图)[/url]