波段均线
多:ema(c,3),coloryellow,linethick2;
空:ema(c,8),colorff,linethick2;
均衡:=ema(空,8),colorwhite,;
varf1:=count(cross(多,均衡),2)=1;
varf2:=count(cross(空,均衡),2)=1;
zai:=filter(varf1 and varf2,2);
drawtext(zai,均衡,' →主升'),colorwhite;
vv2:=ref(close,1);
vv3:=sma((close-vv2),6,1)/sma(abs(close-vv2),6,1)*100;
drawicon(ref(vv3,1)>81 and vv3<80,high,2);
drawtext(ref(vv3,1)>81 and vv3<80,high,' s'),coloryellow;
vf1:=ma(close,60)-ma(close,5)/3.2;
drawtext(if(close<vf1 and vol/240>ma(vol,5)/240 and close>=ref(close,1)*1.08 and close<ma(close,13)*1.3,1,0),low,'☆'),colorred;
vara:=(close-ref(open,29))/ref(open,29)*100;
varb:=ema(0.667*ref(vara,1)+0.333*vara,5);
drawtext(if(vol>=1.3*ma(vol,5) and count(vara>=varb and vara<-17,3) and ref(low,1)=llv(low,120),1,0),low,'b');
varr1:=sma(max(close-ref(c,1),0),6,1)/sma(abs(close-ref(c,1)),6,1)*100;
drawicon(cross(82,varr1),high,2);
drawtext(cross(82,varr1),high,'s'),coloryellow;
var1:=(high+low+open+2*close)/5;
var2:=ref(var1,1);
var3:=sma(max(var1-var2,0),10,1)/sma(abs(var1-var2),10,1)*100;
hy3:=if(count(var3<20,5)>=1 and count(var1=llv(var1,10),10)>=1 and close>=open*1.038 and vol>ma(vol,5)*1.2,1,0);
drawtext(hy3,low,'b'),colorred;
s:=ma(vol,5)/ma(vol,60),colorred,,linethick2;
a:=ma(s,5),colorgreen,,linethick2;
bias:=(close-ma(close,5))/ma(close,5)*100;
f:=ma(s,121);
rsv:=(close-llv(low,45))/(hhv(high,45)-llv(low,45))*100;
k:=sma(rsv,15,1);
d:=sma(k,15,1);
j:=3*k-2*d;
lc:=ref(close,1);
rsi:=sma(max(close-lc,0),6,1)/sma(abs(close-lc),6,1)*100;
drawtext(cross(84,rsi) , high,' s'),coloryellow ;
s1:=if((j<11 and bias>-11 and cross( s,f) and (s-f)>0.010),2,0),stick,linethick3,colorgreen;
drawtext(s1=2,low,' b'), colorgreen;
ma55:ma(c,55),linethick2;
{---------------------------------------------------------------}
explain(c>0,'〓k 线形态分析 〓 '),colorffffff;
{---------------------------------------------------------------}
★早晨之星:=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/100and 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);
explain(★倾盆大雨,'★倾盆大雨★见顶信号;'),colorcyan;
explain(★大阴烛,'★大阴烛★后市向淡,发生逆转;'),colorcyan;
explain(★好友反攻,'★好友反攻★底部反转;'),colorred;
explain(★跳空缺口,'★跳空缺口★注意向上还是向下跳空;'),colorwhite;
explain(★光脚阴线,'★光脚阴线★下跌信号;'),colorcyan;
explain(★光头阳线,'★光头阳线★后市看涨;'),colorred;
explain(★三只乌鸦,'★三只乌鸦★可能见顶回落;'),colorcyan;
explain(★分离,'★分离★注意看涨分离和看跌分离;'),colorwhite;
explain(★长下影,'★长下影★持续下跌后出现,有可能止跌回升;在升势末期
出现,须多加留意;'),colorred;
explain(★长上影,'★长上影★表明行情上档压力沉重,升势受
阻;'),colorcyan;
explain(★下跌三部曲,'★下跌三部曲★下跌信号;'),colorred;
explain(★上升三部曲,'★上升三部曲★上涨信号;'),colorcyan;
explain(★早晨之星,'★早晨之星★见底回升;'),colorred;
explain(★黄昏之星,'★黄昏之星★见顶回落;'),colorcyan;
explain(★十字星,'★十字星★有转向意味,注意股价位置在顶部还是底
部;'),colorwhite;
explain(★长十字,'★长十字★注意在顶部还是底部;'),colorwhite;
explain(★垂死十字,'★垂死十字★下跌信号;'),colorcyan;
explain(★早晨十字星,'★早晨十字星★上涨信号,见底回升;'),colorred;
explain(★黄昏十字星,'★黄昏十字星★下跌信号,见顶回落;'),colorcyan;
explain(★射击之星,'★射击之星★可能见顶回落,可靠性低;'),colorcyan;
explain(★倒转锤头,'★倒转锤头★可能见底回升;'),colorred;
explain(★锤头,'★锤头★可能见底回升,如有量配合,信号强
烈;'),colorred;
explain(★吊颈,'★吊颈★上升行情中见顶回落,顶部出现,见顶信
号;'),colorcyan;
explain(★平顶,'★平顶★温和的反转;'),colorcyan;
explain(★穿头破脚,'★穿头破脚★顶部出现,见顶回落信号;'),colorcyan;
explain(★乌云盖顶,'★乌云盖顶★见顶回落信号;'),colorcyan;
explain(★曙光初现,'★曙光初现★后市见底回升;'),colorred;
explain(★身怀六甲,'★身怀六甲★出现在底部,是见底回升信号;出现在顶部
,是见顶回落信号;'),colorred;
explain(★十字胎,'★十字胎★'),colorred;
explain(★平底,'★平底★温和的反转;'),colorred;
explain(★大阳烛,'★大阳烛★看涨;'),colorred;
explain(★红三兵,'★红三兵★每日收盘价上移,表示可能见底回
升;'),colorred;
explain(★双飞乌鸦,'★双飞乌鸦★行情将见顶回落;'),colorcyan;
explain(★孕育线,'★孕育线★注意股价位置;'),colorwhite;
explain(★多方炮,'★多方炮★在底部出现有上涨可能,在中间出现有可能是
上涨中继,顶部出现是复合见顶信号;'),colorred;
explain(★出水芙蓉,'★出水芙蓉★见底回升;'),colorred;
{涨停王} 量:=ref(c,ref(hhvbars(v,21),0))colorgreen,linethick0;
m1:=ma(close,1)linethick0;
a:=v>1*ref(v,1) and (c/ref(c,1)-1)*100>9.5 and m1>=量,colorred;
drawicon(cross(a,1),l*0.98,3)colorwhite,;
drawtext(a,l*0.93,'停'),linethick1,coloryellow;
上一指标公式:BDYS江山快损赢公式 飞狐BDYS快损赢指标 源码
下一指标公式:波段线.公式 飞狐波段指标 源码
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文波段均线公式 飞狐波段指标 源码仅供学习研究。