当前位置:首页 > 免费资源 > 正文

「翔博精选指标」日天大盘,公开通达信公式源码分享 主图

2022-03-12原创 编 辑:翔博软件

{通达信公式名称: 日天大盘

公式描述:
参数数量: 5
参数1: G1, 最小: 10, 最大: 200, 缺省: 40
参数2: G2, 最小: 2, 最大: 100, 缺省: 20
参数3: D1, 最小: 10, 最大: 200, 缺省: 13
参数4: D2, 最小: 2, 最大: 100, 缺省: 10
参数5: SS1, 最小: 6, 最大: 24, 缺省: 8
公式类型: 技术指标公式-其他类型
画线方法: 主图叠加
公式版本: 0
显示小数: 缺省位数
坐标线位置: 自动
额外Y轴分界: 无
公式源码:}
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,3,0),COLOR000045;
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,2.5,0),COLOR000065;
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,2,0),COLOR000085;
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,1.5,0),COLOR0000A5;
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,1,0),COLOR0000C5;
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,0.5,0),COLOR0000E5;
STICKLINE(CLOSE>=OPEN,HIGH,LOW,0,0),COLOR0000F5;
STICKLINE(CLOSE<OPEN,CLOSE,OPEN,3,0),COLOR353500;
STICKLINE(CLOSE<OPEN,CLOSE,OPEN,2.5,0),COLOR454500;
STICKLINE(CLOSE<OPEN,CLOSE,OPEN,2,0),COLOR555500;
STICKLINE(CLOSE<OPEN,CLOSE,OPEN,1.5,0),COLOR656500;
STICKLINE(CLOSE<OPEN,CLOSE,OPEN,1,0),COLOR757500;
STICKLINE(CLOSE<OPEN,CLOSE,OPEN,0.5,0),COLOR858500;
STICKLINE(CLOSE<OPEN,HIGH,LOW,0,0),COLOR959500;
VAR1:=1;
VAR2:=(REF(HIGH,VAR1)-REF(LOW,VAR1))/REF(CLOSE,VAR1+1)*100;
VAR3:=(REF(HIGH,VAR1+1)-REF(LOW,VAR1+1))/REF(CLOSE,VAR1+2)*100;
VAR4:=(REF(HIGH,VAR1+2)-REF(LOW,VAR1+2))/REF(CLOSE,VAR1+3)*100;
ZZF:(VAR2+VAR3+VAR4)/3,NODRAW;
P3:EMA(CLOSE,43),COLORGREEN;
IF(P3>REF(P3,1),P3,DRAWNULL),COLORRED;
VAR5:=OPEN<=REF(LOW,1)*0.98 AND CLOSE/OPEN>=1.05 AND REF(SUM((CLOSE-REF(CLOSE,1))/CLOSE*100,3)<(-7),1);
DRAWICON(VAR5,LOW*0.97,38);
VAR6:=MA(CLOSE,1);
VAR7:=SMA(SMA(SMA(VAR6,2,1),2,1),2,1);
VAR8:=MA(VAR7,3);
DRAWBAND(VAR7,RGB(255,0,0),VAR8,RGB(0,255,0));
VAR9:=CLOSE=HHV(CLOSE,G1);
VAR10:=BARSLAST(FILTER(CROSS(0.8,VAR9),G2))+1;
GD:REF(HIGH,VAR10),POINTDOT,COLORMAGENTA;
VAR11:=CROSS(CLOSE,REF(GD,1));
STICKLINE(VAR10<=6,GD,GD,8,0),COLORMAGENTA;
VAR12:=CLOSE=LLV(CLOSE,D1);
VAR13:=BARSLAST(FILTER(CROSS(0.8,VAR12),D2))+1;
DDD1:REF(LOW,VAR13),POINTDOT,COLORGREEN;
STICKLINE(VAR13<=6,DDD1,DDD1,8,0),COLORGREEN;
VAR14:=VAR13=1;
DRAWICON(VAR14,LOW*0.996,1);
VAR15:=VAR10=1;
VAR16:=BARSLAST(VAR14);
VAR17:=CLOSE=LLV(CLOSE,60);
VAR18:=FILTER(CROSS(0.8,VAR17),10) AND REF(SUM((CLOSE-REF(CLOSE,1))/CLOSE*100,3)<(-10),1);
DRAWICON(VAR18,LOW*0.95,17);
VAR19:=REF(CLOSE,1);
VAR20:=SMA(MAX(CLOSE-VAR19,0),6,1)/SMA(ABS(CLOSE-VAR19),6,1)*100;
VAR21:=CROSS(90,VAR20);
DRAWICON(VAR21,HIGH*1.005,2);
VAR22:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
VAR23:=VAR22>=9.6 AND CLOSE=HIGH;
STICKLINE(VAR23,CLOSE,OPEN,3,0),COLOR000085;
STICKLINE(VAR23,CLOSE,OPEN,2.6,0),COLOR0000A5;
STICKLINE(VAR23,CLOSE,OPEN,2.2,0),COLOR0005B5;
STICKLINE(VAR23,CLOSE,OPEN,1.8,0),COLOR0015D5;
STICKLINE(VAR23,CLOSE,OPEN,1.4,0),COLOR0025F5;
STICKLINE(VAR23,CLOSE,OPEN,1,0),COLOR0035FF;
STICKLINE(VAR23,CLOSE,OPEN,0.5,0),COLOR0045FF;
STICKLINE(VAR23,HIGH,LOW,0,0),COLOR0055FF;
VAR24:=CLOSE-REF(CLOSE,1);
VAR25:=100*EMA(EMA(VAR24,6),6)/EMA(EMA(ABS(VAR24),6),6);
VAR26:=IF(LLV(VAR25,2)=LLV(VAR25,7) AND COUNT(VAR25<0,2) AND CROSS(VAR25,MA(VAR25,2)),1,0);
VAR27:=IF(HHV(VAR25,2)=HHV(VAR25,7) AND COUNT(VAR25>50,2) AND CROSS(MA(VAR25,2),VAR25),1,0);
STICKLINE(FILTER(VAR26=1,5),CLOSE,OPEN,1,0),COLORMAGENTA;
STICKLINE(FILTER(VAR27=1,5),CLOSE,OPEN,1,0),COLORYELLOW;
VAR28:=REF(CLOSE,1);
VAR29:=SMA(MAX(CLOSE-VAR28,0),SS1,1)/SMA(ABS(CLOSE-VAR28),SS1,1)*100;
VAR30:=CROSS(80,VAR29);
VAR31:=CROSS(VAR29,20);
VAR32:=FILTER(VAR30,10);
VAR33:=FILTER(VAR31,5);

DRAWICON(VAR33,LOW*0.997,26);

大家都爱看
查看更多热点新闻
点击进入翔博软件旗下掌上指标--自助下载指标