首页 > 编程语言 >通达信点火星空指标公式源码副图

通达信点火星空指标公式源码副图

时间:2024-01-26 13:22:17浏览次数:25  
标签:EMA 星空 VOL 通达信 源码 LOW CLOSE 100 REF

2.5,COLORBLACK;
X_1:=CLOSE/REF(CLOSE,1)>=1.0982 AND CLOSE/REF(CLOSE,1)<=1.102 OR CLOSE/REF(CLOSE,1)>=1.1998;
X_2:=IF(AMOUNT/CLOSE/(HHV(AMOUNT,20)/HHV(CLOSE,20))*100>100,100,AMOUNT/CLOSE/(HHV(AMOUNT,20)/HHV(CLOSE,20))*100);
X_3:=100*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60));
X_4:=X_2=100 AND X_3=0;
X_5:=IF(HIGH>CLOSE AND CLOSE>OPEN OR (HIGH>OPEN AND OPEN>=CLOSE),CLOSE,HIGH)+IF(LOW< CLOSE AND CLOSE< OPEN OR (LOW< OPEN AND OPEN<=CLOSE),CLOSE,LOW)/3;
X_6:=EMA((X_5-MA(X_5,84.027))/(0.015*AVEDEV(X_5,84.027)),2.0332);
X_7:=X_6;
X_8:=HHV(MA(X_6,5),21);
X_9:=X_7>X_8;
X_10:=CLOSE*vol;
X_11:=EMA((EMA(X_10,3)/EMA(VOL,3)+EMA(X_10,6)/EMA(VOL,6)+EMA(X_10,12)/EMA(VOL,12)+EMA(X_10,24)/EMA(VOL,24))/4,13);
X_12:=1.13*X_11;
X_13:=REF(CLOSE,1)*1.1-CLOSE< 0.01 AND HIGH=CLOSE;
X_14:=X_9 AND crOSS(CLOSE,X_12) AND X_4;
X_15:=WINNER(CLOSE/1.35)*100;
X_16:=CROSS(X_15,30) AND X_1 AND X_4;
X_17:=3;
X_18:=MA(CLOSE,X_17);
X_19:=MA(CLOSE,2*X_17);
X_20:=MA(CLOSE,3*X_17);
X_21:=MA(CLOSE,4*X_17);
X_22:=MA((X_18+X_19+X_20+X_21)/4,5);
X_23:=X_22*1.08;
X_24:=X_22*1.05;
X_25:=CROSS(CLOSE,X_24) AND X_1;
X_26:=CROSS(CLOSE,X_23) AND X_1;
X_27:=X_26;
X_28:=EMA(CLOSE,12)-EMA(CLOSE,26);
X_29:=EMA(X_28,9);
X_30:=(X_28-X_29)*2;
X_31:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
X_32:=SMA(X_31,3,1);
X_33:=SMA(X_32,3,1);
X_34:=3*X_32-2*X_33;
X_35:=VOL/700000000;
X_36:=1.1*(MAX(HIGH,REF(CLOSE,1))/MIN(LOW,REF(CLOSE,1))-1);
X_37:=2.5*MAX(X_35,X_36);
X_38:=DMA(CLOSE,X_37);
X_39:=SMA(20*(X_38/REF(X_38,1)-1),2,1);
X_40:=EMA(X_39,2);
X_41:=0.24;
X_42:=CLOSE>=REF(CLOSE,1);
X_43:=IF(X_39>X_41 AND X_40>=0.005 AND X_42,1,0);
X_44:=CROSS(X_43,0.5) AND COUNT(X_43>0.5,10)=1;
X_45:=X_34-REF(X_34,1)>30 AND CLOSE/REF(CLOSE,1)>1.043 AND X_30>0 AND X_29>0;
X_46:=CLOSE/REF(CLOSE,1)>1.03 AND CLOSE=HIGH AND BETWEEN(FORCAST(VOL,4),0.2*FORCAST(VOL,12),2.1*FORCAST(VOL,12));
X_47:=FILTER(X_46,28)*100 AND LOW>REF(CLOSE,1)*0.93;
X_48:=X_45 OR X_47 AND X_44;
X_49:=9;
X_50:=10;
X_51:=CLOSE/REF(CLOSE,1)>1+0.01*X_49;
X_52:=EXIST(CLOSE/REF(CLOSE,1)>1+0.01*X_49,X_50);
X_53:=CLOSE/REF(CLOSE,1)>1+0.01*X_49;
X_54:=IF(X_51+X_52+X_53=3,1,0);
X_55:=(HIGH-CLOSE)/(CLOSE-OPEN)< 0.33;
X_56:=CLOSE/REF(CLOSE,1)-1>=0.0502 AND CLOSE>REF(CLOSE,1) AND (OPEN-LOW)/(CLOSE-OPEN)>=1.48 AND LOW< REF(LOW,1) AND LOW< REF(LOW,2);
X_57:=CLOSE/REF(CLOSE,1)-1>=0.08;
X_58:=VOL>REF(VOL,1)*1.9 AND CLOSE>REF(CLOSE,1) AND CLOSE/REF(CLOSE,1)-1>=0.049 AND X_55;
X_59:=CLOSE/REF(CLOSE,1)-1>=0.0502 AND CLOSE>REF(CLOSE,1) AND VOL>REF(VOL,1) AND VOL>REF(VOL,1)*2.5 AND X_55;
X_60:=EMA(2.055*EMA(EMA(HIGH,34),34)-EMA(EMA(LOW,34),34),5);
X_61:=IF(FILTER(X_58 OR X_59 OR X_56 OR X_57 AND X_60>CLOSE,34),1,0) AND X_54;
X_62:=X_48 OR X_61;
X_63:=(REF(CLOSE,3)-CLOSE)/REF(CLOSE,3)*100>5;
X_64:=FILTER(X_63,10);
X_65:=BARSLAST(X_64);
X_66:=REF(HIGH,X_65+2);
X_67:=REF(HIGH,X_65+1);
X_68:=REF(HIGH,X_65);
X_69:=MAX(X_66,X_67);
X_70:=MAX(X_69,X_68);
X_71:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>5;
X_72:=X_65< 150;
X_73:=(OPEN-X_70)/X_70*100< 30;
X_74:=(CLOSE-LLV(LOW,X_65))/LLV(LOW,X_65)*100< 50;
X_75:=(CLOSE-REF(OPEN,5))/REF(OPEN,5)*100< 30;
X_76:=VOL/MA(VOL,5)< 3.5;
X_77:=(CLOSE-REF(CLOSE,89))/REF(CLOSE,89)*100< 80;
X_78:=X_71 AND X_72 AND X_73 AND X_74 AND X_75 AND X_76 AND X_77;
X_79:=FILTER(X_78,15);
X_80:=(CLOSE-MA(CLOSE,54))/MA(CLOSE,54)< 0.1;
X_81:=(CLOSE-MA(CLOSE,10))/MA(CLOSE,10)< 0.3;
X_82:=(X_80=1 AND X_81=1)*0.2;
X_83:=(X_82=0 AND REF(X_82,1)=0.2 AND REF(COUNT(X_82=0.2,10)=10,1)=1)*(-0.1);
X_84:=X_83=(-0.1);
X_85:=X_79 OR X_84;
X_86:=VOL/REF(VOL,1)>1.2 AND COUNT(CLOSE>OPEN,1) OR (LOW>REF(HIGH,1) AND COUNT(OPEN>CLOSE,1) AND VOL/REF(VOL,1)>1.2);
X_87:=X_85 AND CLOSE/REF(CLOSE,1)>1.03 AND X_86;
X_88:=VOL;
X_89:=X_88>MA(VOL,89);
X_90:=EMA(CLOSE,5);
X_91:=EMA(CLOSE,29);
X_92:=X_90>X_91;
X_93:=REF(CLOSE,1);
X_94:=SMA(MAX(CLOSE-X_93,0),12,1)/SMA(Abs(CLOSE-X_93),12,1)*100;
X_95:=SMA(MAX(CLOSE-X_93,0),56,1)/SMA(ABS(CLOSE-X_93),56,1)*100;
X_96:=X_94>X_95 AND X_92 AND X_89;
X_97:=HHV(HIGH,30);
X_98:=LLV(LOW,30);
X_99:=REF((X_97/X_98-1)*100<=30,1);
X_100:=ABS(((3.48*CLOSE+HIGH+LOW)/4-EMA(CLOSE,23))/EMA(CLOSE,23));
X_101:=DMA((2.15*CLOSE+LOW+HIGH)/4,X_100);
X_102:=EMA(X_101,200)*1.1;
X_103:=CROSS(CLOSE,X_102) AND REF(CLOSE*1.097,1)< CLOSE AND X_96 AND X_99;
X_104:=(CLOSE-EMA(CLOSE,5))/EMA(CLOSE,5)*100;
X_105:=EMA(EMA(EMA(CLOSE,50),50),50)*1.1;
X_106:=EMA(EMA(EMA(CLOSE,10),10),10)*1.09;
X_107:=CROSS(X_104,5) AND CROSS(CLOSE,X_105) AND CROSS(CLOSE,X_106);
X_108:=120;
X_109:=MA(CLOSE,X_108);
X_110:=POW(CLOSE-X_109,2);
X_111:=MA(X_110,X_108);
X_112:=SQRT(X_111);
X_113:=X_109+2*X_112;
X_114:=X_113;
X_115:=MA(CLOSE,25);
X_116:=CROSS(CLOSE,X_114) OR COUNT(CLOSE< REF(CLOSE,1),3)=3 AND CLOSE>X_114 AND CLOSE>X_115 AND X_1;
X_117:=X_27 AND (X_62 AND X_87) AND (X_103 OR X_107) AND X_4 AND X_116;
X_118:=REF(HHV(HIGH,21),1);
X_119:=REF(HHV(VOL,21),1);
X_120:=EMA(CLOSE,18);
X_121:=EMA(X_120*1.1,5);
X_122:=CLOSE>=X_121 AND CLOSE/REF(CLOSE,1)>=1.075 AND REF(CLOSE,1)/REF(CLOSE,2)>=1.098 AND REF(CLOSE,2)/REF(CLOSE,3)< 1.098 AND CLOSE/X_121< 1.35 AND CLOSE>X_118 AND CLOSE/X_121>=1.04 AND LOW/X_121<=1.03 AND OPEN/LOW<=1.047 AND VOL/REF(X_119,1)<=5 AND LOW/REF(CLOSE,1)>=0.97 AND REF(VOL,1)/REF(X_119,1)<=5.73 AND LOW/REF(LOW,1)>=1.0618 AND X_1;
X_123:=X_9 AND CROSS(CLOSE,X_12) AND X_13;
X_124:=2;
X_125:=COUNT(X_1,X_124)=1 AND X_1;
X_126:=CROSS(X_62,1) AND X_125;
 

完整源码请下载附件...............

 

标签:EMA,星空,VOL,通达信,源码,LOW,CLOSE,100,REF
From: https://www.cnblogs.com/zhibiao/p/17989115

相关文章

  • SAP dialog 自定义搜索帮助 案例+源码
    同之前的blog一样,新建一个9000的屏幕,元素清单配好ok_code即可前置准备准备一个屏幕,具体步骤和之前一样,这边也按步骤做一下状态栏因为这个只是用于搜索帮助的演示,所以不需要应用应用程序工具栏,只需要设置功能键方便返回测试即可标题9000程序PROCESSBEFOREOUTPUT.......
  • 如何获取微信的版本号详解【附完整源码】
    前两天群里有人问到这个问题,我想着在网上找个教程发给他,没想到这玩意还挺新鲜?网上基本上找不到实质性的回答...关于这个问题,其实挺简单的,微信的版本号其实就写在注册表中,读取它就完事了~打开注册列表找到【计算机\HKEY_CURRENT_USER\Software\Tencent\WeChat】,就看的到版本号......
  • Spring源码导入IDEA记录
    一、首先Spring源码是gradle搭建,gradle会和jdk版本、IDEA产生兼容问题参考【学不完@根本学不完】的文章:SpringBoot版本与Spring、java、maven、gradle版本对应汇总=>由于本地JDK是1.8对应Java8,按照尽可能看新版本查找=>对应表格里面gradle7.x二、gradle安装步骤gradle历......
  • 【C语言进阶篇】模拟实现通讯录 (内附源码)
    (文章目录)......
  • 通达信涨停柱副图指标,红涨停,兰跌停源码
    C2:=REF(C,1);涨停:=IF((C-C2)100/C2>=(10-0.01100/C2),1,0);STICKLINE(涨停,OPEN,CLOSE,2,0),COLOR0000FF;STICKLINE(涨停,H,L,0,0),COLOR0000FF;跌停:=IF((C2-C)100/C2>=(10-0.01100/C2),1,0);STICKLINE(跌停,OPEN,CLOSE,2,0),COLORGREEN;STICKLINE(跌停,H,L,0,1),COLORGR......
  • 通达信金牌MACD副图提示顶底源码
    XA:=DATE<=20240115;DIF:(EMA(C,12)XA-EMA(C,26))XA,COLORF0F0F0;DEA:EMA(DIF,9)XA,COLOR00DCDC;MACD:2(DIF-DEA)XA,COLORSTICK;STICKLINE(MACD>REF(MACD,1)ANDMACD>=0,MACD,0,10/3,0),COLORRED;STICKLINE(MACD>REF(MACD,1)ANDMACD<0,MACD,0,10/3,1),......
  • 解密在线教育系统源码:定制化企业培训的利器
    当下,在线教育系统的出现,不仅突破了时空的束缚,更为企业提供了灵活、高效的培训方式。解密在线教育系统源码,对于企业而言,就如同拥有了一把定制化企业培训的利器。一、解析在线教育系统源码1.前端技术栈的选择在搭建在线教育系统时,选择合适的前端技术栈至关重要。通过深度定制前端界面......
  • 源码分析:线程池里新增一个线程的流程是什么
    1、先判断新线程是不是为空,为空就报空指针错误否则就往下运行;2、判断是否小于核心线程数,小于则直接新增线程否则就往下运行;3、尝试新增到工作队列中,添加成功就等待调用否则就往下运行;4、再次尝试新增线程,如果当前线程池的线程数大于线程池容量或最大线程数就触发拒绝策略。......
  • 源码文件阅读---hooks的使用---使用文心一言读代码
    import{CommonFormTypes}from'globalConstants';import{createContext,useCallback,useState}from'react';import{BoardType}from'../../../DashBoardPage/pages/Board/slice/types';import{VizType}from'./slic......
  • 通达信牛筹码主图指标 超短筹 短中长筹码统计 源码附图
    源码解析:筹码集中度赋值:(获利盘为90+(100-90)/2%的成本分布-获利盘为(100-90)/2%的成本分布)/(获利盘为90+(100-90)/2%的成本分布+获利盘为(100-90)/2%的成本分布)+收盘价输出超短筹:筹码集中度的10日指数移动平均的3日简单移动平均输出短筹:筹码集中度的20日指数移动平均的3日......