同花顺主图选股公式大全.docx
- 文档编号:4051555
- 上传时间:2022-11-27
- 格式:DOCX
- 页数:10
- 大小:18.17KB
同花顺主图选股公式大全.docx
《同花顺主图选股公式大全.docx》由会员分享,可在线阅读,更多相关《同花顺主图选股公式大全.docx(10页珍藏版)》请在冰豆网上搜索。
同花顺主图选股公式大全
同花顺指标公式
一.操盘神手五彩K线主图源码
MA5:
MA(CLOSE,5),ColorCCCCCC;?
MA10:
MA(CLOSE,10),Color00BBBB;?
MA21:
MA(CLOSE,21),Color00AA00;?
MA30:
MA(CLOSE,30),Color990099;?
MA60:
MA(CLOSE,60),Color000088;?
MA120:
MA(CLOSE,120),Color777700;?
买线:
=ZIG(3,10);?
卖线:
=MA(买线,3);?
BU:
=CROSS(买线,卖线);?
SEL:
=CROSS(卖线,买线);?
DRAWTEXT(bu,L*,'买'),linethick1,color00aaff;?
DRAWTEXT(sel,H*,'卖'),linethick1,color00ff00;?
DRAWTEXT("">0,L*,'B'),linethick1,colorFFffff;?
DRAWTEXT("">0,L*,'B'),linethick1,color0000ff;?
STICKLINE(买线>=卖线,LOW,HIGH,,0),color0000CC;?
STICKLINE(买线>=卖线,CLOSE,OPEN,7,0),color0000CC;?
STICKLINE(买线<卖线,CLOSE,OPEN,7,0),colorCCCC00;?
STICKLINE(买线<卖线,LOW,HIGH,,0),colorCCCC00;?
STICKLINE(CROSS(买线,卖线),OPEN,CLOSE,7,0),color00AAFF;?
STICKLINE(CROSS(卖线,买线),OPEN,CLOSE,7,0),color00DD00;
指标用法:
可直接按照买做参考操作,
红柱区域表示为股价上涨阶段(其中的绿柱由红色点缀代表是正常调整),
绿柱区域表示为股价下跌阶段(其中的红柱由绿色点缀代表是诱多行为),
指标镶入步骤:
工具→公式管理→常用→五彩K线→新建→名称和描述→粘贴指标源码→确定
......................................................................................................................
二.主力多空副图指标源码
MAV:
=(C*2+H+L)/4;
SK:
=EMA(MAV,13)-EMA(MAV,34);
SD:
=EMA(SK,5);
中轴:
0;
空方主力:
(-2*(SK-SD))*,colorgreen;
多方主力:
(2*(SK-SD))*,colorred;
指标用法:
多方主力线从低位向上掉头且有所放大,则为买入信号。
多方主力线由高位击破空方主力线向下(不击穿空方主力线为正常调整),则为卖出信号。
指标镶入步骤:
工具→公式管理→常用→技术指标→自定指标→新建→名称和描述→粘贴指标源码→确定
..............................................................................................................................
三.波段买卖王副图指标源码
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);
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)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);
指标用法:
可直接按照本指标给出的波段买参考操作。
指标镶入步骤:
工具→公式管理→常用→技术指标→自定指标→新建→名称和描述→粘贴指标源码→确定
......................................................................................................................
四.神奇捉底买卖王指标源码
VAR8:
=VOL>2*MA(VOL,30);
VAR9:
=""(10,6);
VARA:
=""(10,6);
VARB:
=CLOSE>MA(CLOSE,30)ANDCLOSE VARC: =MA(CLOSE,30)>REF(MA(CLOSE,30),1); VARD: =BARSLAST(CROSS(MA(CLOSE,5),MA(CLOSE,10))) VARE: =0-""(7,21,3); VARF: =TROUGHBARS(3,15,1)<4; VAR10: =EMA(CLOSE,30)>REF(EMA(CLOSE,30),2); VAR11: =IF(VARF=1,50,0); 多空: EMA((CLOSE-MA((2*CLOSE+HIGH+LOW)/4,30))/MA((2*CLOSE+HIGH+LOW)/4,30)*100,3),colorwhite; 0,colorred; STICKLINE(FILTER(VARF=1,5)AND多空<-10,50,0,15,0),colorf00ff0; STICKLINE(FILTER(VARF=1,5),50,0,8,0),coloryellow; DRAWTEXT(FILTER(VARF=1,3),25,'大量★买入'),colorred; STICKLINE(多空<-10,0,多空,,0),coloryellow; STICKLINE(多空>10,0,多空,,0),colorred; 指标用法: 可直接按照本指标给出的大量☆买入点参考操作。 指标镶入步骤: 工具→公式管理→常用→技术指标→自定指标→新建→名称和描述→粘贴指标源码→确定 同花顺主图买点选股公式 MA5: MA(CLOSE,5),ColorCCCCCC,LINETHICK1; MA10: MA(CLOSE,10),colorgreen,LINETHICK1; MA21: MA(CLOSE,21),colorliblue,LINETHICK1; MA30: MA(CLOSE,30),coloryellow,LINETHICK2; MA60: MA(CLOSE,60),colorred,LINETHICK3; MA120: MA(CLOSE,120),Color990099,LINETHICK2; MA250: MA(CLOSE,250),Color777700,LINETHICK2; MA500: MA(CLOSE,500),colorblue,LINETHICK2; 买线: =ZIG(3,10); 卖线: =MA(买线,2); BU: =CROSS(买线,卖线); SEL: =CROSS(卖线,买线); DRAWTEXT(bu,L*,'←进场'),LINETHICK2,COLOR00FFFF; DRAWTEXT(sel,H*,'←机构清仓'),linethick1,color00FF00; DRAWTEXT("">0,L*,'B'),linethick1,colorFFffff; DRAWTEXT("">0,L*,'B'),linethick1,color0000ff; STICKLINE(买线>=卖线,LOW,HIGH,,0),color0000CC; STICKLINE(买线>=卖线,CLOSE,OPEN,7,0),color0000CC; STICKLINE(买线<卖线,CLOSE,OPEN,7,0),colorCCCC00; STICKLINE(买线<卖线,LOW,HIGH,,0),colorCCCC00; STICKLINE(CROSS(买线,卖线),OPEN,CLOSE,7,0),color00AAFF; STICKLINE(CROSS(卖线,买线),OPEN,CLOSE,7,0),color00DD00; DRAWICON((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)),LOW*,1); DRAWICON((ZIG(3,5)=REF(ZIG(3,5),2))AND (REF(ZIG(3,5),2)>=REF(ZIG(3,5),3)),H,2); 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)); DRAWTEXT((VARC=1),L,'←买'),COLOR0000FF; DRAWTEXT((VARD=1),H,'←卖'),color00FF00; V10: =PEAKBARS(3,15,1)<10; V12: =IF(V10=1,50,0); 头部: =IF(V12=50,100,0); DRAWTEXT(IF(头部>REF(头部,1),H,0),H*,'←减仓'),colorwhite,LINETHICK1; V9: =TROUGHBARS(3,15,1)<10; V11: =IF(V9=1,50,0); DRAWTEXT(IF(IF(V11=50,50,0)>REF(IF(V11=50,50,0),1),L,0),L*,'↖'),colormagenta; 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(VOL,1)ANDCLOSE>REF(CLOSE,1); DRAWTEXT(VAR11ANDCOUNT(VAR11,30)=1,L*,'←进'),LINETHICK1,colorlimagenta; 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,H*1,'←短线资金出'),linethick1,colorliblue; VARE: =REF(LOW,1)*; VARF: =LOW*; VAR10: =(VARF*VOL+VARE*(CAPITAL-VOL))/CAPITAL; VAR11: =EMA(VAR10,30); VAR12: =CLOSE-REF(CLOSE,1); VAR13: =MAX(VAR12,0); VAR14: =ABS(VAR12); VAR15: =SMA(VAR13,7,1)/SMA(VAR14,7,1)*100; VAR16: =SMA(VAR13,13,1)/SMA(VAR14,13,1)*100; VAR17: =BARSCOUNT(CLOSE); VAR18: =SMA(MAX(VAR12,0),6,1)/SMA(ABS(VAR12),6,1)*100; VAR19: =(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100; VAR1A: =(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100; VAR1B: =SMA((SMA(VAR1A,4,1)-50)*2,3,1); VAR1C: =(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100; VAR1D: =SMA(VAR1C,4,1); VAR1E: =SMA(VAR1D,3,1); VAR1F: =(HHV(HIGH,30)-CLOSE)/CLOSE*100; VAR20: =VAR18<=25ANDVAR19<-95ANDVAR1F>20ANDVAR1B<-30ANDVAR1E<30ANDVAR11-CLOSE>=ANDVAR15<22ANDVAR16<28ANDVAR17>50; VAR21: =(HIGH+LOW+CLOSE)/3; VAR22: =(VAR21-MA(VAR21,14))/*AVEDEV(VAR21,14)); VAR23: =(VAR21-MA(VAR21,70))/*AVEDEV(VAR21,70)); VAR24: =IF(VAR22>=150ANDVAR22<200ANDVAR23>=150ANDVAR23<200,10,0); VAR25: =IF(VAR22<=-150ANDVAR22>-200ANDVAR23<=-150ANDVAR23>-200,-10,VAR24); DRAWTEXT(VAR20ANDCOUNT(VAR20,1)=1,H*,'↖基金! '),colormagenta; DRAWTEXT(VAR24ANDCOUNT(VAR24,1)=1,L*,'↙基金清仓! '),color00FF00; 点工具---公式管理---新建---交易系统---粘贴原码---填名称---测试公式---曲线属性---坐标类型---主图坐标---必须和其他窗口共享y坐标()打勾---确认---显示图形---确定---ok 超跌反弹条件: 跌幅在30%、50-60%、70%左右;CCI小于-200;KDJ的J小于-10;低点附近有支撑;低点离上方筹码密集区有一定反弹空间,至少在10%以上;低点时成交量萎缩;MACD日线有小底背离更好;分钟级别上有明显底背离。 VAR2: =REF(LOW,1); VAR3: =SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100; VAR4: =EMA(IF(CLOSE*,VAR3*10,VAR3/10),3); VAR5: =LLV(LOW,38); VAR6: =HHV(VAR4,38); VAR7: =IF(LLV(LOW,90),1,0); VAR8: =EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7; 有庄的影子: STICKLINE(VAR8,0,VAR8,6,1),COLORFFAAFF; 趋势线: (CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100,COLORAABBDD; AA: =((REF(趋势线,1)=REF(趋势线,1))OR(REF(CROSS(-30,趋势线),1)ANDCROSS(趋势线,-30))OR趋势线=-30; DRAWTEXT(AA,500,'砸锅卖田买'),COLORYELLOW; 砸锅卖田买: IF(AA,500,-30),COLORYELLOW; BB: =((REF(趋势线,1)-25)AND趋势线>=REF(趋势线,1))OR(REF(CROSS(-20,趋势线),1)ANDCROSS(趋势线,-20)); DRAWTEXT(BB,300,'见底信号'),COLORRED; 见底信号: IF(BB,300,-20),COLORRED; CC: =((REF(趋势线,1)-30)AND趋势线>=REF(趋势线,1))OR(REF(CROSS(-25,趋势线),1)ANDCROSS(趋势线,-25)); DRAWTEXT(CC,400,'莫错失机会'),COLOR00FF00; 莫错失机会: IF(CC,400,-25),COLOR00FF00; 底部快显: IF(CROSS(-20,趋势线),100,-20),LINETHICK2,COLORF0F000; DRAWTEXT(CROSS(-20,趋势线),120,'★'),COLORF0F000; 机会来临: IF(CROSS(-25,趋势线),150,-25),LINETHICK2,COLORF00FF0; DRAWTEXT(CROSS(-25,趋势线),170,'★'),COLORF00FF0; 砸锅卖田等: IF(CROSS(-30,趋势线),200,-30),LINETHICK2,COLORWHITE; DRAWTEXT(CROSS(-30,趋势线),220,'★'),COLORWHITE; 莫要错失机会: -25,COLORFF00FF,POINTDOT; 砸锅卖田等着你: -30,COLORYELLOW,POINTDOT; 1、过去120天,股价波动幅度不超过15%, 2、过去120天,成交量波动幅度不超过15% 3、今日成交量急剧放大,超过昨日成交量2倍 HHV(HIGH,120)<*LLV(LOW,120)andHHV(VOL,120)<*LLV(VOL,120)andVOL>2*REF(VOL,1); (1)一阳穿三线选
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 同花顺 主图选股 公式 大全
![提示](https://static.bdocx.com/images/bang_tan.gif)