#最新
通达信黄金分割线+支压涨停主图指标源码

2024-01-27 0 19,087

通达信黄金分割线主图指标公式源码:

AA:=CROSS(MA(C,5),MA(C,20)) AND CROSS(MA(C,5),MA(C,30)) AND CROSS(MA(C,5),MA(C,60));
BBB:=MA(C,60)>MA(C,10) AND CROSS(MA(C,10),MA(C,30)) AND MA(C,30)>MA(C,20) AND ABS(MA(C,60)-MA(C,20))/MA(C,20)<0.05;
CCC:=MA(C,30)>MA(C,5) AND CROSS(MA(C,5),MA(C,20)) AND MA(C,20)>MA(C,10);
DD:=ABS((MA(C,5)-MA(C,10))+(MA(C,10)-MA(C,20))+(MA(C,20)-MA(C,30)))<0.02 AND MA(C,5)>REF(MA(C,5),1) AND MA(C,10)>REF(MA(C,10),1);
EE:=MA(C,20)>MA(C,5) AND CROSS(MA(C,5),MA(C,10)) AND MA(C,10)>MA(C,60) AND ABS(MA(C,20)-MA(C,60))/MA(C,60)<0.05;
FF:=AA OR BBB OR CCC OR DD OR EE ;
探测:=FF AND FILTER( FF,8);
DRAWTEXT(探测,L*0.958,’●(庄现)’),COLORRED;
STICKLINE(探测,H,L,0.3,0),COLORRED;
STICKLINE(探测,O,C,5,0),LINETHICK2,COLORRED;
AA1:=AMOUNT/VOL;
BB1:=L<AA1*0.9;
CC1:=(C-REF(C,1))/REF(C,1)*100>1.2;
DD1:=L<MA(C,5)*0.921;
EE1:=VOL<MA(V,5)*1.5;
FF1:=BB1 AND CC1 AND DD1 AND EE1 ,COLORRED,LINETHICK0;
DRAWTEXT(FF1,L*0.99,’●(潜伏)’),COLORYELLOW;
STICKLINE(FF1,H,L,0.3,0),COLORYELLOW;
STICKLINE(FF1,O,C,5,0),LINETHICK2,COLORYELLOW;
DRAWTEXT(CROSS((REF(HIGH,1)+REF(LOW,1))/2,MA(CLOSE,20)+2*STD(CLOSE,20)),
HIGH*1.02,’●警’),COLORGREEN;
N:=5;E:=(HIGH+LOW+OPEN+2*CLOSE)/5;AAA:=2*E-LOW,NODRAW;AB:=2*E-HIGH,NODRAW;ACC:=E+(HIGH-LOW),NODRAW;ADD:=E-(HIGH-LOW),NODRAW;今阻力:REF(AAA,1),COLORWHITE,NODRAW;今支撑:REF(AB,1),COLORYELLOW,NODRAW;明阻力:AAA,COLORCYAN,NODRAW;明支撑:AB,COLORMAGENTA,NODRAW;明突破:ACC,COLORGREEN,NODRAW;明反转:ADD,COLORLICYAN,NODRAW;{压力+支撑}压力:MA(REF(HHV(C,30),1),2),COLORBLACK;支撑:MA(REF(LLV(C,30),1),2),COLORBLACK;
MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;
牛线:(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+16
*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+13*REF(MID,7)+12*REF(MID,8)+11
*REF(MID,9)+10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+7*REF(MID,13)+6*REF(MID,14)+5
*REF(MID,15)+4*REF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,20))/210,COLORRED;
马线:MA(牛线,6),COLORGREEN;
MAA5:MA(C,5),COLORFF00FF,LINETHICK2;
A3:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
A4:=SMA(A3,3,1);
A5:=SMA(A4,3,1);
A6:=3*A4-2*A5;
A7:=C-REF(C,1);
A8:=100*EMA(EMA(A7,6),6)/EMA(EMA(ABS(A7),6),6);
买:=LLV(A8,2)=LLV(A8,7) AND COUNT(A8<0,2) AND CROSS(A8,MA(A8,2));
STICKLINE(买,OPEN,CLOSE,2,0),COLORYELLOW;
LC:=REF(CLOSE,1);
RSI:=((SMA(MAX((CLOSE – LC),0),3,1) / SMA(ABS((CLOSE – LC)),3,1)) * 100);
FF2:=EMA(CLOSE,3);
MA15:=EMA(CLOSE,21);
日:=150;昨前:=3;
高1:=REF(HHV(H,日),昨前);
低1:=REF(LLV(L,日),昨前);
H1:=高1-(高1-低1)*0.191;
H2:=高1-(高1-低1)*0.382;
H3:=高1-(高1-低1)*0.5;
H4:=高1-(高1-低1)*0.618;
H5:=高1-(高1-低1)*0.809;
顶:REFDATE(高1,DATE),COLORRED;
一809:REFDATE(H1,DATE),COLORYELLOW;
二618:REFDATE(H2,DATE),COLORMAGENTA;
三500:REFDATE(H3,DATE),COLORWHITE;
四382:REFDATE(H4,DATE),COLORGREEN;
五191:REFDATE(H5,DATE),COLORYELLOW;
低:REFDATE(低1,DATE),COLORRED;

通达信支撑压力多空波段抓涨停指标公式源码:

支撑价:LLV(LOW,19) ,COLORGREEN,LINETHICK3;

阻力价:HHV(HIGH,19),COLORBLUE, LINETHICK3;

VAR1:=EMA(CLOSE,12)-EMA(CLOSE,26);

JL01:=MA(C,3);

LJL07:=(3*C+L+O+H)/6;

牛线:(20*LJL07+19*REF(LJL07,1)+18*REF(LJL07,2)+17*REF(LJL07,3)+16*REF(LJL07,4)+15*REF(LJL07,5)+14*REF(LJL07,6)+13*REF(LJL07,7)+12*REF(LJL07,8)+11*REF(LJL07,9)+10*REF(LJL07,10)+9*REF(LJL07,11)+8*REF(LJL07,12)+7*REF(LJL07,13)+6*REF(LJL07,14)+5*REF(LJL07,15)+4*REF(LJL07,16)+3*REF(LJL07,17)+2*REF(LJL07,18)+REF(LJL07,20))/210,COLORRED;

马线:MA(牛线,5),COLORYELLOW,LINETHICK4,POINTDOT;

等待:IF(JL01<=牛线,马线,DRAWNULL),COLORRED,LINETHICK4,POINTDOT;

VAR1L:=(C>REF(C,1) AND C>REF(C,2));

VAR2L:=(REF(VAR1L,1) AND C<=REF(C,1) AND C>=REF(C,2));

VAR3L:=(REF(VAR2L,1) AND C>=REF(C,1) AND C<=REF(C,2));

VAR4L:=(REF(VAR3L,1) AND C<=REF(C,1) AND C>=REF(C,2));

VAR5L:=(REF(VAR4L,1) AND C>=REF(C,1) AND C<=REF(C,2));

VAR6L:=(REF(VAR5L,1) AND C<=REF(C,1) AND C>=REF(C,2));

VAR7L:=(REF(VAR6L,1) AND C>=REF(C,1) AND C<=REF(C,2));

VAR8L:=(REF(VAR7L,1) AND C<=REF(C,1) AND C>=REF(C,2));

VAR9L:=(REF(VAR8L,1) AND C>=REF(C,1) AND C<=REF(C,2));

VARAL:=(REF(VAR9L,1) AND C<=REF(C,1) AND C>=REF(C,2));

VARBL:=(REF(VARAL,1) AND C>=REF(C,1) AND C<=REF(C,2));

VARCL:=(REF(VARBL,1) AND C<=REF(C,1) AND C>=REF(C,2));

持股:IF(VAR1L OR VAR2L OR VAR3L OR VAR4L OR VAR5L OR VAR6L OR VAR7L OR VAR8L OR VAR9L OR VARAL OR VARBL OR VARCL,牛线,DRAWNULL),COLORRED,LINETHICK1;

VARDL:=(C<REF(C,1) AND C<REF(C,2));

VAREL:=(REF(VARDL,1) AND C>=REF(C,1) AND C<=REF(C,2));

VARFL:=(REF(VAREL,1) AND C<=REF(C,1) AND C>=REF(C,2));

VAR1L0:=(REF(VARFL,1) AND C>=REF(C,1) AND C<=REF(C,2));

VAR1L1:=(REF(VAR1L0,1) AND C<=REF(C,1) AND C>=REF(C,2));

VAR1L2:=(REF(VAR1L1,1) AND C>=REF(C,1) AND C<=REF(C,2));

VAR1L3:=(REF(VAR1L2,1) AND C<=REF(C,1) AND C>=REF(C,2));

VAR1L4:=(REF(VAR1L3,1) AND C>=REF(C,1) AND C<=REF(C,2));

VAR1L5:=(REF(VAR1L4,1) AND C<=REF(C,1) AND C>=REF(C,2));

VAR1L6:=(REF(VAR1L5,1) AND C>=REF(C,1) AND C<=REF(C,2));

VAR1L7:=(REF(VAR1L6,1) AND C<=REF(C,1) AND C>=REF(C,2));

VAR1L8:=(REF(VAR1L7,1) AND C>=REF(C,1) AND C<=REF(C,2));

持币:IF(VARDL OR VAREL OR VARFL OR VAR1L0 OR VAR1L1 OR VAR1L2 OR VAR1L3 OR VAR1L4 OR VAR1L5 OR VAR1L6 OR VAR1L7 OR VAR1L8,牛线,DRAWNULL),COLORGREEN,LINETHICK1;

V5日涨跌%: (C-REF(CLOSE,5))/REF(CLOSE,5)*100,COLORWHITE,NODRAW;

V10日涨跌%: (C-REF(CLOSE,10))/REF(CLOSE,10)*100,COLORYELLOW,NODRAW;

V30日涨跌%: (C-REF(CLOSE,30))/REF(CLOSE,30)*100,COLORMAGENTA,NODRAW;

STICKLINE(C>=O,C,O,3,0),COLOR000045;

STICKLINE(C>=O,C,O,2.5,0),COLOR000065;

STICKLINE(C>=O,C,O,2,0),COLOR000085;

STICKLINE(C>=O,C,O,1.5,0),COLOR0000A5;

STICKLINE(C>=O,C,O,1,0),COLOR0000C5;

STICKLINE(C>=O,C,O,0.5,0),COLOR0000E5;

STICKLINE(C>=O,H,L,0,0),COLOR0000F5;

STICKLINE(C<O,C,O,3,0),COLOR353500;

STICKLINE(C<O,C,O,2.5,0),COLOR454500;

STICKLINE(C<O,C,O,2,0),COLOR555500;

STICKLINE(C<O,C,O,1.5,0),COLOR656500;

STICKLINE(C<O,C,O,1,0),COLOR757500;

STICKLINE(C<O,C,O,0.5,0),COLOR858500;

STICKLINE(C<O,H,L,0,0),COLOR959500;

VAR2:=EMA(VAR1,9);

VAR3:=(CLOSE*2.5/100+CLOSE);

VAR4:EMA(C,3), LINETHICK4,POINTDOT;

VAR5:=LLV(HIGH,240);

VAR6:=100*(CLOSE-VAR5)/VAR5;

VAR7:=REF(LLV(CLOSE,480),1);

VAR8:=REF(HHV(CLOSE,480),1);

VAR9:=100*(CLOSE-VAR7)/(VAR8-VAR7);

VARA:=(CLOSE-LLV(CLOSE,981))/(HHV(CLOSE,981)-LLV(CLOSE,981))*100;

VARB:=(CLOSE-LLV(CLOSE,393))/(HHV(CLOSE,393)-LLV(CLOSE,393))*100;

VARC:=(CLOSE-LLV(LOW,981))/(HHV(HIGH,981)-LLV(LOW,981))*100;

VARD:=(CLOSE-LLV(LOW,393))/(HHV(HIGH,393)-LLV(LOW,393))*100;

VARE:=VARC>98.5 OR VARD>98.5;

VARF:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),5)/4;

VAR13:=VARA=0 AND VARC=0 AND VAR6<0;

VAR14:=VARA=100 AND VARC=100;

VAR15:=VARB=0 OR VARD=0 AND VAR9<0;

VAR16:=VARB=100 AND VARD=100;

VAR17:=VAR6<0 AND VAR9<0;

VAR18:=VAR13 AND VAR15;

VAR19:=VAR14 AND VAR16;

VAR1B:=SMA(MAX(CLOSE-REF(CLOSE,1),0),49,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100;

VAR1C:=SMA(MAX(CLOSE-REF(CLOSE,1),0),14,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),14,1)*100;

VAR1D:=BARSCOUNT(CLOSE);

VAR1E:=VAR1B<20 AND VAR1C<23 AND VAR1D>35;

VAR1F:=VAR1E AND COUNT(VAR1E,1)=1;

VAR20:=REF(CLOSE,1);

VAR21:=SMA(MAX(CLOSE-VAR20,0),34,1)/SMA(ABS(CLOSE-VAR20),7,1)*100;

VAR22:=SMA(MAX(CLOSE-VAR20,0),13,1)/SMA(ABS(CLOSE-VAR20),13,1)*100;

VAR23:=BARSCOUNT(CLOSE);

VAR24:=VAR21<20 AND VAR22<23 AND VAR23>35;

VAR25:=VARA=0 AND VARF<1.2 AND VAR17;

VAR27:=VAR18 AND VARF<1.2 AND VAR17;

VAR29:=SUM(HIGH-OPEN,77)/SUM(OPEN-LOW,77)*100;

VAR2A:=SUM(MAX(0,HIGH-REF(CLOSE,1)),77)/SUM(MAX(0,REF(CLOSE,1)-LOW),77)*100;

VAR2B:=CROSS(VAR29,69) AND CROSS(VAR2A,80)<150;

VAR2C:=VAR24 AND VAR1F AND COUNT(VAR24,30)=1;

买点:=VAR25 AND VAR2B;

绝对卖点:=(VAR19 OR VARA)AND VARF>23 OR VARE ;

VAR2D:=VAR1F AND VAR2C AND VAR25;

股海万元户:=(CLOSE/REF(CLOSE,1)>1.04 AND (CLOSE>10.8 AND CLOSE<10.83 OR CLOSE>6.86 AND CLOSE<6.88 OR CLOSE>13.82 AND CLOSE<13.84 OR CLOSE>7.28 AND CLOSE<7.3 OR CLOSE>12.4 AND CLOSE<12.42 OR CLOSE>22.33 AND CLOSE<22.35 OR CLOSE>4.68 AND CLOSE<4.7 OR CLOSE>26.29 AND CLOSE<26.31 OR CLOSE>7.65 AND CLOSE<7.67 OR CLOSE>13.4 AND CLOSE<13.42 OR CLOSE>7.58 AND CLOSE<7.6 OR CLOSE>20.43 AND CLOSE<20.45 OR CLOSE>19.57 AND CLOSE<19.59 OR CLOSE>6.26 AND CLOSE<6.28 OR CLOSE>7.14 AND CLOSE<7.16 OR CLOSE>6.61 AND CLOSE<6.63 OR CLOSE>11.9 AND VOL<11.92 OR CLOSE>6.7 AND CLOSE<6.72 OR CLOSE>8.19 AND CLOSE<8.21));

DRAWTEXT(FILTER(绝对卖点>0,3),H,’风险’), COLOR00FF00;

DRAWTEXT(股海万元户>0,L,’☆追涨’),COLORYELLOW ;

DRAWICON(买点>0,L,1);

DRAWTEXT(买点>0,L,’扫描神针’),COLORF00FF0;
DRAWTEXT(VARF<0.7 AND VAR27 AND VAR25>0,L,’抄底’),COLORYELLOW;

STICKLINE(VAR2D>0,O,C,10,0), COLORYELLOW;

DRAWTEXT(VAR2D>0,L,’大方神针’),COLORRED;

DRAWICON(COUNT(REF(VAR4,1)<REF(VAR4,2),5)=5 AND VAR4>REF(VAR4,1),L*0.990,5);

DRAWICON(FILTER(COUNT(VAR6<0,5)AND CROSS(VAR6,0)AND VARF>REF(VARF,1)AND C>O,3),L,11);

DRAWICON(FILTER(REF(VAR4,1)>REF(VAR4,2)AND VAR4<REF(VAR4,1)AND VARF>17 AND VAR1>VAR2,5),H,12);

DRAWICON(阻力价>REF(阻力价,1)AND CROSS(阻力价,VAR3)AND C<O,H*1.02,6);

Y:=CLOSE/REF(CLOSE,1)>1.07;

X:=VOL>MA(VOL,5);

A1:=Y AND X;

DRAWTEXT(A1,MA(CLOSE,5),’攻涨停’),COLORMAGENTA;

Z:=CLOSE/REF(CLOSE,1)<0.93;

W:=VOL<MA(VOL,5);

A2:=Z AND W;

DRAWTEXT(A2,MA(CLOSE,5),’小心跌停’),COLORGREEN;

通达信黄金分割线+支压涨停主图指标源码

常见问题及下载声明: 1、指标不提供具体的使用方法,详情里一般会说明使用建议,需自行学习研究。 2、指标下载后,代表已对该指标认可,顾不退款! 3、指标不会安装,可在首页点击指标公式安装,各大软件指标安装教程。 4、指标是分析学习工具,不能依赖操作,仅供学习之用,依次操作,盈亏自负! 转载文章声明:本网站转载文章仅为传播更多期货行业信息,并不代表本网站赞同其观点,本网站也不保证文章内容的真实性、准确性和可靠性、完整性。 文章解释权归原作者所有,依次操作,所有后果自行承担,与本站无任何关系。如该文章涉及作品内容、版权或禁止转载的,请及时联系,我们将在第一时间处理。

云析赢指标公式网首席工程师

相关文章

发表评论
暂无评论