1k线解盘太实用了买的清楚卖的明白解盘k线
1k线解盘 买的清楚 卖的明白 解盘k线 指标太实用了
{k线解盘}
{p1:3,0,30;p2:6,1,300;p3:18,1,300;p4:250,0,300}
drawgbklast(close>0,'a008');
if dispstatus=2 then aaa:=barpos;
if dispstatus=1 then bbb:=barpos;
ddd:=aaa-bbb;
ee:=hhv(h,ddd);
tjts:=barstatus=2;
早晨之星:=ref(close,2)/ref(open,2) < 0.95 and ref(open,1) < ref(close,2) and abs(ref(open,1)-ref(close,1))/ref(close,1)<0.03 and
close/open>1.05 and close>ref(close,2);
黄昏之星:=ref(close,2)/ref(open,2) > 1.03 and ref(open,1) > ref(close,2) and abs(ref(open,1)-ref(close,1))/ref(close,1)<0.02 and close/open<0.97 and close<ref(close,2);
长十字:=close=open and high/low >1.03;
垂死十字:=close=open and close=low and close<>high;
早晨十字星:=ref(close,2)/ref(open,2) < 0.95 and ref(open,1) < ref(close,2) and ref(open,1)=ref(close,1) and
close/open>1.05 and close>ref(close,2);
黄昏十字星:=ref(close,2)/ref(open,2) > 1.05 and ref(open,1) > ref(close,2) and ref(open,1)=ref(close,1) and
close/open<0.95 and close<ref(close,2);
射击之星:=min(open,close)=low and high-low > 3*(max(open,close)-low) and close > ma(close,5);
倒转锤头:=min(open,close)=low and high-low > 3*(max(open,close)-low) and close < ma(close,5);
锤头:=high = max(open,close) and high-low > 3*(high-min(open,close)) and close < ma(close,5);
吊颈:=high = max(open,close) and high-low > 3*(high-min(open,close)) and close>ma(close,5);
穿头破脚:=(ref(close,1)/ref(open,1)>1.03 and close/open<0.96 and close<ref(open,1) and open>ref(close,1))
or (ref(close,1)/ref(open,1)<0.97 and close/open>1.04 and close>ref(open,1) and open<ref(close,1));
乌云盖顶:=ref(close,1)/ref(open,1)>1.03 and close/open<0.97 and open>ref(close,1) and close<ref(close,1);
曙光初现:=ref(close,1)/ref(open,1)<0.97 and close/open>1.03 and open<ref(close,1) and close>ref(close,1);
身怀六甲:=abs(ref(close,1)-ref(open,1))/ref(close,1) > 0.04 and abs(close-open)/close<0.005 and
max(close,open) < max(ref(close,1),ref(open,1)) and min(close,open) > min(ref(close,1),ref(open,1));
十字胎:=abs(ref(close,1)-ref(open,1))/ref(close,1) > 0.04 and close=open and
close < max(ref(close,1),ref(open,1)) and close > min(ref(close,1),ref(open,1));
平顶:=abs(high-ref(high,1))/high<0.001;
平底:=(abs(low-ref(low,1))/low<0.001 and abs(ref(low,1)-ref(low,2))/ref(low,1)<=0.001);
大阳烛:=close/open>1.05 and high/low < close/open+0.018;
三个白武士:=ref(close,2)>ref(open,2) and ref(close,1)>ref(open,1) and close>open
and ref(close,1)>ref(close,2) and close>ref(close,1);
双飞乌鸦:=ref(close,1)<ref(open,1) and close<open and close/open<0.98;
孕育线:=ref(close,2)>ref(open,2) and (ref(close,2)-ref(open,2))/ref(open,2)>=2/100 and ref(open,1)>=ref(close,1) and (ref(open,1)-ref(close,1))/ref(close,1)<=2/100 and ref(open,1)<=ref(close,2) and ref(close,1)>=ref(open,2) and c>=open and (close-open)/open>=2/100 and close>=ref(open,1) and open<=ref(close,1) and (max(close,ref(c,2))-min(close,ref(close,2)))/min(close,ref(close,2))<=1/100;
多方炮:=ref(close,2)>ref(open,2) and ref(close,1)<ref(open,1) and close>open;
出水芙蓉:=(open<ema(c,20) or open<ema(c,40) or open<ema(c,60)) and (c>max(ema(c,20),max(ema(c,40),ema(c,60))))
and (v/ma(v,30)>1.2 and c/ref(c,1)>1.049);
上升三部曲:=ref(close,4)/ref(open,4)>1.03 and ref(close,3)<ref(open,3) and ref(close,2)<ref(open,2) and ref(close,1)<ref(open,1) and ref(low,4)<ref(low,3) and ref(low,4)<ref(low,2) and ref(low,4)<ref(low,1) and ref(high,4)>ref(high,3) and ref(high,4)>ref(high,2) and
ref(high,4)>ref(high,1) and close/open>1.03 and close>ref(close,4);
下跌三部曲:= ref(close,4)/ref(open,4)<0.97 and ref(close,3)>ref(open,3) and ref(close,2)>ref(open,2) and ref(close,1)>ref(open,1) and ref(low,4)<ref(low,3) and
ref(low,4)<ref(low,2) and ref(low,4)<ref(low,1) and ref(high,4)>ref(high,3) and ref(high,4)>ref(high,2) and ref(high,4)>ref(high,1) and close/open<0.97 and
close<ref(close,4);
跳空缺口:=high<ref(low,1) or low>ref(high,1);
三只乌鸦:=ref(close,2)<ref(open,2) and ref(close,1)<ref(open,1) and close<open and ref(close,1)<ref(close,2) and close<ref(close,1);
光脚阴线:=low=close and high<>low;
光头阳线:=high=close and high<>low;
分离:=open=ref(open,1) and (close-open)*(ref(close,1)-ref(open,1))<0;
长下影:=(min(close,open)-low)/(high-low)>0.667;
长上影:=(high-max(close,open))/(high-low)>0.667;
十字星:=close=open and high<>low;
大阴烛:=open/close > 1.05 and high/low < open/close+0.018;
好友反攻:=(ref(close,1)<ref(open,1) and close>open and abs(close-ref(close,1))/close<0.002)
or (ref(close,1)>ref(open,1) and close<open and abs(close-ref(close,1))/close<0.002);
倾盆大雨:=ref(c,1)/ref(o,1)>=1.03 and o<ref(c,1) and o>ref(o,1) and c<ref(o,1);
i:=0;
if 倾盆大雨 and tjts then begin drawtext(c>0,ee*(1.1-i),'倾盆大雨,见顶信号‖'),align2; i:=i+0.03; end
if 大阴烛 and tjts then begin drawtext(c>0,ee*(1.1-i),'大阴烛,后市向淡,发生逆转‖'),colorcyan,align2; i:=i+0.03; end
if 好友反攻 and tjts then begin drawtext(c>0,ee*(1.1-i),'好友反攻,跌势已尽,要展开一段反弹行情‖'),colorred,align2; i:=i+0.03; end
if 跳空缺口 and tjts then begin drawtext(c>0,ee*(1.1-i),'跳空缺口,突破长期盘整,向上跳空,上涨行情开始;向下跳空,下跌行情开始‖'),colorwhite,align2; i:=i+0.03; end
if 光脚阴线 and tjts then begin drawtext(c>0,ee*(1.1-i),'光脚阴线,下跌信号‖'),colorcyan,align2; i:=i+0.03; end
if 光头阳线 and tjts then begin drawtext(c>0,ee*(1.1-i),'光头阳线,多方积极上攻态势,后市看涨‖'),colorred,align2; i:=i+0.03; end
if 三只乌鸦 and tjts then begin drawtext(c>0,ee*(1.1-i),'三只乌鸦站枝头,可能见顶回落‖'),colorcyan,align2; i:=i+0.03; end
if 分离 and tjts then begin drawtext(c>0,ee*(1.1-i),'分离,注意看涨分离和看跌分离‖'),colorwhite,align2; i:=i+0.03; end
if 长下影 and tjts then begin drawtext(c>0,ee*(1.1-i),'长下影,持续下跌后出现,有可能止跌回升;在升势末期出现,须多加留意‖'),colorred,align2; i:=i+0.03; end
if 长上影 and tjts then begin drawtext(c>0,ee*(1.1-i),'长上影,表明行情上档压力沉重,升势受阻‖'),colorcyan,align2; i:=i+0.03; end
if 下跌三部曲 and tjts then begin drawtext(c>0,ee*(1.1-i),'下跌三部曲,下跌信号‖'),colorred,align2; i:=i+0.03; end
if 上升三部曲 and tjts then begin drawtext(c>0,ee*(1.1-i),'上升三部曲,上涨信号‖'),colorcyan,align2; i:=i+0.03; end
if 早晨之星 and tjts then begin drawtext(c>0,ee*(1.1-i),'早晨之星,见底回升‖'),colorred,align2; i:=i+0.03; end
if 黄昏之星 and tjts then begin drawtext(c>0,ee*(1.1-i),'黄昏之星,见顶回落‖'),colorcyan,align2; i:=i+0.03; end
if 十字星 and tjts then begin drawtext(c>0,ee*(1.1-i),'十字星,重要的警告信号,原趋势停顿或反转‖'),colorwhite,align2; i:=i+0.03; end
if 长十字 and tjts then begin drawtext(c>0,ee*(1.1-i),'长十字,重要的警告信号,原趋势停顿或反转‖'),colorwhite,align2; i:=i+0.03; end
if 垂死十字 and tjts then begin drawtext(c>0,ee*(1.1-i),'垂死十字,下跌信号‖'),colorcyan,align2; i:=i+0.03; end
if 早晨十字星 and tjts then begin drawtext(c>0,ee*(1.1-i),'早晨十字星,上涨信号,见底回升‖'),colorred,align2; i:=i+0.03; end
if 黄昏十字星 and tjts then begin drawtext(c>0,ee*(1.1-i),'黄昏十字星,趋势停顿或反转,下跌信号,见顶回落‖'),colorcyan,align2; i:=i+0.03; end
if 射击之星 and tjts then begin drawtext(c>0,ee*(1.1-i),'射击之星,出现在短期的上升趋势,表明市场顶部就在眼前,可能见顶回落,可靠性低‖'),colorcyan,align2; i:=i+0.03; end
if 倒转锤头 and tjts then begin drawtext(c>0,ee*(1.1-i),'倒转锤头构成一个看涨信号,可能见底回升‖'),colorred,align2; i:=i+0.03; end
if 锤头 and tjts then begin drawtext(c>0,ee*(1.1-i),'锤头,可能见底回升,如有量配合,信号强烈‖'),colorred,align2; i:=i+0.03; end
if 吊颈 and tjts then begin drawtext(c>0,ee*(1.1-i),'吊颈,上升行情中见顶回落,顶部出现,见顶信号‖'),colorcyan,align2; i:=i+0.03; end
if 平顶 and tjts then begin drawtext(c>0,ee*(1.1-i),'平顶,意味行情摸高见顶,股价行将反转。但反转下跌力度较小‖'),colorcyan,align2; i:=i+0.03; end
if 穿头破脚 and tjts then begin drawtext(c>0,ee*(1.1-i),'穿头破脚,顶部出现,见顶回落信号‖'),colorcyan,align2; i:=i+0.03; end
if 乌云盖顶 and tjts then begin drawtext(c>0,ee*(1.1-i),'乌云盖顶,见顶回落信号‖'),colorcyan,align2; i:=i+0.03; end
if 曙光初现 and tjts then begin drawtext(c>0,ee*(1.1-i),'曙光初现,行情将演化为v型反转或止跌横盘趋势。后市见底回升‖'),colorred,align2; i:=i+0.03; end
if 身怀六甲 and tjts then begin drawtext(c>0,ee*(1.1-i),'身怀六甲,出现在底部,是见底回升信号;出现在顶部,是见顶回落信号‖'),colorred,align2; i:=i+0.03; end
if 十字胎 and tjts then begin drawtext(c>0,ee*(1.1-i),'十字胎‖'),colorred,align2; i:=i+0.03; end
if 平底 and tjts then begin drawtext(c>0,ee*(1.1-i),'平底,行情探低见底,股价行将反转上升,但力度较小‖'),colorred,align2; i:=i+0.03; end
if 大阳烛 and tjts then begin drawtext(c>0,ee*(1.1-i),'大阳烛,在上升行情中出现,则意味着行情剧烈地向上攀升。在下跌行情中出现,则意味着行情剧烈地向上反弹‖'),colorred,align2; i:=i+0.03; end
if 三个白武士 and tjts then begin drawtext(c>0,ee*(1.1-i),'三个白武士,每日收盘价上移,表示可能见底回升‖'),colorred,align2; i:=i+0.03; end
if 双飞乌鸦 and tjts then begin drawtext(c>0,ee*(1.1-i),'双飞乌鸦,行情开始疲软将见顶回落‖'),colorcyan,align2; i:=i+0.03; end
if 孕育线 and tjts then begin drawtext(c>0,ee*(1.1-i),'孕育线,注意股价位置‖'),colorwhite,align2; i:=i+0.03; end
if 多方炮 and tjts then begin drawtext(c>0,ee*(1.1-i),'多方炮,在底部出现有上涨可能,在中间出现有可能是上涨中继,顶部出现是复合见顶信号‖'),colorred,align2; i:=i+0.03; end
if 出水芙蓉 and tjts then begin drawtext(c>0,ee*(1.1-i),'出水芙蓉,阳线穿过20、40、60日季均线,上攻势头初现‖'),colorred,align2; i:=i+0.03; end;
var1:=(c+l+h)/3;
var2:=ema(var1,6);
var3:=ema(var2,5);
var4:=ema(var3,12);
var5:=ema(var4,5);
生命线:ema(var3,30),colorred,pointdot;
drawicon(c>=生命线,生命线,9);
drawicon(c<生命线,生命线,10);
a:=hhv(ma((l+h+c)/3,3),3);
b:=llv(ma((l+h+c)/3,3),10);
stickline(dispstatus=2,a,a,20,0),coloryellow,linethick3;
drawtext(dispstatus=2 ,a,numtostrn(a,3)),coloryellow;
stickline(dispstatus=2,b,b,20,0),colordb3fdd,linethick3;
drawtext(dispstatus=2,b,numtostrn(b,3)),colordb3fdd;
k1:=llv(l,barslast(dispstatus=1)+1);
aa1:=cost(95);
aa2:=cost(5);
ly:=(aa1-aa2)*100/(aa1+aa2);
drawtext(ly>ref(ly,1),k1,'▲'),color0000ff;
n:=p1;{原码 n:=3;}
a1:=ref(h,n)=hhv(h,2*n+1); b1:=filter(a1,n); c1:=backset(b1,n+1); d1:=filter(c1,n);{高点}
a2:=ref(l,n)=llv(l,2*n+1); b2:=filter(a2,n); c2:=backset(b2,n+1); d2:=filter(c2,n);{低点}
e1:=(ref(llv(l,2*n),1)+ref(hhv(h,2*n),1))/2; e2:=(h+l)/2;{高低点出现在同一k线上时可作取舍}
h1:=(d1 and not(d2 and e1>=e2)) or dispstatus=2 or barscount(c)=1;
l1:=(d2 and not(d1 and e1<e2)); h2:=d1 and not(d2 and e1>=e2);
x1:=ref(barslast(h1),1)+1; f1:=backset(h1 and count(l1,x1)>0,llvbars(if(l1,l,10000),x1));
g1:=f1>ref(f1,1); i1:=backset(g1,2); ld:=i1>ref(i1,1);{过滤后低点}
l2:=ld or dispstatus=2 or barscount(c)=1;
x2:=ref(barslast(l2),1)+1; f2:=backset(l2 and count(h2,x2)>0,hhvbars(if(h2,h,0),x2));
g2:=f2>ref(f2,1); i2:=backset(g2,2); hd:=i2>ref(i2,1);{过滤后高点}
r1:=backset(dispstatus=2,barslast(hd)+1); s1:=r1>ref(r1,1); {前一高}
t1:=backset(dispstatus=2,barslast(ld)+1); u1:=t1>ref(t1,1); {前一低}
r2:=backset(s1,ref(barslast(hd),1)+2); s2:=r2>ref(r2,1); {前二高}
t2:=backset(u1,ref(barslast(ld),1)+2); u2:=t2>ref(t2,1); {前二低}
t3:=backset(u2,ref(barslast(ld),1)+2); u3:=t3>ref(t3,1); {前三低}
t4:=backset(u3,ref(barslast(ld),1)+2); u4:=t4>ref(t4,1); {前四低}
r3:=backset(s2,ref(barslast(hd),1)+2); s3:=r3>ref(r3,1); {前三高}
r4:=backset(s3,ref(barslast(hd),1)+2); s4:=r4>ref(r4,1); {前四高}
drawline(s2,h,s1,h,1),color80ffff; {★压力1:}
drawline(u2,l,u1,l,1),pointdot,color00ffff,linethick2;{★支撑1:}
drawline(s3,h,s2,h,1),colorff8000; {★压力2:}
drawline(u3,l,u2,l,1),pointdot,colorff8000;{★支撑2:}
drawline(s4,h,s3,h,1),color0000ff;{★压力3:}
drawline(u4,l,u3,l,1),pointdot,color0000ff;{★支撑3:};
drawicon(s2,h*1.01,9); drawicon(s3,h*1.01,9);
drawtext(s2,h*1.02,numtostrn(h,2)),colormagenta;
drawtext(s1,h*1.02,numtostrn(h,2)),colormagenta;
drawtext(s3,h*1.02,numtostrn(h,2)),colormagenta;
drawicon(u1,l*0.99,10); drawicon(u2,l*0.99,10);
drawicon(u3,l*0.99,10);drawicon(u4,l*0.99,10);
drawtext(u1,l*0.98,numtostrn(l,2)),colorcyan;
drawtext(u2,l*0.98,numtostrn(l,2)),colorcyan;
drawtext(u3,l*0.98,numtostrn(l,2)),colorcyan;
drawtext(u4,l*0.98,numtostrn(l,2)),colorcyan;
stickline(open>=close ,close ,open,0,0 ),color00ff00;
stickline(open>=close ,close ,open,8,0 ),color008800;
stickline(open>=close ,close ,open,7,0 ),color009900;
stickline(open>=close ,close ,open,6,0 ),color00aa00;
stickline(open>=close ,close ,open,5,0 ),color00bb00;
stickline(open>=close ,close ,open,4,0 ),color00cc00;
stickline(open>=close ,close ,open,3,0 ),color00dd00;
stickline(open>=close ,close ,open,2,0 ),color00ee00;
stickline(open>=close ,close ,open,1,0 ),color00ff00;
stickline(close>open,close,open,0,0) ,colorffbbff;
stickline(close>open,close,open,8,0) ,colorff00ff;
stickline(close>open,close,open,7,0) ,colorff22ff;
stickline(close>open,close,open,6,0) ,colorff44ff;
stickline(close>open,close,open,5,0) ,colorff66ff;
stickline(close>open,close,open,4,0) ,colorff88ff;
stickline(close>open,close,open,3,0) ,colorff99ff;
stickline(close>open,close,open,2,0) ,colorffaaff;
stickline(close>open,close,open,1,0) ,colorffbbff;
{支撑阻力}
nq:=5;
jh0:=ref(h,nq)=hhv(h,2*nq+1);
jh1:=backset(jh0,nq+1);
jh2:=filter(jh1,nq) and h=hhv(h,nq+1);
jh3:=ref(l,nq)=llv(l,2*nq+1);
jh4:=barstatus=2 and ref(jh2,barslast(jh2));
jh5:=backset(jh4,barslast(jh2)+1);
jh6:=jh5>ref(jh5,1);
jh7:=ref(barslast(jh2),1);
jh8:=backset(jh6,jh7+2);
jh9:=jh8>ref(jh8,1);
kh0:=ref(l,nq)=llv(l,2*nq+1);
kh1:=backset(kh0,nq+1);
kh2:=filter(kh1,nq) and l=llv(l,nq+1);
kh3:=ref(h,nq)=hhv(h,2*nq+1);
kh4:=barstatus=2 and ref(kh2,barslast(kh2));
kh5:=backset(kh4,barslast(kh2)+1);
kh6:=kh5>ref(kh5,1);
kh7:=ref(barslast(kh2),1);
kh8:=backset(kh6,kh7+2);
kh9:=kh8>ref(kh8,1);
阻力1:ref(h,barslast(jh9)),colorgreen,linethick2;
阻力2:ref(h,barslast(jh6)),colorblue,linethick2;
支撑1:ref(l,barslast(kh9)),colormagenta,linethick2;
支撑2:ref(l,barslast(kh6)),coloryellow,linethick2;
drawtextrel(10,920,'金盾股票园 www.xusangxiang.com'),color889999;
{白进黄出}
var91:=zig(3,10)<ref(zig(3,10),1) and ref(zig(3,10),1)>ref(zig(3,10),2);{zig 有未来}
var92:=zig(3,10)>ref(zig(3,10),1) and ref(zig(3,10),1)<ref(zig(3,10),2);
stickline(var91,c,o,8,0),coloryellow,linethick2;{高位黄色}
stickline(var91,c,o,3,0),coloryellow,linethick2;{高位黄色}
stickline(var91,h,l,1,0),coloryellow,linethick2;{高位黄色}
stickline(var92,c,o,8,0),colorffffff,linethick2;{底位红色}
stickline(var92,c,o,3,0),colorffffff,linethick2;{底位红色}
stickline(var92,h,l,1,0),colorffffff,linethick2;{底位红色};
{k线金印组合}
qh:=ref(h,2);
ql:=ref(l,2);
qo:=ref(o,2);
qc:=ref(c,2);
zo:=ref(o,1);
zc:=ref(c,1);
ma30:ma(c,30);
jyzhk:= abs(qo-qc)/qo<0.02 and zo/zc>1.02 and abs(o-c)/o<0.02 and c>ma30;
jyzhv:=v<ref(v,1) ;
jyzh:=jyzhk and jyzhv;
drawtext(jyzh,l,'金印');
画线公式,用到了未来,是正常的使用
上一指标公式:机构持仓的很好用哟公式下载 大智慧很好用公式
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文1K线解盘太实用了买的清楚卖的明白解盘K线公式下载 大智慧指标明白仅供学习研究。