股圣赢富王k线操盘公式
股圣k线操盘
来势线: ema(close,7)-ema(close,21),coloryellow;
福星: ema(来势线,7), colorstick,colorred;
var1:=close/ref(llv(low,35),5)< 1;
决策: if(var1,0.5,0), stick,colorblue;
必买: if(troughbars(3,15,1)=0 and high>low 0.01,1,-1),coloryellow ,linethick1 ;
必卖: if(peakbars(3,15,1)=1,1,2),colorwhite,linethick1;
趋势线: (ema(winner(close),7)-ema(winner(close),35))*5,colorred;
逃顶线: ema(close/ref(hhv(close,7),50),1),color007000 ,linethick1 ;
aa:0,colorbrown;
drawicon(cross(趋势线,aa),aa,1);
drawicon(cross(逃顶线,趋势线),逃顶线,2);
股圣波段
rsv:=(close-llv(low,8))/(hhv(high,8)-llv(low,8))*100; gs0:sma(rsv,3,1),colorred,linethick1; gs1:sma(gs0,3,1),coloryellow,linethick1; rsv1:=(close-llv(low,38))/(hhv(high,38)-llv(low,38))*100; gs2:sma(rsv1,5,1),colorff00ff,linethick1; gs3:sma(gs2,10,1),colorgreen,linethick1; 超卖:18,colorwhite; 超买:85,colorblue; stickline(gs0>gs1,gs0,gs1,1,0),colorred; stickline(gs0<=gs1,gs0,gs1,1,0),coloryellow; stickline(gs2>gs3,gs2,gs3,1,0),colorff00ff; stickline(gs2<=gs3,gs2,gs3,1,0),colorgreen;
短线高点
{var1:=ref(low,1);
var2:=sma(abs(low-var1),13,1)/sma(max(low-var1,0),13,1)*4;
var3:=ema(var2,13);
var4:=llv(low,34);
var5:=ema(if(low<=var4,var3,0),3);
var5>ref(var5,1);}
q2:=(close-llv(low, 18))/(hhv(high, 18)-llv(low, 18))*100;
q3:=sma(q2, 9, 1);
q4:=sma(q3, 3, 1);
长趋势:3*q3-2*q4,colorwhite,linethick2;
趋势线:ema(q3, 3),colorred,linethick2;
drawtext(cross(趋势线, 长趋势) and ref(长趋势,1)>80, ref(长趋势,3), ‘顶’),colorred,linethick5;
逢低买: drawtext(ref(cross(趋势线,长趋势),82) and 趋势线>1.3*长趋势,长趋势,’逢低买’),linethick1;
买: drawtext(ref(cross(长趋势,趋势线),1) and 长趋势>1.3*趋势线,趋势线,’买’),colorred,linethick1;
var3:=peakbars(3,15,1)<10;
var5:=if(var3=1,2,0);
顶:= if(var5=2,2,0);
顶a:if(顶>ref(顶,1),50,0),colorgreen;
drawtext(顶a=50,45,’快逃’),color00ff00;
金叉: cross(长趋势,趋势线);
drawtext(金叉,趋势线,’★’),colorred;
多空分析
ma5:ma(c,5),colorf00ff0;
ma10:ma(c,10),coloryellow;
ma21:ma(c,21),colore66878;
ma30:ma(c,30),colorwhite;
ma120:ma(c,120),color399c7f,pointdot;
ma240:ma(c,240),color000999,pointdot;
x1:=(c l h)/3;
x2:=ema(x1,6);
x3:=ema(x2,5);
drawicon(cross(x2,x3),l*0.98,7);
drawicon(cross(x3,x2),h*1.02,8);
stickline(x2>=x3,low,high,0.1,1),colorred;
stickline(x2>=x3,close,open,2,2),colorred;
stickline(x2>=x3,close,open,2,8),colorbrown;
stickline(x2
stickline(x2
stickline(cross(x2,x3),open,close,2,1),coloryellow;
stickline(cross(x3,x2),open,close,2,1),colorblue;
股圣筹码
主力持仓:ema(100*(close-llv(low,34))/(hhv(high,34)-llv(low,34)),3),colorff00ff;
指数趋势:ema(1250*(indexc-llv(indexl,34))/hhv(indexh,34)-llv(indexl,34),3),coloryellow,nodraw;
主力筹码集中度:winner(c)*100,colorred;
散筹筹码集中度: (winner(c*1.1)-winner(c*0.9))*100,colorgreen;
启:(主力持仓 主力筹码集中度 散筹筹码集中度)/2,colorff6699;
强弱分界:80,color00ffff;
0,;
股圣超短
var1:=(2*close high low)/4;
var2:=expma(expma(expma(var1,4),4),4);
j:(var2-ref(var2,1))/ref(var2,1)*100, colorstick;
d:ma(j,3);
k:ma(j,1);
drawtext(cross(k,d),k,’买’),colorred;
drawtext(cross(d,k),d,’卖’),colorgreen;
股圣操盘主图
买线:=ema(c,2);
卖线:=ema(slope(c,21)*20 c,42);
bu:=cross(买线,卖线);
sel:=cross(卖线,买线);
drawicon(bu,l-0.1,1);
drawicon(sel,h 0.1,2);
drawtext(sel,h 0.1,’卖出’);
stickline(买线>=卖线,low,high,0.0,1),colorred;
stickline(买线>=卖线,close,open,2,1),colorred;
stickline(买线<卖线,low,high,0.0,1),colorgreen;
stickline(买线<卖线,close,open,2,1),colorgreen;
stickline(bu,open,close,2,0),coloryellow;
stickline(sel,open,close,2,0),colorblue;
主力:ema(close,10),colorred;
散户:ema(close,5),colorwhite;
绿降:(46.18*ema(close,10)-31.82*ema(close,4))/14.36,colorgreen,linethick1;
操盘:ma(close,9),colorcyan,linethick2;
界点:ma(close,20),colormagenta;
lc:=ref(close,1);
rsi:=((sma(max((close – lc),0),3,1) / sma(abs((close – lc)),3
,1)) * 100);
ff:=ema(close,3);
ma15:=ema(close,21);
drawtext(cross(ff,ma15),(low * 0.99),’建仓’),coloryellow;
aa:=(hhv(high,20) – (2 * atr));
bb:=cross(close,ref(hhv(high,55),1));
sss:=cross(min(ma(close,13),aa),close);
bbb:=barslast(bb);
sssb:=barslast(sss);
b1:=((bbb = 0) and (ref(sssb,1) < ref(bbb,1)));
b1b:=barslast(b1);
b2:=((((bb = 1) and (b1b < sssb)) and (b1b > 0)) and (count(bb,sssb) < 3));
b2b:=barslast(b2);
b3:=((((bb = 1) and (b2b < b1b)) and (count(bb,sssb) < 4)) and (count(bb,sssb) > 2));
drawtext((b1 = 1),(low – 0.6),’加仓’),coloryellow;