当前位置:首页 > 财经 > 正文

给大家发个非常实用的组合指标 - 主力版用户交流区 - 益盟论坛 操盘手,基金,财经,理财...

给大家发个非常实用的组合指标

这个指标我也是从别的网站上找到了觉得非常好用 所以拿来给大家分享

主图
MA5:MA(CLOSE,5);
MA10:MA(CLOSE,10);
MA60 : MA(CLOSE,60),LINETHICK2; ;
乖离线:MA((CLOSE-MA(CLOSE,10))/MA(CLOSE,10)*MA10,3)+MA10,COLORGREEN ;
DRAWCIRCLE(((CLOSE>MA(CLOSE,10)) AND MA(CLOSE,10)>MA(CLOSE,20) AND MA(CLOSE,10)>REF(MA(CLOSE,10),1))>0,MA10),COLORBB22CC;
DRAWCIRCLE(((CLOSE>MA(CLOSE,10)) AND MA(CLOSE,10)>MA(CLOSE,20) AND MA(CLOSE,10)>REF(MA(CLOSE,10),1))=0,MA10),COLORGREEN;
阴线买:=CLOSEMA(CLOSE,10)) AND MA(CLOSE,10)>MA(CLOSE,20) AND MA(CLOSE,10)>REF(MA(CLOSE,10),1))>0.1;
STICKLINE(阴线买,OPEN,CLOSE,10,0),COLORwhite;
压力:MA(REF(HHV(C,20),1),2),POINTDOT,colorred,LINETHICK1;
STICKLINE(CLOSE,压力,压力 ,5,0),colorred;
支撑:REF(LOW,BARSLAST(CROSS(BACKSET(REF(LOW,2)=LLV(LOW,5),3),0.9))),POINTDOT,Color00b4ff;
STICKLINE(CLOSE,支撑,支撑 ,5,0),Color00b4ff;
突破压力:=CROSS(CLOSE,压力) OR (CLOSE>压力 AND REF(CLOSE,1)<压力),COLORMAGENTA;
DRAWCIRCLE(突破压力,压力),colorred,LINETHICK4;
DRAWCIRCLE(突破压力,压力),color00ffff,LINETHICK3;
stickline(L>REF(H,1),L,REF(H,1),15,0),color00ffff;
stickline(HD1:=CROSS(ZIG(3,10),MA(ZIG(3,10),2));
drawtext(D1,LOW*0.96,'抢'),colorred;
W:=(CROSS(MA(ZIG(3,10),2),ZIG(3,10)));
drawtext(W,HIGH*1.01,'躲'),colorffff00;
STICKLINE(D1=1,CLOSE,OPEN,3,0),COLORFF00FF,LINETHICK3;{底位红色}
STICKLINE(W=1,CLOSE,OPEN,3,0),COLORYELLOW,LINETHICK3;{高位黄色};

副图一

乖离率:MA((CLOSE-MA(CLOSE,10))/MA(CLOSE,10)*100,3);
阴:(CLOSEMA(CLOSE,10)) AND MA(CLOSE,10)>MA(CLOSE,20) AND MA(CLOSE,10)>REF(MA(CLOSE,10),1))),stick;
突:CROSS(CLOSE, MA(REF(HHV(C,20),1),2)),stick;
SS:=IF(C>REF(C,1) AND REF(C,1)>=REF(C,2),1,IF(CREF(C,2) AND REF(C,2)>REF(C,1),2,IF(CSM:=IF(REF(SS,1)<>0,REF(SS,1),IF(REF(SS,2)<>0,REF(SS,2),IF(REF(SS,3)<>0,REF(SS,3),IF(REF(SS,5)<>0,REF(SS,5),IF(REF(SS,6)<>0,REF(SS,6),IF(REF(SS,7)<>0,REF(SS,7),0))))));
宝:(((SS=1 OR SS=2) AND SM<0) AND (SS=1 OR SM>=1 AND SS=0))*2,stick;
塔:(((SS=1 OR SS=2) AND SM<0) AND SS=2),stick;
抄:CROSS(乖离率, MA(REF(LLV(乖离率,10),1),2)),stick;
买:CROSS(乖离率, MA(REF(HHV(乖离率,2),1),2)),stick;
三:((SS=-1 OR SM<=-1 AND SS=0) AND ((SS=-1 OR SS=-2) AND SM>0)),stick;
二:((SS=-2) AND ((SS=-1 OR SS=-2) AND SM>0)),stick;
卖:CROSS(MA(REF(HHV(乖离率,20),1),2),乖离率),stick;
出:CROSS(MA(REF(HHV(乖离率,2),1),2),乖离率),stick;
高压线:MA(REF(HHV(乖离率,2),1),2),colorred,LINETHICK1;
压力:MA(REF(HHV(乖离率,20),1),2),colorgray;
支撑:MA(REF(LLV(乖离率,10),1),2),colorgray;
DRAWTEXT(CROSS(乖离率,支撑),支撑,'B'),color00ffff;
DRAWTEXT(CROSS(乖离率,高压线),支撑,'B'),COLORMAGENTA;
drawtext(CROSS(压力,乖离率),压力,'S'),colorgreen;
drawtext(CROSS(高压线,乖离率),高压线,'S'),colorFFFF55;
涨跌线:MA((CLOSE-MA(CLOSE,10))/MA(CLOSE,10)*100,3),COLORSTICK;


副图二

换手比:=(SUM(VOL/CAPITAL,3)/3)/(SUM(VOL/CAPITAL,30)/30);
换:MA((换手比 - LLV(换手比,9)) / (HHV(换手比,9) - LLV(换手比,9))* 换手比,3);
手:EMA(换,3);
比:EMA(换,5);
STICKLINE(换 >= 手,比,换,8,0),color0000AA;
STICKLINE(换 >= 手,比,换,7,0),color0000BB;
STICKLINE(换 >= 手,比,换,6,0),color0000CC;
STICKLINE(换 >= 手,比,换,5,0),color0000DD;
STICKLINE(换 >= 手,比,换,4,0),color0000EE;
STICKLINE(换 >= 手,比,换,3,0),color0000FF;
STICKLINE(换 <= 手,比,换,8,0),colorFF0000;
STICKLINE(换 <= 手,比,换,7,0),colorFF3300;
STICKLINE(换 <= 手,比,换,6,0),colorFF5500;
STICKLINE(换 <= 手,比,换,5,0),colorFF7700;
STICKLINE(换 <= 手,比,换,4,0),colorFF9900;
STICKLINE(换 <= 手,比,换,3,0),colorFFBB00;
STICKLINE(换 <= 手,比,换,2,0),colorFFDD00;
STICKLINE(换 <= 手,比,换,1,0),colorFFFF00;
T1:=手 >= 比 AND 换 < REF(换,1);
T2:=手 < 比 AND 换 > REF(换,1);
STICKLINE(T1,换,比,8,0),colorFFBB11;
STICKLINE(T1,换,比,7,0),colorFFCC22;
STICKLINE(T1,换,比,5,0),colorFFDD33;
STICKLINE(T1,换,比,3,0),colorFFEE44;
STICKLINE(T1,换,比,1,0),colorFFFF55;
STICKLINE(T2,换,比,10,0),color338FDD;
STICKLINE(T2,换,比,8,0),colorFF00FF;
STICKLINE(T2,换,比,1,0),color00DDFF;
STICKLINE(T2,换,比,8,0),color00AAFF;
STICKLINE(T2,换,比,6.6,0),color00BBFF;
STICKLINE(T2,换,比,4.4,0),color00CCFF;
STICKLINE(T2,换,比,3.3,0),color00DDFF;
STICKLINE(T2,换,比,2.2,0),color00EEFF;
STICKLINE(T2,换,比,1,0),color00FFFF;
压力:MA(REF(HHV(换,20),1),2),colorgray;
支撑:MA(REF(LLV(换,10),1),2),colorgray;
DRAWTEXT(CROSS(换,支撑),支撑,'B'),color00ffff;
drawtext(CROSS(压力,换),压力,'S'),colorgreen;

副图三

Var1:=(2*CLOSE+HIGH+LOW)/4;
Var2:=LLV(LOW,34);
Var3:=HHV(HIGH,34);
散户线:100*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60));
主力线:3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
超短线:(((主力线-LLV(主力线,21))/(HHV(主力线,21)-LLV(主力线,21)))*(4))*(25);
持股线:EMA((Var1-Var2)/(Var3-Var2)*100,11),COLORYELLOW,LINETHICK1;
stickline(主力线>ref(主力线,1) ,主力线 ,ref(主力线,1),8 ,1),colorred;
stickline(主力线<=ref(主力线,1) ,主力线 ,ref(主力线,1),8 ,1),colorgreen;
顶:90;
强弱:50;
底:10;



主图
ZIG(K,N) 之字转向
ZIG(K,N),当价格变化量超过N%时转向,K表示0:开盘价,1:最高价,2:最低价,3:收盘价
例如:ZIG(3,5)表示收盘价的5%的ZIG转向

BACKSET
将当前位置到若干周期前的数据设为1。
用法:
BACKSET(X,N),若X非0,则将当前位置到N周期前的数值设为1。
例如:BACKSET(CLOSE>OPEN,2)若收阳则将该周期及前一周期数值设为1,否则为0

副图
CAPITAL 流通盘大小用法:
CAPITAL,返回流通盘大小,单位为手。对于A股得到流通A股,B股得到B股总股本,指数为0
注意:该函数返回常数

不喜欢用的朋友可以直接把这几个函数去掉

你可能想看:

有话要说...

取消
扫码支持 支付码