日天个股版 通达信主图指标 源码 贴图
2020-08-08 10:13:00来源:本站整理浏览:446
日天个股版 通达信主图指标 源码 贴图
参数数量: 4
参数1: D1, 最小: 10, 最大: 200, 缺省: 13
参数2: D2, 最小: 2, 最大: 100, 缺省: 10
参数3: G1, 最小: 13, 最大: 200, 缺省: 40
参数4: G2, 最小: 2, 最大: 100, 缺省: 20
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;
DRAWICON(VAR15,HIGH*1.001,37);
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:=HIGH>MAX(OPEN,CLOSE)*1.03;
VAR23:=VOL=HHV(VOL,30);
VAR24:=VAR22 AND VAR23 AND CLOSE/REF(CLOSE,10)>1.1;
DRAWICON(VAR24,HIGH*1.005,41);
VAR25:=VOL=HHV(VOL,20) AND CLOSE<OPEN AND OPEN/REF(CLOSE,1)>1.03;
VAR26:=VOL=HHV(VOL,40) AND CLOSE<OPEN AND HIGH>MAX(OPEN,CLOSE)*1.03;
DRAWICON(VAR25 OR VAR26,HIGH*1.005,14);
VAR27:=EMA(CLOSE,12)-EMA(CLOSE,26);
VAR28:=EMA(VAR27,9);
VAR29:=(VAR27-VAR28)*2;
VAR30:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9));
VAR31:=SMA(VAR30,9,3);
VAR32:=SMA(VAR31,9,3);
VAR33:=3*VAR31-2*VAR32;
VAR34:=CROSS(VAR27,VAR28) AND CROSS(VAR31,VAR32) AND CROSS(VAR33,VAR32) AND VAR27<0;
VAR35:=FILTER(VAR34,20);
DRAWICON(VAR35,LOW*0.98,30);
VAR36:=CLOSE/REF(CLOSE,1)>1.095 AND HIGH=OPEN AND LOW=HIGH;
{WWW.GPXIAZAI.COM}
VAR37:=NOT(VAR36);
VAR38:=FINANCE(42)>200;
VAR39:=REF(SUM((CLOSE-REF(CLOSE,1))/CLOSE*100,3)<(-10),1) OR REF(SUM((CLOSE-REF(CLOSE,1))/CLOSE*100,4)<(-10),1) OR REF(SUM((CLOSE-REF(CLOSE,1))/CLOSE*100,5)<(-15),1);
VAR40:=REF(SUM((CLOSE-REF(CLOSE,1))/CLOSE*100,3)<(-10),1);
VAR41:=REF(SUM((CLOSE-REF(CLOSE,1))/CLOSE*100,5)<(-20),1) OR REF(SUM((CLOSE-REF(CLOSE,1))/CLOSE*100,15)<(-30),1) OR REF(SUM((CLOSE-REF(CLOSE,1))/CLOSE*100,40)<(-40),1);
VAR42:=VAR13=1 AND VAR37;
VAR43:=REF(CLOSE,VAR13);
VAR44:=VAR43>REF(VAR43,1);
VAR45:=VAR13=1 AND VAR37;
VAR46:=BARSLAST(VAR42);
VAR47:=REF(LOW,REF(VAR46,1)+1);
VAR48:=BETWEEN(LOW,VAR47,VAR47*1.06) AND VAR46=0 AND REF(VAR46,1)<=30 AND VAR45;
VAR49:=VAR48 AND VAR38 AND VAR39;
DRAWICON(VAR49,LOW*0.95,23);
VAR50:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
VAR51:=VAR50>=9.6 AND CLOSE=HIGH;
STICKLINE(VAR51,CLOSE,OPEN,3,0),COLOR000085;
STICKLINE(VAR51,CLOSE,OPEN,2.6,0),COLOR0000A5;
STICKLINE(VAR51,CLOSE,OPEN,2.2,0),COLOR0005B5;
STICKLINE(VAR51,CLOSE,OPEN,1.8,0),COLOR0015D5;
STICKLINE(VAR51,CLOSE,OPEN,1.4,0),COLOR0025F5;
STICKLINE(VAR51,CLOSE,OPEN,1,0),COLOR0035FF;
STICKLINE(VAR51,CLOSE,OPEN,0.5,0),COLOR0045FF;
STICKLINE(VAR51,HIGH,LOW,0,0),COLOR0055FF;
DRAWTEXT_FIX(1,0.02,0,0,DYBLOCK),COLOR99CC32;
DRAWTEXT_FIX(1,0.1,0,0,HYBLOCK),COLORGREEN;
DRAWTEXT_FIX(1,0.2,0,0,GNBLOCK),COLORMAGENTA;
VAR52:=CLOSE-REF(CLOSE,1);
VAR53:=100*EMA(EMA(VAR52,6),6)/EMA(EMA(ABS(VAR52),6),6);
VAR54:=IF(LLV(VAR53,2)=LLV(VAR53,7) AND COUNT(VAR53<0,2) AND CROSS(VAR53,MA(VAR53,2)),1,0);
VAR55:=IF(HHV(VAR53,2)=HHV(VAR53,7) AND COUNT(VAR53>50,2) AND CROSS(MA(VAR53,2),VAR53),1,0);
STICKLINE(FILTER(VAR54=1,5),CLOSE,OPEN,1,0),COLORMAGENTA;
STICKLINE(FILTER(VAR55=1,1),CLOSE,OPEN,1,0),COLORYELLOW;
VAR56:=CLOSE/REF(CLOSE,1)>1.095 AND HIGH=OPEN AND LOW=HIGH;
VAR57:=NOT(VAR56);
VAR58:=CLOSE=LLV(CLOSE,20);
VAR59:=BARSLAST(FILTER(CROSS(0.8,VAR58),10))+1;
- 上一篇公式:三红共震 通达信主图指标 源码 贴图
- 下一篇公式:牛股低吸 涨停回调 通达信副图/选股指标 源码 贴图