1樓:誠交天下股友
n:=24;
var1:= ema(ema(close,13),13);
控盤指數: (var1-ref(var1,1))/ref(var1,1)*1000,pointdot,colorffcccc;
stickline(控盤指數<0,控盤指數,0,2,0),colorgray;
無莊控盤: 控盤指數<0,linethick0,colorgray;
stickline(控盤指數》ref(控盤指數,1) and 控盤指數》0 and 控盤指數<3,控盤指數,0,2,1),colorred;
stickline(控盤指數》ref(控盤指數,1) and 控盤指數》0 and 控盤指數》3,控盤指數,0,2,1),colorred;
stickline(控盤指數》ref(控盤指數,1) and 控盤指數》3,控盤指數,3,4,1),colorff00ff;
主力控盤: 控盤指數》ref(控盤指數,1) and 控盤指數》0,linethick0,colorred;
stickline(控盤指數ref(b2,1) and 控盤指數<(-2),coloryellow;
drawtext(準備,3,'準備'),coloryellow;
b1:= (控盤指數》ref(控盤指數,1) and 控盤指數》0)=1;
開始控盤: b1>ref(b1,1),colormagenta,linethick3;
a:=(3*c+l+o+h)/6;
x:=(20*a+19*ref(a,1)+18*ref(a,2)+17*ref(a,3)+16*ref(a,4)+15*ref(a,5)+
14*ref(a,6)+13*ref(a,7)+12*ref(a,8)+11*ref(a,9)+10*ref(a,10)+9*ref(a,11)+8*ref(a,12)
+7*ref(a,13)+6*ref(a,14)+5*ref(a,15)+4*ref(a,16)+3*ref(a,17)+2*ref(a,18)+
ref(a,20))/210;
mtm:=c-ref(c,1);
dx:=100*ema(ema(mtm,6),6)/ema(ema(abs(mtm),6),6);
cb:=ema(x,13);
買:=if(llv(dx,2)=llv(dx,7) and count(dx<0,2) and cross(dx,ma(dx,2)),1,0);
drawicon(filter(買=1,5),l*0.11,1);
diff:(ema(close,12) - ema(close,26))*20,colorwhite,linethick1;
dea:ema(diff,9),coloryellow,linethick1;
macd:2*(diff-dea), colorstick;
macd1:=2*(diff-dea),colorred,nodraw;
macd2:=ema(macd1,3),colorcyan,nodraw;
stickline(macd1>macd2 and macd1>0,0,macd1,2,0),colorred;
stickline(macd1>macd2 and macd1<0,0,macd1,2,0),coloryellow;
stickline(macd1=0);
s3:=barslast(cross(diff,dea));
s4:=ref(s3,s3+1);
s5:=dea>ref(dea,s4);
s6:=dea;
上成立:=cross(diff,dea) and s5;
下成立:=cross(diff,dea) and s6;
l1:=(ema(close,3) - ema(close,13));
l2:=ema(l1,9);
l3:=barslast(cross(l1,l2));
l4:=ref(l3,l3+1);
l5:=l2;
變盤:cross(l1,l2) and l5,nodraw,colord6ff9c;
stickline(變盤,5,0,0,1),colord6ff9c;
ls:=if(diff>dea and diff>0,1,0);
加速上揚:if(ref(ls=0,1) and ls=1,0.1,0);
xg1:cross(macd1,macd2) and macd1<0,nodraw;
xg2:cross(diff,dea),nodraw;
m1:=macd>ref(macd,1) and diffma(c,55) and count(macd<0,5)>=5,nodraw;
drawtext(綠柱短了,macd,'買點來了');
difl:=ema(v,12)-ema(v,26);
dif:=ema(c,12)-ema(c,26);
bl:=difl>ref(difl,1) and difdea,diff,drawnull),colorff11cc,linethick1;
if(diff>dea and diff<0,diff,drawnull),colorred,linethick1;
rsv:=(close-llv(low,9))/(hhv(high,9)-llv(low,9))*100;
k:=sma(rsv,3,1);
d:=sma(k,3,1);
drawtext(filter(d>80,6),h*1.018,'d>80');
drawtext(filter(cross(k,d) and d<26,6),h*0.95,'kd低位金叉'),colorffcccc;
stickline(filter(cross(k,d) and d<26,6),h*0.97,h*0.95,4,0),colorffcccc;
difff:=ema(close,12) - ema(close,26);
deaf :=ema(difff,9);
macdd:=2*(difff-deaf);
drawtext(filter(cross(difff,deaf) and deaf<0,6),l-0.02,'macd低位金叉'),colorred;
stickline(filter(cross(difff,deaf) and deaf<0,6),l-0.02,l-0.1,4,0),color00ff00;
drawtext(filter(cross(difff,deaf) and deaf>0,13),h+0.25,'macd下拐點'),coloryellow;
stickline(filter(cross(difff,deaf) and deaf>0,13),h+0.02,h+0.12,4,0),colorblue;
drawtext(filter(cross(macdd,0),13),l*0.65,'macd上拐點'),colorred;
stickline(filter(cross(macdd,0),13),l*0.97,l*0.95,4,0),colorwhite;
roc:=(close-ref(close,21))/ref(close,21)*100;
drawtext(filter(cross(roc,0),6),l-2.25,'騙線拐點'),colorwhite;
stickline(filter(cross(roc,0),6),l-0.02,l-0.15,4,0),colorff00ff;
我是用這個的
通達信主圖顯示板塊的指標,如何在通達信公式顯示所屬行業和板塊
如果要想在主圖上顯示板塊 或行業 提示字樣,請按下面公式樣本在你的常用主圖公式的後面照樣編寫即可,因板塊行業較多,只舉例了幾個板塊 房地產 有色金屬 煤炭行業 金融行業 鋼鐵行業 下面公式是在均價線主圖後補充的板塊 或行業 提示公式。ma1 ma close,5 ma2 ma close,10 ma...
通達信選股指標公式要如何利用?
一則 通達信選股指標公式要如何利用?的問題,最近是受到了高度的關注,我來說下我的瞭解。首先,第一步,我們要去選擇合適的公式。比如 多頭排列的,或者說突破形態的,選擇一個你想要的公式。選擇好公式之後,我麼就可以匯入公式,並且進行執行,找出大量的達到條件的 最後一步,我們得從這大量的 裡面,在新增自己的...
請高手將下列通達信指標公式改為選股公式,要求分別選出,「短牛」「中牛「大牛」選股公式
般若若愚 var1 c ref c,1 var2 100 ema ema var1,6 6 ema ema abs var1 6 6 ma5 ema c,5 ma13 ema c,13 up drawline l llv l,barslast cross ma13,ma5 1 llv l,barsl...