分析家公式网,提供指标公式,股票软件 用户登录  |  用户 注册

软件名称:[B]缠通套利,简化缠论指标(通达信公式 主图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:5.00 KB
官方主页:Home Page
更新时间:2024-11-07 07:21:15
软件简介:

 {公式名称: 缠通套利

公式描述: 
参数数量: 1
参数1: 老笔, 最小: 0, 最大: 1, 缺省: 0
公式类型: 技术指标公式-其他类型
画线方法: 主图叠加
公式版本: 0
显示小数: 缺省位数
坐标线位置: 自动
额外Y轴分界: 无
 
参数精灵:
请设置计算参数:
老笔: PARAM#0 (0.00--1.00)
用法注释:无
公式源码:}
X_1:=MA(CLOSE,5);
X_2:=MA(CLOSE,10);
X_3:=REF(HIGH,5)=HHV(HIGH,11);
X_4:=REF(LOW,5)=LLV(LOW,11);
X_5:=BACKSET(X_3,6)>BACKSET(X_3,5);
X_6:=BACKSET(X_4,6)>BACKSET(X_4,5);
X_7:=IF(BARSLAST(X_5)=BARSLAST(X_6) AND X_1>X_2,X_5,IF(BARSLAST(X_6)>BARSLAST(X_5),X_5,0));
X_8:=IF(BARSLAST(X_5)=BARSLAST(X_6) AND X_2>X_1,X_6,IF(BARSLAST(X_5)>BARSLAST(X_6),X_6,0));
X_9:=X_7 AND HIGH=HHV(HIGH,BARSLAST(X_8));
X_10:=X_8 AND LOW=LLV(LOW,BARSLAST(X_7));
GP:IF(X_9,HIGH,DRAWNULL),CIRCLEDOT,COLORCYAN;
DP:IF(X_10,LOW,DRAWNULL),CIRCLEDOT,COLORCYAN;
X_11:=LOW>REF(HIGH,1) AND DAY!=REF(DAY,1);
X_12:=HIGH<REF(LOW,1) AND DAY!=REF(DAY,1);
X_13:=REF(LOW,BARSLAST(X_11));
X_14:=REF(HIGH,BARSLAST(X_12));
X_15:=REF(HIGH,BARSLAST(X_9));
X_16:=REF(LOW,BARSLAST(X_9));
X_17:=REF(HIGH,BARSLAST(X_9)+1);
X_18:=REF(LOW,BARSLAST(X_9)+1);
X_19:=REF(HIGH,BARSLAST(X_9)+2);
X_20:=REF(LOW,BARSLAST(X_9)+2);
X_21:=REF(HIGH,BARSLAST(X_10));
X_22:=REF(LOW,BARSLAST(X_10));
X_23:=REF(HIGH,BARSLAST(X_10)+1);
X_24:=REF(LOW,BARSLAST(X_10)+1);
X_25:=REF(HIGH,BARSLAST(X_10)+2);
X_26:=REF(LOW,BARSLAST(X_10)+2);
X_27:=IF(X_16<=X_18,X_19,X_17);
X_28:=IF(X_17<X_16,X_16,IF(X_16<=X_18,X_20,X_18));
X_29:=IF(X_24>X_21,X_21,IF(X_21>=X_23,X_25,X_23));
X_30:=IF(X_21>=X_23,X_26,X_24);
X_31:=X_15>X_29 AND X_9;
X_32:=X_22<X_28 AND X_10;
X_33:=X_31 AND X_15>X_21 AND X_16>X_22 AND X_18>X_22;
X_34:=X_32 AND X_22<X_16 AND X_21<X_15 AND X_23<X_15;
X_35:=HIGH<=REF(HIGH,1) AND LOW>=REF(LOW,1) OR (HIGH>=REF(HIGH,1) AND LOW<=REF(LOW,1));
X_36:=COUNT(X_35,BARSLAST(X_10));
X_37:=COUNT(X_35,BARSLAST(X_9));
X_38:=COUNT(X_11,BARSLAST(X_10));
X_39:=COUNT(X_12,BARSLAST(X_9));
X_40:=IF(X_36>0,X_36+2+老笔,IF(X_37,X_37+2+老笔,3));
X_41:=IF(X_38,X_40-X_38,IF(X_39,X_40-X_39,X_40));
X_42:=X_33 AND BARSLAST(X_34)>X_41;
X_43:=X_34 AND BARSLAST(X_33)>X_41;
X_44:=X_9 AND REF(HIGH,BARSLAST(X_9))>=REF(HIGH,BARSLAST(X_42)) AND BARSLAST(X_43)>BARSLAST(X_42) OR (X_31 AND COUNT(X_11,BARSLAST(X_32))>0 AND REF(HIGH,BARSLAST(X_31))>REF(HIGH,BARSLAST(X_42)));
X_45:=X_10 AND REF(LOW,BARSLAST(X_10))<=REF(LOW,BARSLAST(X_43)) AND BARSLAST(X_42)>BARSLAST(X_43) OR (X_32 AND COUNT(X_12,BARSLAST(X_31))>0 AND REF(LOW,BARSLAST(X_32))<REF(HIGH,BARSLAST(X_43)));
X_46:=IF(BARSLAST(X_45)>BARSLAST(X_44),REF(HIGH,BARSLAST(X_44)),REF(HIGH,BARSLAST(X_45)));
X_47:=IF(BARSLAST(X_44)>BARSLAST(X_45),REF(LOW,BARSLAST(X_45)),REF(LOW,BARSLAST(X_44)));
X_48:=X_44 AND HIGH=HHV(X_46,BARSLAST(X_45)+1) AND HIGH>REF(HIGH,1) AND BARSLAST(X_45)>BARSLAST(X_44);
X_49:=X_45 AND LOW=LLV(X_47,BARSLAST(X_44)+1) AND LOW<REF(LOW,1) AND BARSLAST(X_44)>BARSLAST(X_45);
X_50:=X_48 OR (X_9 AND REF(HIGH,BARSLAST(X_9))>REF(HIGH,BARSLAST(X_48)) AND BARSLAST(X_49)>BARSLAST(X_48));
X_51:=X_49 OR (X_10 AND REF(LOW,BARSLAST(X_10))<REF(LOW,BARSLAST(X_49)) AND BARSLAST(X_48)>BARSLAST(X_49));
GPB:IF(X_42,HIGH,DRAWNULL),CIRCLEDOT,COLORYELLOW;
DPB:IF(X_43,LOW,DRAWNULL),CIRCLEDOT,COLORYELLOW;
X_52:=X_50;
X_53:=X_51;
L1:DRAWLINE(X_53,LOW,X_52,HIGH,0),COLORYELLOW;
L2:DRAWLINE(X_52,HIGH,X_53,LOW,0),COLORWHITE;
X_54:=CLOSE;
X_55:=FILTER(BACKSET(FILTER(REF(X_54,10)=HHV(X_54,2*10+1),10),10+1),10);
X_56:=FILTER(BACKSET(FILTER(REF(X_54,10)=LLV(X_54,2*10+1),10),10+1),10);
X_57:=REF(CLOSE,BARSLAST(X_55));
X_58:=REF(CLOSE,BARSLAST(X_56));
X_59:=BARSLAST(X_55)<BARSLAST(X_56) AND NOT(X_55);
X_60:=BARSLAST(X_55)>BARSLAST(X_56) AND NOT(X_56);
波段顶:IF(X_59,X_57,X_57),POINTDOT,COLORLIGREEN,LINETHICK4;
波段底:IF(X_60,X_58,X_58),POINTDOT,COLORMAGENTA,LINETHICK4;
 

[url=http://www.70822.com/soft/sort013/sort05/down-159571.html]缠通套利,简化缠论指标(通达信公式 主图 源码 测试图)[/url]

关于本站 | 网站帮助 | 广告合作 | 声明 | 友情连接 | 网站地图 |
分析家公式网声明:本站所有股票公式软件资料均网上公开收集,如侵权请联系删帖。站内所有广告,均与本站无关!
Copyright © 2003-2024 70822.Com. All Rights Reserved .
页面执行时间:62.50000 毫秒