黄金线阳盖阴 转载和谐完全加密通达信指标!

[复制链接]
查看47 | 回复0 | 2022-6-27 22:33:20 | 显示全部楼层 |阅读模式

 {公式名称: 黄金线阳盖阴

公式描述: 0=长阳,1=将军柱,2=次黄金,3=黄金,4=标准黄金
参数数量: 4
参数1: 基柱是倍量, 最小: 0, 最大: 1, 缺省: 1
参数2: 基柱类型, 最小: 0, 最大: 4, 缺省: 1
参数3: 显示板块, 最小: 0, 最大: 1, 缺省: 1
参数4: 回踩误差千分之, 最小: 0, 最大: 20, 缺省: 2
公式类型: 技术指标公式-其他类型
画线方法: 主图叠加
公式版本: 0
显示小数: 缺省位数
坐标线位置: 自动
额外Y轴分界: 无
 
参数精灵:
请设置计算参数:
基柱是倍量: Param#0 (0.00--1.00)
基柱类型: Param#1 (0.00--4.00)
显示板块: Param#2 (0.00--1.00)
回踩误差千分之: Param#3 (0.00--20.00)
用法注释:
基柱类型: 0=长阳,1=将军柱,2=次黄金,3=黄金,4=标准黄金
公式源码:}
DRAWTEXT_FIX(显示板块 AND ISLASTBAR,0,0,0,HYBLOCK);
DRAWTEXT_FIX(显示板块 AND ISLASTBAR,0.05,0,0,DYBLOCK);
DRAWTEXT_FIX(显示板块 AND ISLASTBAR,0.1,0,0,GNBLOCK);
STICKLINE(REF(LOW,1)>HIGH,HIGH,REF(LOW,1),5,0),COLORGRAY;
STICKLINE(REF(HIGH,1)<LOW,LOW,REF(HIGH,1),5,0),COLORGRAY;
C_:CONST(CLOSE),POINTDOT,COLORLIRED;
X_1:=MA(CLOSE,5);
MA5角度:ATAN((X_1/REF(X_1,1)-1)*100)*180/3.1416,NODRAW;
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
X_2:=REF(CLOSE,1);{www.70822.com}
X_3:=IF(CLOSE>=1,10000,100000);
X_4:=1.1*X_2-49/X_3;
X_5:=1.05*X_2-49/X_3;
X_6:=0.9*X_2+51/X_3;
X_7:=0.95*X_2+51/X_3;
X_8:=NAMELIKE(1) OR NAMELIKE(2);
X_9:=IF(X_8,CLOSE>=X_5,CLOSE>=X_4);
X_10:=IF(X_8,CLOSE<=X_7,CLOSE<=X_6);
X_11:=IF(X_8,HIGH>=X_5,HIGH>=X_4);
X_12:=IF(X_8,LOW<=X_7,LOW<=X_6);
STICKLINE(X_11,HIGH,MAX(CLOSE,OPEN),0,0),COLORMAGENTA;
STICKLINE(X_12,LOW,MIN(CLOSE,OPEN),0,0),COLORLICYAN;
X_13:=CLOSE>OPEN AND (CLOSE>=X_5 OR CLOSE>1.05*OPEN-51/X_3) OR (CLOSE>1000 AND CLOSE>X_2*1.024);
STICKLINE(X_13,OPEN,CLOSE,1,0),COLOR0000BB;
X_14:=CLOSE<OPEN AND (CLOSE<=X_7 OR CLOSE<0.95*OPEN+49/X_3) OR (CLOSE>1000 AND CLOSE<X_2*0.976);
STICKLINE(X_14,OPEN,CLOSE,1,0),COLORLIGREEN;
STICKLINE(X_9,OPEN,CLOSE,1,0),COLORMAGENTA;
STICKLINE(X_10,OPEN,CLOSE,1,0),COLORLICYAN;
X_15:=CLOSE<OPEN AND CLOSE>REF(CLOSE,1);
STICKLINE(X_15,OPEN,CLOSE,0,0),COLORRED;
X_16:=CLOSE>OPEN AND CLOSE<REF(CLOSE,1);
STICKLINE(X_16,OPEN,CLOSE,0,0),COLORGREEN;
X_17:=PERIOD=5 AND NAMELIKE(3) AND (ABS(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>=0.025 OR ABS(CLOSE-OPEN)>=60);
STICKLINE(X_17,(HIGH+LOW)/2,(HIGH+LOW)/2,2,0),COLORYELLOW;
X_18:=MIN(CLOSE,OPEN);
X_19:=基柱类型;
X_20:=0;
X_21:=LLV(CLOSE,3)>=REF(X_18,3);
X_22:=IF(基柱是倍量=1,1.8,1.1);
X_23:=10;{www.70822.com}
X_24:=FILTER(BACKSET(FILTER(REF(VOL,X_23)=HHV(VOL,2*X_23+1),X_23),X_23+1),X_23);
X_25:=VOL>=REF(VOL,1)*X_22 OR X_24;
X_26:=CLOSE/REF(CLOSE,1)>1.02 OR CLOSE/OPEN>1.02;
X_27:=REF(X_26,3) AND X_21;
X_28:=CLOSE>REF(CLOSE,1);
X_29:=CLOSE>REF(MAX(CLOSE,OPEN),1) AND X_26;
X_30:=X_25 AND X_29;
X_31:=MA(VOL,3)<=REF(VOL,3)*1.03;
X_32:=REF(X_30,3) AND X_21;
X_33:=MA(CLOSE,3)>=REF(CLOSE,3) AND CLOSE>=REF(CLOSE,3);
X_34:=COUNT(X_28 OR CLOSE>OPEN,3)=3;
X_35:=HHV(VOL,3)<=REF(VOL,3)*1.03;
X_36:=X_32 AND X_33 AND X_31;
X_37:=LLV(CLOSE,3)>=REF(CLOSE,3);
X_38:=X_36 AND X_37 AND X_35;
X_39:=COUNT(X_28,3)=3;
X_40:=COUNT(VOL<REF(VOL,1),3)=3;
X_41:=X_38 AND X_39 AND X_40;
基柱:IF(X_19=1,X_32,IF(X_19=2,X_36,IF(X_19=3,X_38,IF(X_19=4,X_41,X_27)))),NODRAW;
X_42:=BARSLAST(基柱);
X_43:=REF(LOW,X_42+3);
X_44:=LLV(X_18,X_42)>=X_43 AND X_43=REF(X_43,1);
底线:IF(X_44,X_43,DRAWNULL),COLORYELLOW;
STICKLINE(REF(基柱,1),底线,底线,33,0),COLORYELLOW;
X_45:=REF(OPEN,X_42+3);
X_46:=REF(LLV(LOW,3),X_42);
X_47:=LLV(X_18,X_42)>=X_46 AND X_46=REF(X_46,1);
X_48:=IF(X_46<X_43,X_43,X_46);
黄金虚线:IF(X_47,X_48,DRAWNULL),POINTDOT,COLORYELLOW;
STICKLINE(基柱 AND X_46>X_43,X_48,X_48,17,(-1)),COLORYELLOW;
X_49:=REF(LLV(X_18,3),X_42);
X_50:=LLV(LOW,X_42);
X_51:=LLV(X_18,X_42);
X_52:=X_49>=X_43;
X_53:=X_51>=X_43;
X_54:=回踩误差千分之*CLOSE;
X_55:=IF(X_54<0.01,0.01,X_54);
X_56:=X_50-X_43<=X_55;
X_57:=X_50-X_45<=X_55;
X_58:=X_50-黄金虚线<=X_55;
X_59:=X_50-X_49<=X_55;
X_60:=X_51-X_43<=X_55;
X_61:=X_51-X_45<=X_55;
X_62:=X_51-黄金虚线<=X_55;
X_63:=X_51-X_49<=X_55;
X_64:=IF(X_20=1 OR X_20=0,X_56 OR X_60,0);
X_65:=IF(X_20=2 OR X_20=0,X_57 OR X_61,0);
X_66:=IF(X_20=3 OR X_20=0,X_58 OR X_62,0);
X_67:=IF(X_20=4 OR X_20=0,X_59 OR X_63,0);
X_68:=X_64 OR X_65 OR X_66 OR X_67 AND X_52 AND X_53;
X_69:=LOW=X_50 OR X_18=X_51;
X_70:=BARSLAST(X_69);
{分析家公式网www.70822.com}
X_71:=REF(CLOSE<OPEN,1) AND CLOSE>OPEN AND CLOSE>REF(MAX(CLOSE,OPEN),1);
X_72:=X_68 AND X_71 AND X_42>=1 AND X_70<=2;
X_73:=COUNT(X_72,1);
DRAWICON(X_73,LOW*0.98,1);
 

p20183140564789973.jpg

p20183140564789973.jpg

20183140565596690.rar

5.82 KB, 下载次数: 0

售价: 3 金钱  [记录]  [购买]

20183140565596690.rar

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则