版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
中短线买卖指标公式源码如下:
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(Var9ANDCROSS(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))ANDJ>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),1))AND(REF(ZIG(3,5),1)>=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:=VarF<REF(Var10,1)ANDVOL>REF(VOL,1)ANDCLOSE>REF(CLOSE,1);
DRAWTEXT(Var11ANDCOUNT(Var11,30)=1,15,'大资金活动'),linethick1,COLORff00ff;
STICKLINE(Var11ANDCOUNT(Var11,30)=1,1,10,5,0),colorff00ff;
Var12:=(HIGH+LOW+CLOSE)/3;
Var13:=(Var12-MA(Var12,14))/*AVEDEV(Var12,14));
Var14:=(Var12-MA(Var12,70))/*AVEDEV(Var12,70));
Var15:=IF(Var13>=150ANDVar13<200ANDVar14>=150ANDVar14<200,10,0);
Var16:=IF(Var13<=-150ANDVar13>-200ANDVar14<=-150ANDVar14>-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>=200ANDVar13>=150,15,IF(Var14<=-200ANDVar13<=-150,-15,Var16))+60;
Var1C:=Var1A>48ANDVar1B>60ANDVar19<100;
DRAWTEXT(Var1CANDCOUNT(Var1C,30)=1,15,'大笔出货'),linethick1,COLORffcc66;
STICKLINE(Var1CANDCOUNT(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+,'sell');
DRAWICON(CROSS(y01,y11)ANDy1<31,,'buy');
DRAWICON(CROSS(y01,y11)ANDMACD1>,,'buy');
a:20;
买卖买线:=EMA(C,2);
卖线:=EMA(SLOPE(C,21)*20+C,42);
BU:=CROSS(买线,卖线);
SEL:=CROSS(卖线,买线);
DRAWTEXT(bu,LOW*,'B'),colorred,linethick3;
DRAWTEXT(bu,LOW,'﹉'),Color208FFF,LINETHICK3;
DRAWTEXT(sel,HIGH,'﹉'),ColorFFFF00,LINETHICK3;
DRAWTEXT(sel,HIGH*,'S'),colorffff00,linethick3;
STICKLINE(买线>=卖线,LOW,HIGH,1,0),colorred;
STICKLINE(买线>=卖线,CLOSE,OPEN,,0),color0000aa;
STICKLINE(买线>=卖线,CLOSE,OPEN,4,0),color0000cc;
STICKLINE(买线>=卖线,CLOSE,OPEN,3,0),color0000cc;
STICKLINE(买线>=卖线,CLOSE,OPEN,2,0),color0000ee;
STICKLINE(买线<卖线,CLOSE,OPEN,,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(买线,卖线)ORCROSS(卖线,买线),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)ANDDIFF<,,1);
DRAWICON(CROSS(DIFF,D1)ANDDIFF>,D3+,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:=H1<CANDO<L1ANDYCXANDMA8>REF(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<=MA1ANDLOW<=MA2ANDLOW<=MA3ANDCLOSE>=MA1AND
CLOSE>=MA2ANDCLOSE>=MA3ANDCLOSE>REF(CLOSE,1)AND金蜘蛛);
DRAWICON(OPEN>MA1ANDOPEN>MA2ANDOPEN>MA5ANDCLOSE<MA1
ANDCLOSE<MA2ANDCLOSE<MA5,LOW,2);
BBB:=(LOW<=MA1ANDLOW<=MA2ANDLOW<=MA3ANDHIGH>=MA1
ANDHIGH>=MA2ANDHIGH>=MA3ANDCLOSE>OPENANDCLOSE>REF(CLOSE,1));
STICKLINE(BBB,CLOSE,OPEN,3,0)COLOR9900FF;
A1:=REF(CLOSE,2)/REF(OPEN,2)<ANDREF(C,2)<REF(C,3);
A2:=REF(OPEN,1)<REF(CLOSE,2)ANDREF(CLOSE,1)>REF(CLOSE,2)
ANDREF(CLOSE,1)>(REF(CLOSE,2)+REF(OPEN,2))/2;
A3:=CLOSE>REF(CLOSE,1);A4:=LLV(LOW,13)=REF(LOW,1);
MB:=BACKSET(A1ANDA2ANDA3ANDA4,3);
STICKLINE(MB,CLOSE,OPEN,3,0),COLOR0066FF;
DRAWTEXT(CROSS,MB),C*,'↑曙光'),COLOR0066FF;
DRAWTEXT(FFF,C*,'↑金蜘蛛'),COLOR00FFFF;
AA:=REF(C,1)<REF(O,1)AND(REF(O,1)-REF(C,1))/REF(C,2)>;{确定昨天阴线实体大小}
BB:=O<REF(C,1)ANDC>OAND(C-O)/O>ANDC<REF(O,1);
DD:=REF(C,1)<REF(O,1)ANDREF(C,2)<REF(O,2)ANDREF(C,3)<REF(O,3);
好友反攻:=AAANDBBANDDD;
DRAWTEXT(好友反攻,C*,'↑好友反攻'),COLOR00FFFF;
跳空高开:=O>REF(C,1)ANDL>REF(C,1)ANDO-REF(C,1)/REF(C,1)>=15;
AA1:=REF(C,1)<REF(O,1)AND(REF(O,1)-REF(C,1))/REF(C,2)>;{确定昨天阴线实体大小}
BB1:=C>REF(O,1);{确定今天阳线有可能将昨天阴线全部吞没}
旭日东升:=AA1ANDBB1AND跳空高开;
DRAWTEXT(旭日东升,C*,'↑旭日东升'),COLOR00FFFF;
五日总涨幅:=SUM((REF(C,1)-REF(C,2))/REF(C,2)*100,5)<5;
下影线:=(REF(H,1)-REF(L,1))/REF(L,1)*100>5AND(MIN(REF(O,1),REF(C,1))-REF(L,1))/REF(L,1)*100>3;
今天收阳:=C>O;
单针探底确认:=五日总涨幅AND下影线AND今天收阳;
DRAWTEXT(单针探底确认,C*,'↑单针确认'),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<29ANDVAR7=1ANDVAR4>VAR5ANDVAR5>VAR6ANDVAR3>ANDVAR9=1ANDSLOPE(VAR6,5)<;
DRAWTEXT(海豚张嘴,C*,'↑海豚张嘴'),COLOR00FFFF;
倾盆大雨:=(IF((REF(C,1)/REF(O,1)>=ANDO<REF(C,1)ANDO>REF(O,1)ANDC<REF(O,1)),
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 打赢疫情防控阻击战(超星集团)学习通测试及答案
- 【名师一号】2020-2021学年高中英语北师大版必修4-双基限时练16
- 【优教通】2021年高一生物同步练习:3章-细胞的结构和功能-测试1(苏教版必修1)-
- 2022高考英语暑假阅读理解讲练(21)及答案
- 【2022届走向高考】高三数学一轮(北师大版)专题1-高考中的导数应用问题
- 【9语一模】2024年蚌埠市怀远县中考一模语文试题
- 浙江省湖州市长兴中学等四校2024-2025学年高一上学期12月联考数学试题(含解析)
- 【名师伴你行】2021届高考生物二轮复习专题提能专训4细胞的生命历程
- 第九课纠纷的多元解决方式单元测试(含解析)-2024-2025学年高中政治统编版选择性必修二法律与生活
- 幼儿园年度教育教学工作总结范本
- 幼儿园名师公开课:小班安全《超市安全我知道》微课件
- MOOC 英文技术写作-东南大学 中国大学慕课答案
- 老年人肥胖症的特点与保健方法
- 2022年10月自考00850广告设计基础试题及答案含解析
- 工会委员会会议纪要
- 《水电工程水文设计规范》(NB-T 10233-2019)
- 2024年1月电大国家开放大学期末考试试题及答案:法理学
- (高清版)DZT 0284-2015 地质灾害排查规范
- 驾驶员劳务派遣车辆管理方案
- 电缆大和小修危险源辨识和控制措施
- CSCO胃癌诊疗指南转移性胃癌更新解读
评论
0/150
提交评论