当前位置: 网站首页 > 股票软件公式 > 通达信公式 > 文章 当前位置: 通达信公式 > 文章

通达信源码精选:锁定目标,中奖买点,强者恒强

点击: 次    来源:顶尖财经    作者:股市狙击 - 小 + 大

1、锁定目标

{公式名称: 锁定目标

公式描述: 股池专用
无参数
公式类型: 条件选股公式-其他类型
公式版本: 0
 
参数精灵:无
用法注释:无
公式源码:}
XA_1:=CLOSE>OPEN AND CLOSE-LOW>HIGH-CLOSE;
XA_2:=CLOSE<OPEN AND HIGH-OPEN<CLOSE-LOW AND OPEN-CLOSE<CLOSE-LOW;
XA_3:=XA_1=1 OR XA_2=1;
XA_4:=(HIGH+LOW+CLOSE)/3;
XA_5:=(XA_4-MA(XA_4,15))/(0.015*AVEDEV(XA_4,15));
XA_6:=(XA_4-MA(XA_4,10))/(0.015*AVEDEV(XA_4,10));
XA_7:=EMA(HIGH,3);
XA_8:=EMA(LOW,3);
XA_9:=EMA(HIGH,5);
XA_10:=EMA(LOW,5);
XA_11:=EMA(LOW,10);
XA_12:=(XA_7+XA_9+XA_8+XA_10)/4;
XA_13:=(XA_7-XA_8)/8+XA_12;
XA_14:=(EXPMA((CLOSE+HIGH+LOW)/3,4)+MA((CLOSE+HIGH+LOW)/3,4*2)+MA((CLOSE+HIGH+LOW)/3,4*4))/3;
XA_15:=(EXPMA((CLOSE+HIGH+LOW)/3,6)+MA((CLOSE+HIGH+LOW)/3,6*2)+MA((CLOSE+HIGH+LOW)/3,6*4))/3;
XA_14>XA_15 AND XA_5>0 AND XA_6>0 AND XA_7>XA_9 AND XA_8>XA_10 AND XA_10>XA_11 AND OPEN<XA_13 AND LOW<XA_8 AND CLOSE<XA_12 AND XA_3=1;
 



2、中奖买点,股池专用 无需L2

 {中奖买点

公式描述: 股池专用}
VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
VAR2:=IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*(HIGH-OPEN+(CLOSE-LOW)),IF(CLOSE=OPEN AND CLOSE>REF(CLOSE,1),VOL,0)));
VAR3:=IF(CLOSE>OPEN,VAR1*(HIGH-CLOSE+(OPEN-LOW)),IF(CLOSE<OPEN,VAR1*(HIGH-LOW),IF(CLOSE=OPEN AND CLOSE<REF(CLOSE,1),VOL,0)));
VAR4:=SUM((VAR2-VAR3)/CAPITAL,1)*1000;
VAR5:=DYNAINFO(23)-DYNAINFO(22);
VAR6:=CLOSE>OPEN AND CLOSE-LOW>HIGH-CLOSE;
VAR7:=CLOSE<OPEN AND HIGH-OPEN<CLOSE-LOW AND OPEN-CLOSE<CLOSE-LOW;
VAR8:=VAR6=1 OR VAR7=1;
VAR9:=(HIGH+LOW+CLOSE)/3;
VAR10:=(VAR9-MA(VAR9,15))/(0.015*AVEDEV(VAR9,15));
VAR11:=(VAR9-MA(VAR9,10))/(0.015*AVEDEV(VAR9,10));
VAR12:=EMA(HIGH,3);
VAR13:=EMA(LOW,3);
VAR14:=EMA(HIGH,5);
VAR15:=EMA(LOW,5);
VAR16:=EMA(LOW,10);
VAR17:=(VAR12+VAR14+VAR13+VAR15)/4;
VAR18:=(VAR12-VAR13)/8+VAR17;
VAR19:=(EXPMA((CLOSE+HIGH+LOW)/3,4)+MA((CLOSE+HIGH+LOW)/3,4*2)+MA((CLOSE+HIGH+LOW)/3,4*4))/3;
VAR20:=(EXPMA((CLOSE+HIGH+LOW)/3,6)+MA((CLOSE+HIGH+LOW)/3,6*2)+MA((CLOSE+HIGH+LOW)/3,6*4))/3;
VAR19>VAR20 AND VAR10>0 AND VAR11>0 AND VAR12>VAR14 AND VAR13>VAR15 AND VAR15>VAR16 AND OPEN<VAR18 AND LOW<VAR13 AND CLOSE<VAR17 AND VAR4>0 AND VAR5>0 AND VAR8=1;




3、强者恒强

 {强者恒强}
主力筹码估算:=EMA(WINNER(CLOSE)*70,3);
散户筹码估算:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);
散户套牢比率:=散户筹码估算/(主力筹码估算+散户筹码估算)*100;
主力控盘比率:=主力筹码估算/(主力筹码估算+散户筹码估算)*100;
LC:=REF(CLOSE,1);
SAT:=(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20));
量能饱和:=(IF(SAT>1,1,SAT)*100);
WR10:=(HHV(HIGH,3)-CLOSE)/(HHV(HIGH,3)-LLV(LOW,3))*100;
WRSI:=SMA(MAX(CLOSE-LC,0),5,1)/SMA(ABS(CLOSE-LC),5,1)*100;
活跃:=(WRSI-WR10);
活跃度比:=IF(活跃>=0,(活跃+100)/2,100-ABS((活跃-100)/2));
强者恒强:主力筹码估算>=50 AND 量能饱和>=80 AND 活跃度比>=80 ;
 
这个公式主要是基于筹码、量能饱和度和个股活跃度综合判断的公式,个人感觉挺不错的也在参考着用。分享出来给有缘看到的坛友,祝股市账户长虹!
注:公式多为追高买入的,正确吃大肉错误吃大面,请谨慎使用!( 股民学院: http://www.58188.com )
无未来函数

上一篇:通达信源码精选:趋势主图,沧海量,多空转换简版

下一篇:通达信源码精选:凤舞九天,德军自用MACD,结构背离