好文档 - 专业文书写作范文服务资料分享网站

中短线买卖指标

天下 分享 时间: 加入收藏 我要投稿 点赞

中短线买卖指标

公式源码如下:

Var3:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100; Var4:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100; Var5:=(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100; Var6:=(Var3+Var4+Var5)/3; Var7:=EMA(Var6,5);

指标: EMA(EMA(Var3,5),5)*3, COLORSTICK; Var8:=IF(Var6<=-20,10,0); Var9:=HHV(Var8,10);

STICKLINE(Var8=10,20,10,5,0),COLOR6666FF;

VarA:=IF(Var9 AND CROSS(MA(CLOSE,3),MA(CLOSE,5)),20,0); K:EMA(Var7,5)*2, COLORff00ff; D:EMA(K,5), colorwhite; J:K*3-D*2, coloryellow;

VarB:=BETWEEN(CLOSE,MA(CLOSE,3),MA(CLOSE,5)) AND J>10; 换手: VOL/CAPITAL*100,colorgreen;

DRAWTEXT(VarA=20,15,'底部'),linethick1,colorwhite; STICKLINE((VarA=20),0,10,5,0),colorwhite;

VARC:=(ZIG(3,5)>REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)<=REF(ZIG(3,5),2)) AND (REF(ZIG

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

VARD:=(ZIG(3,5)=REF(ZIG(3,5),2)) AND (REF(ZIG

(3,5),2)>=REF(ZIG(3,5),3));

STICKLINE((VARC=1),(-14),0,4,0),Color0000FF; DRAWTEXT((VARC=1),(-14),'买'),Color0000FF; STICKLINE((VARD=1),14,0,4,0),Color00FF00; DRAWTEXT((VARD=1),18,'卖'),Color00FF00;

VarE:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20; VarF:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA

((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);

Var10:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA

((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1); Var11:=VarFREF(VOL,1) AND CLOSE>REF(CLOSE,1);

DRAWTEXT(Var11 AND COUNT(Var11,30)=1,15,'大资金活动'),linethick1,COLORff00ff;

STICKLINE(Var11 AND COUNT(Var11,30)=1,1,10,5,0),colorff00ff; Var12:=(HIGH+LOW+CLOSE)/3;

Var13:=(Var12-MA(Var12,14))/(0.015*AVEDEV(Var12,14)); Var14:=(Var12-MA(Var12,70))/(0.015*AVEDEV(Var12,70));

Var15:=IF(Var13>=150 AND Var13<200 AND Var14>=150 AND Var14<200,10,0); Var16:=IF(Var13<=-150 AND Var13>-200 AND Var14<=-150 AND Var14>-200,-10,Var15);

Var17:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100; Var18:=100-ABS(Var17);

Var19:=IF(Var18<90,Var18,100); Var1A:=IF(VarE>0,VarE,0);

Var1B:=IF(Var14>=200 AND Var13>=150,15,IF(Var14<=-200 AND Var13<=-150,-15,Var16))+60;

Var1C:=Var1A>48 AND Var1B>60 AND Var19<100;

DRAWTEXT(Var1C AND COUNT(Var1C,30)=1,15,'大笔出货'),linethick1,COLORffcc66; STICKLINE(Var1C AND COUNT(Var1C,30)=1,0,10,5,0),colorffcc66;

主力操盘轨迹 无未来

中短线都可以使用,买卖信号明确 公式源码:

RSV:=(CLOSE-LLV(LOW,7))/(HHV(HIGH,7)-LLV(LOW,7))*100; Y0:SMA(RSV,3,1),colorred,LINETHICK1; Y1:SMA(Y0,3,1),coloryellow,LINETHICK1; DIFf:=EMA(CLOSE,12)-EMA(CLOSE,26); DEA:=EMA(DIFf,9); MACD1:=(DIFf-DEA)*2;

RSV1:=(CLOSE-LLV(LOW,6))/(HHV(HIGH,6)-LLV(LOW,6))*100; Y01:=SMA(RSV1,3,1); Y11:=SMA(Y01,3,1);

DRAWICON(CROSS(y11,y01),y0+0.6,'sell');

DRAWICON(CROSS(y01,y11) AND y1<31,y1-0.7,'buy');

DRAWICON(CROSS(y01,y11) AND MACD1>-0.11,y1-0.7,'buy'); a:20;

买卖

买线:=EMA(C,2);

卖线:=EMA(SLOPE(C,21)*20+C,42); BU:=CROSS(买线,卖线); SEL:=CROSS(卖线,买线);

DRAWTEXT(bu,LOW*0.999,'B'),colorred,linethick3; DRAWTEXT(bu,LOW,'﹉'),Color208FFF,LINETHICK3; DRAWTEXT(sel,HIGH,'﹉'),ColorFFFF00,LINETHICK3; DRAWTEXT(sel,HIGH*1.008,'S'),colorffff00,linethick3; STICKLINE(买线>=卖线,LOW,HIGH,1,0),colorred; STICKLINE(买线>=卖线,CLOSE,OPEN,4.5,0),color0000aa; STICKLINE(买线>=卖线,CLOSE,OPEN,4,0),color0000cc; STICKLINE(买线>=卖线,CLOSE,OPEN,3,0),color0000cc; STICKLINE(买线>=卖线,CLOSE,OPEN,2,0),color0000ee; STICKLINE(买线<卖线,CLOSE,OPEN,4.5,0),coloraaaa00; STICKLINE(买线<卖线,CLOSE,OPEN,4,0),colorbbbb00; STICKLINE(买线<卖线,CLOSE,OPEN,3,0),colorcccc00; STICKLINE(买线<卖线,CLOSE,OPEN,2,0),coloreeee00; STICKLINE(买线<卖线,LOW,HIGH,1,0),colorffff00;

STICKLINE(CROSS(买线,卖线) OR CROSS(卖线,买线),OPEN,CLOSE,3,0),color00ffff; 指导线: EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2),linethick1,ColorFFffFF;

界: MA(CLOSE,27),linethick1,Color00FFFF; DRAWTEXT(CROSS(指导线,界),界,' ̄'),Colorffffff; DRAWTEXT(CROSS(界,指导线),界,' ̄'),Color00ffff; 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; G:=98;

我自用的金牌MACD副图指标,还不错,觉得好就试一试!! 源码:

DIFF : EMA(CLOSE,12) - EMA(CLOSE,26);

DEA : EMA(DIFF,9);

MACD : 2*(DIFF-DEA), COLORSTICK; D1:=EMA(C,3)-EMA(C,8); D2:=EMA(O,3)-EMA(O,8); D3:=EMA(H,3)-EMA(H,8); D4:=EMA(L,3)-EMA(L,8);

DRAWICON(CROSS(D1,DIFF) AND DIFF<-0.05 ,D4-0.1,1); DRAWICON(CROSS(DIFF,D1) AND DIFF>0.1 ,D3+0.1,2); STICKLINE(D1>=D2,D1,D2,8,0),COLOR0055AA; STICKLINE(D1<=D2,D1,D2,8,0),COLOR006600; STICKLINE(D1>=D2,D1,D2,5,0),COLOR0077CC; STICKLINE(D1>=D2,D1,D2,3,0),COLOR0099DD; STICKLINE(D1>=D2,D3,D4,0,0),COLOR00BBFF; STICKLINE(D1<=D2,D1,D2,5,0),COLOR009900; STICKLINE(D1<=D2,D1,D2,3,0),COLOR00BB00; STICKLINE(D1<=D2,D3,D4,0,0),COLOR00EE00;

主力资金:EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3), COLORRED,LINETHICK2; 即将爆发线: 65,color00ff00; 爆发线:80,COLORWHITE,LINETHICK1;

DRAWTEXT(CROSS(主力资金,爆发线),主力资金,'★爆发!') ,COLORYELLOW; 爆发警戒线: 50,COLOR00FF00; 抄底线:20,COLORWHITE,LINETHICK2;

DRAWTEXT(CROSS(主力资金,抄底线),主力资金,'★抄底') ,COLORWHITE; DRAWTEXT(CROSS(主力资金,爆发警戒线),主力资金,'★加仓') ,COLORWHITE; DRAWTEXT(CROSS(主力资金,即将爆发线),主力资金,'★加仓') ,COLORWHITE; DRAWTEXT(CROSS(爆发线,主力资金),爆发线,'★空仓') ,COLORWHITE; LC:= REF(C,1); F1:=zig(3,15);

方向:IF((F1> REF(F1,1)),5,105),COLOR00FF00,LINETHICK2; DRAWTEXT(CROSS(抄底线,方向),抄底线,'★逢低进场!') ,colorred; DRAWTEXT(CROSS(方向,抄底线),方向+20,'★逢高出场!') ,COLORWHITE;

主图指标

MA8:=EMA(C,5); MA10:=EMA(C,10); MA13:=EMA(C,13); MA20:=EMA(C,20);

MA34:=EMA(C,34);

YCX:=MA34>=REF(MA8,1);

H1:=MAX(MAX(MA10,MA13),MA34); L1:=MIN(MIN(MA10,MA13),MA34);

VV:=H1REF(MA8,1); 金蜘蛛:=IF(VV,1,0);

MA1:MA(CLOSE,5); MA2:MA(CLOSE,13); MA3:MA(CLOSE,21),LINETHICK2;

MA4:MA(CLOSE,34); MA5:MA(CLOSE,20);

FFF:=(LOW<=MA1 AND LOW<=MA2 AND LOW<=MA3 AND CLOSE>=MA1 AND CLOSE>=MA2 AND CLOSE>=MA3 AND CLOSE>REF(CLOSE,1)AND 金蜘蛛 ); DRAWICON(OPEN>MA1 AND OPEN>MA2 AND OPEN>MA5 AND CLOSE

BBB:=(LOW<=MA1 AND LOW<=MA2 AND LOW<=MA3 AND HIGH>=MA1

AND HIGH>=MA2 AND HIGH>=MA3 AND CLOSE>OPEN AND CLOSE>REF(CLOSE,1)); STICKLINE(BBB,CLOSE,OPEN,3,0)COLOR9900FF;

A1:=REF(CLOSE,2)/REF(OPEN,2)<0.95 AND REF(C,2)REF(CLOSE,2) AND REF(CLOSE,1)>(REF(CLOSE,2)+REF(OPEN,2))/2;

A3:=CLOSE>REF(CLOSE,1); A4:=LLV(LOW,13)=REF(LOW,1); MB:=BACKSET(A1 AND A2 AND A3 AND A4,3); STICKLINE(MB,CLOSE,OPEN,3,0),COLOR0066FF;

DRAWTEXT(CROSS(0.5,MB),C *1.08,'↑曙光'),COLOR0066FF; DRAWTEXT(FFF,C*0.98,'↑金蜘蛛'),COLOR00FFFF;

AA:=REF(C,1)0.02;{确定昨天阴线实体大小}

BB:=OO AND(C-O)/O>0.03 AND C

DD:=REF(C,1)

好友反攻:=AA AND BB AND DD;

DRAWTEXT(好友反攻,C*0.98,'↑好友反攻'),COLOR00FFFF;

跳空高开:=O>REF(C,1) AND L>REF(C,1) AND O-REF(C,1)/REF(C,1)>=15 ;

AA1:=REF(C,1)0.02;{确定昨天阴线实体大小}

BB1:=C>REF(O,1);{确定今天阳线有可能将昨天阴线全部吞没}

旭日东升:=AA1 AND BB1 AND 跳空高开;

DRAWTEXT(旭日东升,C*0.98,'↑旭日东升'),COLOR00FFFF;

五日总涨幅:=SUM((REF(C,1)-REF(C,2))/REF(C,2)*100,5)<5; 下影线:=(REF(H,1)-REF(L,1))/REF(L,1)*100>5 AND (MIN(REF(O,1),REF(C,1))-REF(L,1))/REF(L,1)*100>3;

今天收阳:=C>O;

单针探底确认:=五日总涨幅 AND 下影线 AND 今天收阳 ;

DRAWTEXT( 单针探底确认,C*0.98,'↑单针确认'),COLOR00FFFF;

VAR1:=EMA(CLOSE,12)-EMA(CLOSE,26); VAR2:=EMA(VAR1,9); VAR3:=VAR1-VAR2; VAR4:=MA(CLOSE,4); VAR5:=MA(CLOSE,20); VAR6:=MA(CLOSE,62); VAR7:=LLVBARS(VAR4,4); VAR8:=LLVBARS(VAR6,30); VAR9:=COUNT(VAR7=1,10);

海豚张嘴:=3< VAR8<29 AND VAR7=1 AND VAR4>VAR5 AND VAR5>VAR6 AND VAR3>-0.022 AND VAR9=1 AND SLOPE(VAR6,5)<0.035;

DRAWTEXT( 海豚张嘴,C*0.98,'↑ 海豚张嘴'),COLOR00FFFF;

倾盆大雨:=(IF((REF(C,1)/REF(O,1)>=1.03 AND OREF(O,1) AND C

DRAWTEXT( 倾盆大雨,H*0.98,'↑倾盆大雨'),COLORWHITE;

吊颈:=(IF((HIGH = MAX(OPEN,CLOSE) AND HIGH-LOW > 3*(HIGH-MIN(OPEN,CLOSE)) AND CLOSE>MA(CLOSE,5)),1,0));

DRAWTEXT(吊颈,C*0.98,'↑吊颈'),COLORWHITE;

穿头破脚:=(IF(((REF(CLOSE,1)/REF(OPEN,1)>1.03 AND CLOSE/OPEN<0.96 AND CLOSEREF(CLOSE,1))OR (REF(CLOSE,1)/REF(OPEN,1)<0.97 AND CLOSE/OPEN>1.04 AND CLOSE>REF(OPEN,1) AND OPEN

乌云盖顶:=(IF((REF(CLOSE,1)/REF(OPEN,1)>1.03 AND CLOSE/OPEN<0.97 AND OPEN>REF(CLOSE,1) AND CLOSE

T1:=REF(VOL,1)=HHV(V,10); T2:=REF(VOL,1)/REF(VOL,2)>2; T3:=V/REF(VOL,1)<0.728;

T4:=REF(VOL,1)/REF(VOL,2)>=1.5;

T5:=O>C AND C REF(O,1); T6:= (O-C)/C>0.03;{确定昨天阴线实体大小}

阴缩量:=T1 AND T2 AND T3 AND T4 AND T5 AND T6; DRAWTEXT(阴缩量,O*0.98,'↑阴缩量'),COLORCYAN;

中短线买卖指标

中短线买卖指标公式源码如下:Var3:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;Var4:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;Var5:=(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100;Var6:=(
推荐度:
点击下载文档文档为doc格式
9zjqv8r4876h1tx45d7638ccg96n4k0072i
领取福利

微信扫码领取福利

微信扫码分享