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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信强牛回头主图指标公式源码


    [-----复制链接-----]
楼主
 通达信源码安装路径:1,工具栏点击公式选项。2,弹出公式窗口点击新建。3,把源码复制到指标编辑器保存。4,回到K线图界面安装建立好的公式 || 7 天前

MA5:MA(CLOSE,5);
MA10:MA(CLOSE,10);
MA20:MA(CLOSE,20);
MA30:MA(CLOSE,30);
MA60:MA(CLOSE,60);
MA120:MA(CLOSE,120);
趋势线:HHV(MA10,90),COLORRED,LINETHICK2;
ABC1:=REF(CLOSE,3)/REF(CLOSE,4)>1.09 AND REF(CLOSE,3)=REF(HIGH,3) AND REF(CLOSE,3)>REF(MA(CLOSE,5),3) AND REF(OPEN,3)>REF(MA(CLOSE,10),3) AND NOT(REF(CLOSE,2)/REF(CLOSE,1)>=1.09 AND REF(CLOSE,3)/REF(CLOSE,2)>=1.09);
ABC2:=HIGH/REF(CLOSE,1)>=1.041;
ABC3:=ABC1 AND ABC2;
ABC4:=REF(CLOSE,4)/REF(CLOSE,5)>1.09 AND REF(CLOSE,4)=REF(HIGH,4) AND REF(CLOSE,4)>REF(MA(CLOSE,5),4) AND REF(OPEN,4)>REF(MA(CLOSE,10),4) AND NOT(REF(CLOSE,2)/REF(CLOSE,1)>=1.09 AND REF(CLOSE,3)/REF(CLOSE,2)>=1.09);
ABC5:=HIGH/REF(CLOSE,1)>=1.041;
ABC6:=REF(CLOSE,4)/OPEN>1.02;
ABC7:=ABC4 AND ABC5 AND ABC6;
ABC8:=REF(CLOSE,5)/REF(CLOSE,6)>1.09 AND REF(CLOSE,5)=REF(HIGH,5) AND REF(CLOSE,5)>REF(MA(CLOSE,5),5) AND REF(OPEN,5)>REF(MA(CLOSE,10),5);
ABC9:=HIGH/REF(CLOSE,1)>=1.041;
ABC10:=ABC8 AND ABC9;
ABC11:=REF(CLOSE,6)/REF(CLOSE,7)>1.09 AND REF(CLOSE,6)=REF(HIGH,6) AND REF(CLOSE,6)>REF(MA(CLOSE,5),6) AND REF(OPEN,6)>REF(MA(CLOSE,10),6);
ABC12:=HIGH/REF(CLOSE,1)>=1.041;
ABC13:=ABC11 AND ABC12;
ABC14:=REF(CLOSE,7)/REF(CLOSE,7)>1.09 AND REF(CLOSE,7)=REF(HIGH,7) AND REF(CLOSE,7)>REF(MA(CLOSE,5),7) AND REF(OPEN,7)>REF(MA(CLOSE,10),7);
ABC15:=HIGH/REF(CLOSE,1)>=1.041;
ABC16:=ABC14 AND ABC15;
ABC17:=MA(CLOSE,5)>MA(CLOSE,10) AND MA(CLOSE,10)>MA(CLOSE,20) AND OPEN< MA(CLOSE,5) AND REF(CLOSE,2)/REF(CLOSE,3)< 1.099 AND (REF(CLOSE,1)< REF(MA(CLOSE,5),1) OR LOW< MA(CLOSE,10)) AND MA(CLOSE,5)>REF(MA(CLOSE,5),1) AND REF(LOW,1)>REF(MA(CLOSE,20),1) AND OPEN/REF(CLOSE,1)< 1.09 AND CLOSE>OPEN;
ABC18:=ABC3 OR ABC7 OR ABC10 OR ABC13 OR ABC16 AND ABC17;
ABC19:=MA(CLOSE,5)>MA(CLOSE,20) AND MA(CLOSE,5)>MA(CLOSE,10);
ABC20:=ABC18 AND ABC19;
ABC21:=ABC20 AND BARSCOUNT(CLOSE)< 90;
ABC22:=ABC20 AND MA(CLOSE,5)>MA(CLOSE,60) AND MA(CLOSE,5)>MA(CLOSE,120) AND MA(CLOSE,10)>MA(CLOSE,30) AND MA(CLOSE,10)>MA(CLOSE,60) AND MA(CLOSE,10)>MA(CLOSE,120);
ABC23:=ABC21 OR ABC22;
STICKLINE(ABC23,OPEN,CLOSE,2.5,0),COLORYELLOW;
DRAWICON(ABC23,LOW*0.97,1);
DRAWTEXT(ABC23,LOW*0.94,'★低吸'),COLORYELLOW;





回复

举报

QQ|

GMT+8, 2024-11-27 18:11

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