當前位置:首頁 > 财經 > 正文

給大家發個非常實用的組合指标 - 主力版用戶交流區 - 益盟論壇 操盤手,基金,财經,理财...

給大家發個非常實用的組合指标

這個指标我也是從别的網站上找到了覺得非常好用 所以拿來給大家分享

主圖
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
注意:該函數返回常數

不喜歡用的朋友可以直接把這幾個函數去掉

你可能想看:

有話要說...

取消
掃碼支持 支付碼