股资源-股票学习站-学炒股-股票课程-炒股教程-分析选股指标-入门基础知识

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 「指标」砸锅卖田买及选股公式源码


    [-----复制链接-----]

22万

主题

22万

帖子

14

精华

积分
11042
楼主
2024-3-11 12:22:20
【资料名称】:砸锅卖田买及选股公式源码介绍
【资料描述】:

砸锅卖田买及选股公式源码

砸锅卖田买

高手在帮忙把出(砸锅买)做个预警

短趋势: ((3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA
(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1)-50)*1.032+60),
COLORRED;
VAR20:=REF(LOW,1);
VAR30:= LLV(LOW,34);
VAR40:=HHV(HIGH,34);
长趋势:EMA((VAR20-VAR30)/(VAR40-VAR30)*100,13),COLOR00FF00;
判断底:SQRT(SQRT(FLOOR(SQRT(MA(1/WINNER(CLOSE)*100,4)/10000))))*5;
VAR50:=CROSS(短趋势,长趋势)AND 长趋势<25;
底:STICKLINE(短趋势<10 AND 判断底>0,0,30,1,1);
STICKLINE(VAR50,0,50,1,0) ,COLORRED;
DRAWICON(VAR50 AND 判断底>0,60,1);
DRAWTEXT(COUNT(短趋势<10 AND 判断底>0,8) AND VAR50,50,'砸锅买');
VAR2:=REF(LOW,1);
VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100;
VAR4:=EMA(IF(CLOSE*1.2,VAR3*10,VAR3/10),3);
VAR5:=LLV(LOW,38);
VAR6:=HHV(VAR4,38);
VAR7:=IF(LLV(LOW,90),1,0);
VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7;
{有庄的影子: STICKLINE(VAR8,0,VAR8,1,-1) , COLORFFAAFF;}
趋势线: (CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100 , COLORAABBDD;
AA:=((REF(趋势线,1)<REF(趋势线,2) AND 趋势线<-30) AND 趋势线>=REF(趋势线,1)) OR (REF(CROSS(-30,趋势线),1) AND CROSS(趋势线,-30)) OR 趋势线=-30;
DRAWTEXT(AA,100,'砸锅卖田买'),COLORYELLOW;
砸锅卖田买:IF(AA,100,0),COLORYELLOW;
BB:=((REF(趋势线,1)<REF(趋势线,2) AND 趋势线<-20 AND 趋势线>-25)
AND 趋势线>=REF(趋势线,1)) OR (REF(CROSS(-20,趋势线),1) AND CROSS(趋势线,-20));
DRAWTEXT(BB,30,'见底'),COLORRED;
见底:IF(BB,20,0),COLORRED;
CC:=((REF(趋势线,1)<REF(趋势线,2) AND 趋势线<-25 AND 趋势线>-30)
AND 趋势线>=REF(趋势线,1)) OR (REF(CROSS(-25,趋势线),1) AND CROSS(趋势线,-25));
DRAWTEXT(CC,80,'机会'),COLOR00FF00;
机会:IF(CC,75,0),COLOR00FF00;
底部:IF(CROSS(-20,趋势线),60,0),LINETHICK2,COLORF0F000;
DRAWTEXT(CROSS(-20,趋势线),12,'★'),COLORF0F000;
 

选股公式:
短趋势:=((3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA
(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1)-50)*1.032+60);
VAR20:=REF(LOW,1);
VAR30:= LLV(LOW,34);
VAR40:=HHV(HIGH,34);
长趋势:=EMA((VAR20-VAR30)/(VAR40-VAR30)*100,13);
判断底:=SQRT(SQRT(FLOOR(SQRT(MA(1/WINNER(CLOSE)*100,4)/10000))))*5;
VAR50:=CROSS(短趋势,长趋势)AND 长趋势<25;
砸锅买:COUNT(短趋势<10 AND 判断底>0,8) AND VAR50;
 


 


 



gd10616


【下载地址隐藏】:                    点:回复可见地址
游客,如果您要查看本帖隐藏内容请回复






上一篇:「指标」广发金手指 源码
下一篇:「指标」趋势判断(副图 源码)
回复

举报

QQ|

GMT+8, 2024-11-24 14:43

快速回复 返回顶部 返回列表