四度解盘黄昏之星长十字垂死十字
四度解盘(黄昏之星、长十字、垂死十字)-指标公式源码
input:m(10,3,250,3);均线:(ma(close,m) * 1),colorred,linethick2;早晨之星:=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);
解盘:='【解盘】'+
ifs(倾盆大雨,'★倾盆大雨,见顶信号;','')+
ifs(大阴烛,'★大阴烛,后市向淡,发生逆转;','')+
ifs(好友反攻,'★好友反攻,底部反转;','')+
ifs(跳空缺口,'★跳空缺口,注意向上还是向下跳空;','')+
ifs(光脚阴线,'★光脚阴线,下跌信号;','')+
ifs(光头阳线,'★光头阳线,后市看涨;','')+
ifs(三只乌鸦,'★三只乌鸦,可能见顶回落;','')+
ifs(分离,'★分离,注意看涨分离和看跌分离;','')+
ifs(长下影,'★长下影,持续下跌后出现,有可能止跌回升;在升势末期出现,须多加留意;','')+
ifs(长上影,'★长上影,表明行情上档压力沉重,升势受阻;','')+
ifs(下跌三部曲,'★下跌三部曲,下跌信号;','')+
ifs(上升三部曲,'★上升三部曲,上涨信号;','')+
ifs(早晨之星,'★早晨之星,见底回升;','')+
ifs(黄昏之星,'★黄昏之星,见顶回落;','')+
ifs(十字星,'★十字星,有转向意味,注意股价位置在顶部还是底部;','')+
ifs(长十字,'★长十字,注意在顶部还是底部;','')+
ifs(垂死十字,'★垂死十字,下跌信号;','')+
ifs(早晨十字星,'★早晨十字星,上涨信号,见底回升;','')+
ifs(黄昏十字星,'★黄昏十字星,下跌信号,见顶回落;','')+
ifs(射击之星,'★射击之星,可能见顶回落,可靠性低;','')+
ifs(倒转锤头,'★倒转锤头,可能见底回升;','')+
ifs(锤头,'★锤头,可能见底回升,如有量配合,信号强烈;','')+
ifs(吊颈,'★吊颈,上升行情中见顶回落,顶部出现,见顶信号;','')+
ifs(平顶,'★平顶,温和的反转;','')+
ifs(穿头破脚,'★穿头破脚,顶部出现,见顶回落信号;','')+
ifs(乌云盖顶,'★乌云盖顶,见顶回落信号;','')+
ifs(曙光初现,'★曙光初现,后市见底回升;','')+
ifs(身怀六甲,'★身怀六甲,出现在底部,是见底回升信号;出现在顶部,是见顶回落信号;','')+
ifs(十字胎,'★十字胎;','')+
ifs(平底,'★平底,温和的反转;','')+
ifs(大阳烛,'★大阳烛,看涨;','')+
ifs(三个白武士,'★三个白武士,每日收盘价上移,表示可能见底回升;','')+
ifs(双飞乌鸦,'★双飞乌鸦,行情将见顶回落;','')+
ifs(孕育线,'★孕育线,注意股价位置;','')+
ifs(多方炮,'★多方炮,在底部出现有上涨意味,在中间出现有可能是上涨中继,顶部出现是复合见顶信号;','')+
ifs(出水芙蓉,'★出水芙蓉,见底回升;','');
drawtextabs(0,0,解盘);
ma5:ma(c,5),colorf00ff0;
ma21:ma(c,21),colore66878;
ma30:ma(c,30),coloryellow; ma55:ma(close,55),linethick1,colorgreen;
半年线:ma(c,120),color399c7f,pointdot;
年线: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);
drawgbklast(c>0,strip(rgb(10,10,50),rgb(50,10,10),0));
均价:=(3*c+h+l+o)/6;
var1:=(8*均价+7*ref(均价,1)+6*ref(均价,2)+5*ref(均价,3)+
4*ref(均价,4)+3*ref(均价,5)+2*ref(均价,6)+ref(均价,8))/36;
var2:=(llv(var1,2)+llv(var1,4)+llv(var1,6))/3;
sz1:=ref(var1,1)=ref(var2,1) and var1>var2 and close>var1;
sz2:=var1>var2 and var1>ref(var1,1) and var2>ref(var2,1)
and h/var1<1.1 and l>var2 and close>var1;
sz3:=var1>var2 and var1>ref(var1,1) and var2>=ref(var2,1) and h/var1>1.1;
sz4:=var1>var2 and var1>ref(var1,1) and var2>ref(var2,1)
and close>var2 and close<var1;
sz5:=(var1>var2 and var2>ref(var2,1) and var1<>ref(var1,1)
and close<var2) or (var1>var2 and var1<ref(var1,1)
and var2<ref(var2,1) and close<var2);;
sz6:=ref(var1,1)>ref(var2,1) and var1=var2 and close<var2;
xd1:=var1=var2 and close<var2 or (var1<ref(var1,1) and var2<ref(var2,1)
and ref(var1,1)=ref(var2,1) and close<var2);
xd2:=var1=var2 and close>var1;
sat:=(amount/c)/(hhv(amount,20)/hhv(c,20));
量能饱和度:=if(sat>1,1,sat)*100;
if barstatus=2 and sz1 then begin
drawtextabs(390,25,'调整结束短线介入'),linethick2,colorred;
end
else
if barstatus=2 and sz2 then begin
drawtextabs(390,25,'上升通道走势良好'),linethick2,colorred;
end
else
if barstatus=2 and sz3 then begin
drawtextabs(390,25,'股价偏离注意调整'),linethick2,colorred;
end
else
if barstatus=2 and sz4 then begin
drawtextabs(390,25,'上升通道调整洗盘'),linethick2,colorgreen;
end
else
if barstatus=2 and sz5 then begin
drawtextabs(390,25,'转向特征注意离场'),linethick2,colorgreen;
end
else
if barstatus=2 and sz6 then begin
drawtextabs(390,25,'通道改变坚决离场'),linethick2,colorgreen;
end
else
if barstatus=2 and xd1 then begin
drawtextabs(390,25,'下跌通道只宜观望'),linethick2,colorgreen;
end
else
if barstatus=2 and xd2 then begin
drawtextabs(390,25,'短期底部准备进入'),linethick2,coloryellow;
end;
;a:="ltfunc5@forlt2";
s1:="ltfunc5@lt_s1";
hs:="ltfunc5@lt_hs";
ls:="ltfunc5@lt_ls";
p1:="ltfunc5@lt_p1";
upp:="ltfunc5@lt_upp";
udd:="ltfunc5@lt_udd";
{hs;ls;hhs;lls;us;ds;s1;p1;p0;upp;udd};
买入:p1=1 and ref(p1,1)=0,linethick0,precis0,colorred;
d1:=ema(abs("ddx.ddx"),60);
d2:=max("ddx.ddx"/d1+7.5,7.5);
d3:=min("ddx.ddx"/d1,10);
fb:=if(s1=0,hs,ls);
tr0:=ifs(p1=1,'明日收盘价<'+numtostrn(udd,2)+',出现s点\n','若明日收盘价>'+numtostrn(upp,2)+',出现b点\n');
tr1:=ifs(s1=1,'明日收盘价<'+numtostrn(ls,2)+',短线卖出机会','若明日收盘价>'+numtostrn(hs,2)+'短线买入机会');
tr2:=ifs(p1=1,ifs(cross(p1,0),'b点','持股'),ifs(cross(1,p1),'s点','持币'));
tr3:=ifs(s1=0,'向下,','向上,');
tr4:='3.能量级别:'+numtostrn(d3,1)+'级';
bs:=''+datestr(date)+'买卖点决策系统提示\n'+'1.bs点:'+tr2+','+tr0+'2.短线:'+tr3+tr1+'\n'+tr4;
drawflagtext(1,fb,bs);
stickline(p1=1 and c>=o and o<>0,c,o,d2,0),color5454ff;
stickline(p1=1 and c>=o and o<>0,c,o,7.5,0),colorblack;
stickline(p1=1 and c>=o and o<>0,c,c,7.5,0),color5454ff;
stickline(p1=1 and c>=o and o<>0,o,o,7.5,0),color5454ff;
stickline(p1=1 and c>=o and o<>0,o,c,7.5,1),color5454ff;
stickline(p1=1 and c<=o,o,c,7.5,1),color5454ff;
stickline(p1=1 and c<=o,l,c,0.5,1),color5454ff;
stickline(p1=1 and c<=o,h,o,0.5,1),color5454ff;
stickline((p1<>1 or barscount(c)<3) and c>=o,c,o,7.5,1),colorffff54;
stickline((p1<>1 or barscount(c)<3) and c>=o,c,h,0.5,1),colorffff54;
stickline((p1<>1 or barscount(c)<3) and c>=o,l,o,0.5,1),colorffff54;
drawbmp(p1=1 and ref(p1,1)=0,l,'buy1.bmp'),align1,valign0;
drawbmp(p1=0 and ref(p1,1)=1,h,'sell1.bmp'),align1,valign2;
drawbmp(s1=1 and ref(s1,1)=0 and (p1+ref(p1,1))<>1,l,'bs.bmp'),align1,valign0;
drawbmp(s1=0 and ref(s1,1)=1 and (p1+ref(p1,1))<>1,h,'ss.bmp'),align1,valign2;闪:ema(c+(h-l)*0.618,3),color0099ff,linethick0;进:ema((o+h+l)/3,4),colorcyan,linethick0;
预测明日买点:=ema((o+h+l)/3,4)+((h+l)/2-ref((o+h+l)/3,3))/4;
drawtextrel(800,950,'测今日低点:'+numtostrn(ref(预测明日买点,1),2 )),colorgreen;
预测明日卖点:=ema(c+(h-l)*0.618,3)+(ema(c+(h-l)*0.618,3)-进)*0.618;
drawtextrel(580,950,'测今日高点:'+numtostrn(ref(预测明日卖点,1),2 )),colorred
;gj:=if(c=indexc,(indexc+indexh+indexl+indexo)/4,amount/(v+0.01)/100);
i1:=0;
flag1:=0;
while i1<barslast(dispstatus=1)-barslast(dispstatus=2)
do
if ref(h,i1)<ref(l,i1+1) and ref(l,i1+1)>hhv(h,i1+1)
then begin flag1:=1;
s1:=i1;
i1:=barslast(dispstatus=1);
end
elsei1:=i1+1;
stickline(flag1,ref(l,s1+1),hhv(h,s1+1),(s1+1)*20,0),color808080,align1,layer7;
drawtext(flag1,ref(l,s1+1),numtostrn(ref(l,s1+1),2)+'-'+numtostrn(hhv(h,s1+1),2)),align2,colorffffff,linethick2;
i:=0;
flag:=0;
while i<barslast(dispstatus=1)-barslast(dispstatus=2)
do
if ref(l,i)>ref(h,i+1) and ref(h,i+1)<llv(low,i+1)
then begin flag:=1;
s:=i;
i:=barslast(dispstatus=1);
end
elsei:=i+1;
stickline(flag,ref(h,s+1),llv(l,s+1),20*(s+1),500),color808080,align1,layer7;
drawtext(flag,ref(h,s+1),numtostrn(ref(h,s+1),2)+'-'+numtostrn(llv(l,s+1),2)),
align2,colorgreen,linethick2;
上一指标公式:极品趋势风险区天线强弱线公式下载 大智慧趋势天线
下一指标公式:各线趋势操盘手公式下载 大智慧操盘手
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文四度解盘黄昏之星长十字垂死十字公式下载 大智慧黄昏之星仅供学习研究。