当前位置:分析家公式网 → 股票公式 → 通达信公式 → 一键转帖:阴阳太极,黄线+红线上持股(通达信公式 主图 源码 测试图)
软件名称:[B]阴阳太极,黄线+红线上持股(通达信公式 主图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:0 Bytes
官方主页:Home Page
更新时间:2021-03-25 00:15:28
软件简介:
阴阳太极
{公式名称: 阴阳太极
公式描述: 黄线+红线上持股
无参数
公式类型: 技术指标公式-其他类型
画线方法: 主图叠加
公式版本: 0
显示小数: 缺省位数
坐标线位置: 自动
额外Y轴分界: 无
参数精灵:无
用法注释:无
公式源码:}
VAR1:=(CLOSE+LOW+HIGH)/3;
VAR2:=IF(VAR1>REF(VAR1,1),(CLOSE+LOW+HIGH)/3,REF((CLOSE+LOW+HIGH)/3,1));
VAR3:=IF(VAR1<REF(VAR1,1),(CLOSE+LOW+HIGH)/3,REF((CLOSE+LOW+HIGH)/3,1));
VAR4:=VAR2;
VAR5:=(VAR2+VAR3)/2;
VAR6:=VAR3;
上线:IF(ISLASTBAR,REF(VAR4,1),DRAWNULL),NODRAW,COLORRED;
中线:IF(ISLASTBAR,REF(VAR6,1),DRAWNULL),NODRAW,COLORYELLOW;
下线:IF(ISLASTBAR,REF(VAR5,1),DRAWNULL),NODRAW,COLORLIBLUE;
VAR7:=1;
VAR8:=CURRBARSCOUNT<2;
VAR9:=CURRBARSCOUNT<13;
VAR10:=IF(VAR8,上线,DRAWNULL);
VAR11:=IF(VAR8,中线,DRAWNULL);
VAR12:=IF(VAR8,下线,DRAWNULL);
VAR13:=IF(VAR9,VAR10,DRAWNULL);
VAR14:=IF(VAR9,VAR11,DRAWNULL);
VAR15:=IF(VAR9,VAR12,DRAWNULL);
STICKLINE(VAR9,VAR13,VAR13,20,(-1)),COLOR0000CC;
STICKLINE(VAR9,VAR14,VAR14,20,(-1)),COLOR00CCCC;
STICKLINE(VAR9,VAR15,VAR15,20,(-1)),COLORCCCC00;
VAR16:=CLOSE/REF(CLOSE,1)>=1.098 AND CLOSE=HIGH;
STICKLINE(VAR16,CLOSE,OPEN,0.3,0),COLORYELLOW;
VAR17:=MA(CLOSE,13);
VAR18:=MA(CLOSE,21);
VAR19:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);
VAR20:=REF(VAR19,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR21:=REF(VAR20,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR22:=REF(VAR21,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR23:=REF(VAR22,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR24:=REF(VAR23,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR25:=REF(VAR24,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR26:=REF(VAR25,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR27:=REF(VAR26,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR28:=REF(VAR27,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR29:=REF(VAR28,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR30:=REF(VAR29,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR31:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2);
VAR32:=REF(VAR31,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR33:=REF(VAR32,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR34:=REF(VAR33,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR35:=REF(VAR34,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR36:=REF(VAR35,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR37:=REF(VAR36,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR38:=REF(VAR37,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR39:=REF(VAR38,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR40:=REF(VAR39,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR41:=REF(VAR40,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR42:=REF(VAR41,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR43:=REF(VAR31 OR VAR32 OR VAR33 OR VAR34 OR VAR35 OR VAR36 OR VAR37 OR VAR38 OR VAR39 OR VAR40 OR VAR41 OR VAR42,1) AND VAR19;
VAR44:=REF(VAR19 OR VAR20 OR VAR21 OR VAR22 OR VAR23 OR VAR24 OR VAR25 OR VAR26 OR VAR27 OR VAR28 OR VAR29 OR VAR30,1) AND VAR31;
VAR45:=IF(CLOSE<200,MA(COST(80),3),2500);
VAR46:=(HIGH+LOW+CLOSE)/3;
VAR47:=EMA((OPEN+HIGH+LOW+CLOSE)/4,2330);
VAR48:=VAR47+VAR47*6/100;{分析家公式网 WWW.70822.com 整理}
VAR49:=VAR19 OR VAR20 OR VAR21 OR VAR22 OR VAR23 OR VAR24 OR VAR25 OR VAR26 OR VAR27 OR VAR28 OR VAR29 OR VAR30;
VAR50:=VAR31 OR VAR32 OR VAR33 OR VAR34 OR VAR35 OR VAR36 OR VAR37 OR VAR38 OR VAR39 OR VAR40 OR VAR41 OR VAR42;
VAR51:=HHV(CLOSE,2);
VAR52:=LLV(CLOSE,2);
VAR53:=IF(VAR49,VAR52,DRAWNULL);
VAR54:=VAR53;
VAR55:=REF(VAR53,1);
VAR56:=IF(VAR50,VAR51,DRAWNULL);
VAR57:=VAR56;
VAR58:=REF(VAR57,1);
VAR59:=IF(VAR58!=DRAWNULL,VAR58,IF(VAR55!=DRAWNULL,VAR55,DRAWNULL));
STICKLINE(ISLASTBAR AND VAR59,VAR59,VAR59,6,0),COLORGREEN;
VAR60:=VAR7;
VAR61:=VAR60;
NOTEXT4:IF(VAR7!=1,0,VAR59),COLOR0000CC,LINETHICK3;
离场线:IF(CLOSE<=VAR59,VAR59,DRAWNULL),COLOR00CC00,LINETHICK3;
IF(CLOSE>VAR59,VAR59,DRAWNULL),COLOR0000CC,LINETHICK3;
VAR62:=EMA(CLOSE,8);
VAR63:=EMA(CLOSE,18);
VAR64:=IF(VAR60!=1,0,EMA(VAR62-VAR63,9));
阴鱼:9*REF(VAR64,1)-7*REF(VAR62,1)+8*REF(VAR63,1),COLORFF8000,LINETHICK2;
阳鱼:IF(CLOSE>=阴鱼,阴鱼,DRAWNULL),COLORYELLOW,LINETHICK2;
鱼眼:IF(ISLASTBAR,阴鱼,DRAWNULL),POINTDOT,COLORRED,LINETHICK6;
VAR65:=VAR59>阳鱼 AND LOW<VAR59;
STICKLINE(VAR65,LOW,MIN(VAR59,HIGH),0,0),COLORMAGENTA;
[url=http://www.70822.com/soft/sort013/sort05/down-154899.html]阴阳太极,黄线+红线上持股(通达信公式 主图 源码 测试图)[/url]