通达信抓主升浪源码公式四个公式
-
相关简介:通达信抓主升浪源码公式四个公式 {股海网提供: www.guhai.com.cn } C/C++ Code 复制内容到剪贴板 {主升浪公式} var1:=WINNER(CLOSE*0.900)*100; var2:=VOL/CAPITAL*100; var3:=var1-var2; var4:=var31; var5:=var3=1ANDvar35; var6:=var3=5ANDvar310; var7:=var3=10ANDvar325;
-
文章来源:择股网作者:股海网发布时间:2009-08-05浏览次数:
通达信抓主升浪源码公式四个公式
{股海网提供:www.guhai.com.cn}
C/C++ Code复制内容到剪贴板
- {主升浪公式}
- var1:=WINNER(CLOSE*0.900)*100;
- var2:=VOL/CAPITAL*100;
- var3:=var1-var2;
- var4:=var3<1;
- var5:=var3>=1 AND var3<5;
- var6:=var3>=5 AND var3<10;
- var7:=var3>=10 AND var3<25;
- var8:=var3>=25;
- 极弱股:IF(var4, (-10), 0),colorwhite, STICK;
- 弱势股:IF(var5, (-5), 0),coloryellow, STICK;
- 转型股:IF(var6, 5, 0),colorff00ff, STICK;
- 强势股:IF(var7, 10, 0),colorgreen, STICK;
- 主升浪:IF(var8, 15, 0),colorffff00, STICK;
- ------------------------------------------------------
- {z主升浪公式}
- var1:=WINNER(CLOSE*0.900)*100;
- var2:=VOL/CAPITAL*100;
- var3:=var1-var2;
- var4:=var3<1;
- var5:=var3>=1 AND var3<5;
- var6:=var3>=5 AND var3<10;
- var7:=var3>=10 AND var3<25;
- var8:=var3>=25;
- 极弱股:IF(var4, (-10), 0),colorwhite, STICK;
- 弱势股:IF(var5, (-5), 0),coloryellow, STICK;
- 转型股:IF(var6, 5, 0),colorff00ff, STICK;
- 强势股:IF(var7, 10, 0),colorgreen, STICK;
- 主升浪:IF(var8, 15, 0),colorffff00, STICK;
- ------------------------------------------------------------
- {主升浪式}
- Var1:=WINNER(CLOSE*0.900)*100;
- Var2:=VOL/CAPITAL*100;
- Var3:=Var1-Var2;
- Var4:=Var3<1;
- Var5:=Var3>=1 AND Var3<5;
- Var6:=Var3>=5 AND Var3<10;
- Var7:=Var3>=10 AND Var3<25;
- Var8:=Var3>=25;
- 极弱股:IF(Var4, (-10), 0),COLORff3399, STICK;
- 弱势股:IF(Var5, (-5), 0),coloryellow, STICK;
- 转型股:IF(Var6, 5, 0),COLOR0066FF, STICK;
- 强势股:IF(Var7, 10, 0),colorgreen, STICK;
- 主升浪:IF(Var8, 15, 0),,,,Color3821FF, STICK;
- 庄筹估算:EMA(WINNER(C)*70,5) ;
- 散筹估算:EMA((WINNER(C*1.1)-WINNER(C*0.9))*80,5) ;
- cc:=FILTER( (CROSS(5,庄筹估算) and 散筹估算<20 )*60,10 );
- 抄底:cc,coloryellow;
- DRAWTEXT(cc ,11 ,'抄底' ) ,coloryellow;
- aa:= ref(庄筹估算,30)>40 or ref(庄筹估算,20)>40;
- bb:=CROSS(28,庄筹估算) and 散筹估算>40 and aa=1 {and LLV(l ,60 )>LLV(l ,250 )};
- 洗盘:IF(bb ,30 ,60 );
- DRAWTEXT(FILTER(bb,4) ,66 ,'洗盘' ) ;
- DRAWTEXT(庄筹估算>60,58,'★'),colorred;
- stickline(庄筹估算<散筹估算 and 散筹估算<60,散筹估算,55,1,0),colorgreen;
- stickline(庄筹估算>散筹估算,散筹估算,50,1,0),colorred;
- stickline(庄筹估算<散筹估算,庄筹估算,0,0,0),coloryellow;
- ------------------------------------------------------------------
- {量价配合抓主升浪}
- {设计思路:
- 1今天这个量是20日内最大的;
- 2今天的量比昨天的量放大了三倍;)
- 3这个符合条件1,3的量,对应的那个K线收盘价格,大于作天,涨幅大于百分之二}
- tj1:=vol>=hhv(vol,20);{20日内最大的量}
- tj2:=vol/ref(vol,1)>=2;{量,比作天放大了三倍}
- tj3:=tj1 and tj2;
- tj4:=c/o>1.02 and c>ref(c,1);{收盘价格大于作天,涨幅大于百分之二 }
- 量价配合选股:if(tj3 and tj4,1,0),stick,colorff00ff;
下载链接:( 说明:股海资源如需解压密码的请输入本站域名:www.guhai.com.cn请仔细输入!)
|
上一篇:通达信副图公式金叉买点
下一篇:通达信捕捉牛股公式