组合买点通达信指标公式源码

合集下载

通达信技术指标公式源码大全

通达信技术指标公式源码大全

通达信技术指标公式源码大全

一、简介

本文档提供了通达信技术指标公式源码的大全,旨在帮助用户了解和使用通达信软件中的各种技术指标。

二、技术指标公式源码

以下是一些常用的技术指标公式源码:

1. 移动平均线(MA):

C := CLOSE;

MA(C, n)

2. 相对强弱指标(RSI):

LC := REF(C, 1);

R := SMA(MAX(C-LC, 0), n, 1) / SMA(ABS(C-LC), n, 1) * 100;

RSI := SMA(R, m, 1);

3. 布林线(BOLL):

MA(C, n);

BOLLUP := MA(C, n) + k * STD(C, n);

BOLLDOWN := MA(C, n) - k * STD(C, n);

4. 动量指标(MOM):

MOM := C - REF(C, n);

5. 成交量指标(VOL):

VOL := V;

6. 相对强弱指数(RSI):

RSV:=(CLOSE-LLV(LOW,M))/((HHV(HIGH,M)-LLV(LOW, M))*100);

;

7. 平均成交量(AVP):

AVP:=(C+M+O+L)/4*V*T/F;

三、使用指南

使用以上的技术指标公式源码,可以在通达信软件中进行相关指标的计算和显示。用户可以根据自己的需要,调整指标参数和相关代码,以获得所需的分析结果。

请注意,以上源码仅供参考,具体使用时需要根据实际情况进行修改和优化。

结论

本文档提供了通达信技术指标公式源码的大全,希望能对用户在通达信软件中应用技术指标提供帮助。用户可以根据实际需求,选择合适的指标公式源码进行使用。

通达信公式精准买卖点主图指标(源码)

通达信公式精准买卖点主图指标(源码)
通达信公式精准买卖点主图指标源码
通达信公式精准买卖点主图指标(源码)
工作线:EMA(CLOSE,14),COLORFF00FF,LINETHICK1; 二号线:EMA(CLOSE,25),COLORYELLOW;三号线:EMA(CLOSE,99),COLORGREEN; 四号线:EMA(CLOSE,144),COLORBLUE;生命 线:EMA(CLOSE,453),COLORYELLOW,LINETHICK2;
VAR1:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOWREF(CLOSE,1))),25); VAR2:=HIGH-REF(HIGH,1); VAR3:=REF(LOW,1)-LOW; VAR4:=SUM(IF(VAR2>0 AND VAR2>VAR3,VAR2,0),25); VAR5:=SUM(IF(VAR3>0 AND VAR3>VAR2,VAR3,0),25); VAR6:=VAR4*100/VAR1; VAR7:=VAR5*100/VAR1; VAR8:=MA(ABS(VAR7-VAR6)/(VAR7+VAR6)*100,15); VAR9:=(VAR8+REF(VAR8,15))/2; A:=(VAR7>VAR6 AND VAR7>25 AND VAR6<25); B:=ZIG(3,5)*100; G:=MA(B,2); D:=CROSS(B,G); W:=CROSS(G,B); E:=REF(INDEXC,1); F:=SMA(MAX(INDEXC-E,0),3,1)/SMA(ABS(INDEXC-E),3,1); VAR10:=F AND F<8; VAR11:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; VAR12:=SMA(VAR11,3,1); VAR13:=SMA(VAR12,3,1); VAR14:=VAR13 AND VAR13<20; DRAWTEXT(FILTER(D=1,5),LOW-0.1,"↖买"),COLORYELLOW; DRAWTEXT(W=1,HIGH*1.02,"逃"),COLORGREEN; STICKLINE(W=1,O,C,3,0),COLORBLUE; STICKLINE(D=1,O,C,3,0),COLORYELLOW;

通达信指标公式源码自己组合成交量附图

通达信指标公式源码自己组合成交量附图

VOLUME:VOL,VOLSTICK;

VVOL:=IF(CURRBARSCOUNT=1 AND

PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;

STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,VVOL,0,3,-1),COLOR00C0C0; EV:=VOL,;

VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));

成交:=VOL,POINTDOT;

盘:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN )+(CLOSE-LOW)),VOL/2)),COLORRED,NODRAW;

盘:IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN, 0-VAR1*(HIGH-LOW),0-VOL/2)),COLOR80FF00,NODRAW;

成交量:EV/1,LINETHICK0;

成交额(千万):AMOUNT/10000000,POINTDOT,COLORYELLOW;

VAR5:=AMOUNT/((HIGH-LOW)*2-ABS(CLOSE-OPEN));

入:IF(CLOSE>OPEN,VAR5*(HIGH-LOW),IF(CLOSE<OPEN,VAR5*((HIGH-OPEN )+(CLOSE-LOW)),AMOUNT/2))/10000000,COLORRED,NODRAW;

通达信指标公式源码超级组合顶底副图,抄底逃顶不是梦,适合做波段或者趋势交易。

通达信指标公式源码超级组合顶底副图,抄底逃顶不是梦,适合做波段或者趋势交易。

VAR2:=LLV(LOW,10);

VAR3:=HHV(HIGH,25);

阶段卖: 3.2,COLORC6C600;

3.5,COLOR0088FF;

清仓: 3.5,COLORFF75FF;

动力线:= EMA((CLOSE-VAR2)/(VAR3-VAR2)*4,4);

STICKLINE(动力线>REF(动力线,1) ,动力线,REF(动力线,1),3 ,1),COLORRED; STICKLINE(动力线<=REF(动力线,1) ,动力线,REF(动力线,1),3 ,1),COLOR00FF00; 底部:0.2,COLOR70DB93;

关注:0.5,COLORYELLOW;

DRAWICON( FILTER(CROSS(动力线,关注),20),动力线+0.02 ,1);

DRAWICON( FILTER(CROSS(清仓,动力线),20),动力线+0.02,2);

DRAWICON( FILTER(CROSS(动力线,底部),20),动力线+0.02 ,1);

DRAWICON( FILTER(CROSS(阶段卖,动力线),20),动力线+0.02,2);

界线:1.75,POINTDOT,LINETHICK2,COLOR70DB93;

数值:=动力线,COLORA8A8A8;

{希望之星买点}

A3:=ABS(REF(C,2)-REF(O,2))/REF(O,2)<0.012;{前天星形}

A2:=(REF(O,1)-REF(C,1))/REF(O,1)<0.008;{昨天星形}

B1:=IF(REF(C,2)>REF(O,2),REF(O,2),REF(C,2));

通达信指标公式源码 黑马信号(选股买点、黑马线、发现黑马)

通达信指标公式源码 黑马信号(选股买点、黑马线、发现黑马)

VAR3:=LLV(HIGH,240);

VAR4:=100*(CLOSE-VAR3);

VAR5:=(CLOSE-LLV(LOW,528))/(HHV(HIGH,528)-LLV(LOW,528))*100;

VAR6:=(CLOSE-LLV(CLOSE,530))/(HHV(CLOSE,530)-LLV(CLOSE,530))*100;

VAR8:=SMA(MAX(CLOSE-REF(CLOSE,1),0),34,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),7,1)*1 00;

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

VARA:=BARSCOUNT(CLOSE);

VARB:=VAR8<20 AND VAR9<23 AND VARA>35;

VARC:=VARB AND COUNT(VARB,1)=1;

VARD:=EMA(CLOSE,21)-EMA(CLOSE,8);

VARE:=EMA(VARD,5);

VARF:=TROUGHBARS(3,6,1)<4 AND CROSS(VARD,VARE);

VAR10:=IF(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,4,0);

VAR11:=ZIG(3,6)>REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)<=REF(ZIG(3,6),3);

四合一通达信指标公式源码无未来

四合一通达信指标公式源码无未来

四合一通达信指标公式源码无未来

以下是通达信的四合一指标(MACD、KDJ、RSI、CCI)的公式源码,

该源码是基于实时行情计算的,无未来数据。

一、MACD指标:

```

study(title="通达信 MACD", shorttitle="MACD", overlay=false) //参数设置

src = close

//计算MACD

[macdLine, signalLine, _] = macd(src, 12, 26, 9)

//绘制指标线

plot(macdLine, color=blue, linewidth=2, title="MACD Line")

plot(signalLine, color=red, linewidth=2, title="Signal Line") hline(0, "Zero Line", color=black, linestyle=dotted)

```

二、KDJ指标:

```

study(title="通达信 KDJ", shorttitle="KDJ", overlay=false)

//参数设置

length = input(9, minval=1, title="Length")

highestHigh = highest(high, length)

lowestLow = lowest(low, length)

rsv = (close - lowestLow) / (highestHigh - lowestLow) * 100 k = sma(rsv, 3)

通达信指标公式源码 中线买卖 主图源码

通达信指标公式源码 中线买卖 主图源码

DA:(3*CLOSE+OPEN+LOW+HIGH)/6,POINTDOT;

DB:(20*DA+19*REF(DA,1)+18*REF(DA,2)

+17*REF(DA,3)+16*REF(DA,4)+15*REF(DA,5)+14*REF(DA,6)+13*REF(DA,7)

+12*REF(DA,8)+11*REF(DA,9)+10*REF(DA,10)+9*REF(DA,11)

+8*REF(DA,12)+7*REF(DA,13)+6*REF(DA,14)+5*REF(DA,15)+4*REF(DA,16)+3*REF(D A,17)

+2*REF(DA,18)+REF(DA,20))/210,COLORF0F000;DC:MA(DB,5),COLORYELLOW,LINETHI CK1;

STICKLINE(DC>DB , DC,DB ,2.5,0),COLORRED,LINETHICK2;

STICKLINE(DB>DC,DC,DB,2.5,0),COLORGREEN,LINETHICK2;

买点:=CROSS(DB,DC) AND DB>DC;

DRAWTEXT(买点,DB*0.98,'买点'),COLORYELLOW;

卖点:=CROSS(DC,DB) AND DC>DB;

DRAWTEXT(卖点,DC*1.02,'卖点'),COLORYELLOW;

通达信指标公式源码 短线买卖指标组合

通达信指标公式源码 短线买卖指标组合

1.投机指标

投机5:100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5)),COLORred;

投机10:100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10)),COLORwhite;

投机20:100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20)),COLORFF8000;

投机30:100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30)),COLOR00FFFF;

抄底: IF(TROUGHBARS(2,5,1)=0 AND

HIGH>LOW+0.01,20,0),COLORFF66FF ,LINETHICK2 ;

卖出: IF(投机20>=100,30,0),LINETHICK2,COLORGREEN;

2.收藏很久

(N 1 100 5)

趋势线:

3*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)-2*SMA(S MA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,N,1),3,1);

见底: 10;

准备: IF(趋势线<=20,40,0);

买入: IF(CROSS(趋势线,见底),60,0),colorred;

卖出: IF(趋势线>=80,100,0);

3.绝对稳赚

(N 1 100 5)

Var1:=REF(CLOSE,2);

A2: SMA(MAX(CLOSE-Var1,0),N,1)/SMA(ABS(CLOSE-Var1),N,1)*100, COLORyellow;

神奇买点卖点通达信指标公式源码

神奇买点卖点通达信指标公式源码

神奇买点卖点副图源码:

PV:=(C*2+H+L)/4;

PK:=EMA(PV,13)-EMA(PV,34);

PD:=EMA(PK,9);

KF:=(-2*(PK-PD))*61.8;

DF:=(2*(PK-PD))*61.8;

卖点:IF(REF(KF,2)>REF(KF,1) AND KF>REF(KF,1) AND KF<-110,1,0),COLORGREEN; 买点:IF(REF(DF,2)>REF(DF,1) AND DF>REF(DF,1) AND DF<-110,1,0),COLORRED;

最精准的买点通达信指标公式源码

最精准的买点通达信指标公式源码

当出现黄柱的买点时可以关注

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

VAR1:=(8*AAA+7*REF(AAA,1)+6*REF(AAA,2)+5*REF(AAA,3)+4*REF(AAA,4)+3*REF(A AA,5)+2*REF(AAA,6)+REF(AAA,8))/36;

VAR2:=(HHV(VAR1,5)+HHV(VAR1,10)+HHV(VAR1,20))/3;

VAR3:=(LLV(VAR1,5)+LLV(VAR1,10)+LLV(VAR1,20))/3;

VAR4:=(HHV(VAR2,5)+HHV(VAR2,10)+HHV(VAR2,20))/3;

VAR5:=(LLV(VAR3,5)+LLV(VAR3,10)+LLV(VAR3,20))/3;

VAR6:=(LLV(VAR1,2)+LLV(VAR1,4)+LLV(VAR1,6))/3;

短线:=VAR1,COLORMAGENTA,LINETHICK2;

中线:=VAR6,COLORCYAN,LINETHICK2;

长线:=EMA(((SLOPE(CLOSE,21) * 20) +

CLOSE),42),LINETHICK2,NODRAW,COLORGREEN;

{持股持币彩色K线}

EMA2:=EMA(CLOSE,2);

BBUY:=CROSS(EMA2,长线);

SEL:=CROSS(长线,EMA2);

STICKLINE((EMA2 >= 长线),LOW,HIGH,0.4,0),COLOR0000FF;

STICKLINE((EMA2 >= 长线),CLOSE,OPEN,3,1),COLOR000077;

通达信指标公式源码 神秘买卖点主图指标

通达信指标公式源码 神秘买卖点主图指标

V1:=DMA((((HIGH + LOW) + (CLOSE * 2)) / 4.15),0.9);

HY1:=REF(EMA(V1,3),1);

实时线:MA(CLOSE,1),COLOR006400;

神秘线:HY1,COLOR400080;

STICKLINE(C>HY1,LOW,HIGH,1,0),COLORRED;

STICKLINE(C>HY1,CLOSE,OPEN,4.5,0),COLORRED;

STICKLINE(C>HY1,CLOSE,OPEN,4,0),COLORRED;

STICKLINE(C>HY1,CLOSE,OPEN,3,0),COLORRED;

STICKLINE(C>HY1,CLOSE,OPEN,2,0),COLORRED;

STICKLINE(C<=HY1,CLOSE,OPEN,4.5,0),COLORFF4242;

STICKLINE(C<=HY1,CLOSE,OPEN,4,0),COLORFF4242;

STICKLINE(C<=HY1,CLOSE,OPEN,3,0),COLORFF4242;

STICKLINE(C<=HY1,CLOSE,OPEN,2,0),COLORFF4242;

STICKLINE(C<=HY1,LOW,HIGH,1,0),COLORFF4242;

DRAWTEXT(CROSS(CLOSE,HY1),LOW,'买点'),LINETHICK2,COLORYELLOW; DRAWTEXT(CROSS(HY1,CLOSE),HIGH*1.08,'卖点'),LINETHICK3,COLORWHITE;

通达信指标公式源码买点金钻指标

通达信指标公式源码买点金钻指标

RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; K:=SMA(RSV,3,1);

D:=SMA(K,3,1);

J:=3*K-2*D;

TJ1:=J<20;

TJ2:=J>REF(J,1) AND REF(J,1)

XG:(TJ1 AND TJ2)*100,COLORRED,LINETHICK2;

通达信指标公式源码绝密买卖点指标

通达信指标公式源码绝密买卖点指标

{买卖密码}

JRH:=HHV(C,2);

JRL:=LLV(C,2);

MA3:=MA(CLOSE,3);

YTSL:=(3*CLOSE+LOW+OPEN+HIGH)/6;

R1:=(CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2));

R2:=(REF(R1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); R3:=(REF(R2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); R4:=(REF(R3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); R5:=(REF(R4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); R6:=(REF(R5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); R7:=(REF(R6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); R8:=(REF(R7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); R9:=(REF(R8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); RA:=(REF(R9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); RB:=(REF(RA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); RC:=(REF(RB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); RD:=(CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2));

通达信指标公式源码 绝佳买卖

通达信指标公式源码 绝佳买卖

VAR1:=(CLOSE+HIGH+LOW)/3;

VAR2:=EMA(VAR1,10);

VAR3:=REF(VAR2,1);

探底震仓:IF(VAR2,10,DRAWNULL),COLORYELLOW,LINETHICK5;

红买: IF(VAR2>VAR3,10,DRAWNULL), COLORRED,LINETHICK5;

蓝卖: IF(VAR2<VAR3,10,DRAWNULL),COLORBLUE,LINETHICK5;

RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*150;

上穿买:SMA(RSV,3,1),COLORGREEN;

IF(上穿买>REF(上穿买,1)*1.01,上穿买,DRAWNULL),COLORRED;

IF(上穿买<REF(上穿买,1),上穿买,DRAWNULL),COLORBLUE;

趋势线:SMA(上穿买,3,1),COLORYELLOW;

VAR03:=(3,15,1)<10;

VAR05:=IF(VAR03=1,2,0);

涨家数:INDEXADV,COLOR0080FF,NODRAW;

跌家数:INDEXDEC,COLORGREEN,NODRAW;

DRAWICON(CROSS(红买,蓝卖),红买,2);

DRAWICON(CROSS(蓝卖,红买),蓝卖-1,1);

DRAWTEXT_FIX(1,0,0,0,'★A - 见红关注-逢低买入★'),COLORRED; DRAWTEXT_FIX(1,0.14,0,0,'★B - 见绿警示-逢高减仓★'),COLORGREEN; DRAWTEXT_FIX(1,0.28,0,0,'★C - 见蓝风险-高抛避险★'),COLORCYAN;

通达信精准组合买卖指标公式

通达信精准组合买卖指标公式

通达信精准组合买卖指标公式

VAR3:=LLV(HIGH,240);

VAR4:=100*(CLOSE-VAR3);

VAR5:=(CLOSE-LLV(LOW,528))/(HHV(HIGH,528)-

LLV(LOW,528))*100;

VAR6:=(CLOSE-LLV(CLOSE,530))/(HHV(CLOSE,530)-

LLV(CLOSE,530))*100;

VAR8:=SMA(MAX(CLOSE-

REF(CLOSE,1),0),34,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),7,1)*100;

VAR9:=SMA(MAX(CLOSE-

REF(CLOSE,1),0),13,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),13,1)*100;

VARA:=BARSCOUNT(CLOSE);

VARB:=VAR8<20 AND VAR9<23 AND VARA>35;

VARC:=VARB AND COUNT(VARB,1)=1;

VARD:=EMA(CLOSE,21)-EMA(CLOSE,8);

VARE:=EMA(VARD,5);

VARF:=TROUGHBARS(3,6,1)<4 AND CROSS(VARD,VARE);

VAR10:=IF(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,4,0);

VAR11:=ZIG(3,6)>REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)<=REF(ZIG(3,6),3);

通达信指标公式源码 买点绝了主图指标

通达信指标公式源码 买点绝了主图指标

MA3:MA(C,3),COLORWHITE;

MA5:MA(C,5),COLORGREEN;

MA10:MA(C,10),COLORRED;

MA20:MA(C,20),COLORBLUE;

MA30:MA(C,30),COLORYELLOW;

VAR1:=EMA(C,3);

VAR2:=EMA(C,5);

VAR3:=EMA(C,10);

VAR4:=EMA(C,20);

VAR5:=EMA(C,30);

VAR6:=(VAR2+VAR3+VAR4+VAR5)/4;

VAR7:=(VAR6-REF(VAR6,15))/REF(VAR6,15)*100;

VAR8:=(VAR6-REF(VAR6,15))/REF(VAR6, 15)*100;

VAR9:=EMA(VAR7,8);

STICKLINE(VAR7<1*REF(VAR7,1),H,L,0.5,0),COLORBLUE;STICKLINE(VAR7<1*REF(VAR7 ,1),O,C,8, 0),COLORBLUE;

STICKLINE(VAR7>1*REF(VAR7,1),H,L,0.5,0),COLORRED;STICKLINE(VAR7>1*REF(VAR7,

1),O,C,8, 0),COLORRED;

STICKLINE(VAR7<1*REF(VAR7,1) AND VAR9>1*REF(VAR9,1),H,L,0.5,0),COLORGREEN;STICKLINE(VAR7<1*REF(VAR7,1) AND VAR9>1*REF(VAR9,1),O,C,8, 0),COLORGREEN;

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

VAR3:=LLV(HIGH,240);

VAR4:=100*(CLOSE-VAR3)/VAR3;

VAR5:=(CLOSE-LLV(LOW,528))/(HHV(HIGH,528)-LLV(LOW,528))*100;

VAR6:=(CLOSE-LLV(CLOSE,530))/(HHV(CLOSE,530)-LLV(CLOSE,530))*100;

VAR8:=SMA(MAX(CLOSE-REF(CLOSE,1),0),34,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),7,1)*1 00;

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

VARA:=BARSCOUNT(CLOSE);

VARB:=VAR8<20 AND VAR9<23 AND VARA>35;

VARC:=VARB AND COUNT(VARB,1)=1;

VARD:=EMA(CLOSE,21)-EMA(CLOSE,8);

VARE:=EMA(VARD,5);

VARF:=TROUGHBARS(3,6,1)<4 AND CROSS(VARD,VARE);

VAR10:=IF(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,4,0);

VAR11:=ZIG(3,6)>REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2) AND

REF(ZIG(3,6),2)<=REF(ZIG(3,6),3);

VAR12:=ZIG(3,6)=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)>=REF(ZIG(3,6),3);

VAR13:=ZIG(3,22)>REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)<=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)<=REF(ZIG(3,22),3);

VAR14:=ZIG(3,22)=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)>=REF(ZIG(3,22),3);

VAR15:=ZIG(3,51)>REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)<=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)<=REF(ZIG(3,51),3);

VAR16:=ZIG(3,51)=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)>=REF(ZIG(3,51),3);

VAR17:=ZIG(3,72)>REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)<=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)<=REF(ZIG(3,72),3);

VAR18:=ZIG(3,72)=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)>=REF(ZIG(3,72),3);

VAR19:=EMA(CLOSE,2)-EMA(CLOSE,150);

VAR1A:=EMA(VAR19,100);

VAR1B:=2*(VAR19-VAR1A);

VAR1C:=POW(VAR1B,3)*0.1+POW(VAR1B,1);

VAR1D:=SQRT(SQRT(LOW*HIGH*OPEN*CLOSE));

VAR1E:=EMA(VAR1D*0.97,3);

VAR1F:=(HIGH+LOW+CLOSE)/3;

VAR20:=(VAR1F-MA(VAR1F,14))/(0.015*AVEDEV(VAR1F,14));

VAR21:=CROSS(VAR1E,LOW);

选股买点: VAR10, , COLORYELLOW;

组合买: (VAR11+VAR13+VAR15+VAR17), , COLORRED;

组合卖: (VAR12+VAR14+VAR16+VAR18), , COLORGREEN;

黑马线: IF(MONTH<2008 AND VAR1B>0.1,VAR1C,0)*1, , COLOR6699CC;

黑马信号介入点: 选股买点AND VARF AND VARC AND VAR21 AND VAR4<0 AND VAR5<2 AND VAR6=0, , COLORFFFF99;

DRAWTEXT(VAR13,0.6,'●'), ,COLORRED;

DRAWICON(组合买,组合买,1);

DRAWICON(组合卖,组合卖,9);

DRAWTEXT(黑马信号介入点>0,4.5,'●我的黑马介入点'), , COLORRED;

DRAWICON(选股买点>0,4.2,1);

DRAWTEXT(选股买点AND VARF AND VARC,2.8,' 30%下单莫错过!'), , COLORMAGENTA; DRAWTEXT(VAR18,3,'空仓'), , COLORGREEN;

DRAWTEXT(VAR20<-110 AND 选股买点>0,2,'选股买点'), ,COLORYELLOW; DRAWTEXT(VAR17,1.3,'发现黑马'), , COLORFF6600;

DRAWTEXT(选股买点AND VAR20<-100 AND VARF AND VARC>0,4.1,'★组合5分钟线选股思路获利5%以上'), , COLORRED;

-10;

相关文档
最新文档