m :=9;
p1:=5;
p2:=10;
p3:=20;
p4:=30;
long:=26;
short:=12;
ma1:= ema(c,p1);
ma2:= ema(c,p2);
ma3:= ema(c,p3);
ma4:= ema(c,p4);
ma5:= ma(c,120);
换手率:=(vol/capital) ;
{========================= 引用布林线 =========================}
n:=26; p:=20;
mid := ma(close,n);
upper:=mid + p/10*std(close,n);
lower:=mid - p/10*std(close,n);
多头排列:=ma1>ma2 and ma2>ma3 and ma2>ma4 and ma4>ref(ma4,5);
空头排列:=ma1<ma2 and ma2<ma3 and ma3<ma4;
上升趋势:=ma4>ref(ma4,3) and ma4>ref(ma4,1) and ma1>ma4;
下跌趋势:=ma4<ref(ma4,3) and ma4<ref(ma4,1) and ma1<ma4;
{
explain(c>0,'=====【综合解盘】====='),colorred; explain(c>0,'注意:目前解盘内容仅适用'); explain(c>0,'于个股的日线周期分析参考');
}
{=================================================【基本信息提示】====================================================}
explain(c>0,'───【基本信息提示】───'),coloryellow;
explainex(1,'流 通 盘(万股):',finance(3), 1,0);
explainex(1,'总 股 本(万股):',finance(0), 2,0);
explainex(1,'每股收益( 元 ):',finance(29),3,0);
{
explainex(1,'动态市盈率:',close/finance(29),2,0);
}
explainex(close>finance(34),'每股净资产(元):',finance(31),3,0) ;
explainex(close<finance(34),'每股净资产(元):',finance(31),3,0) ;
explainex(1,'净资产收益率 %:',finance(33),2,0);
{explain(c>0,'────────────'),color666666;}
explainex(1=1,'获利盘比例值 %:',winner(c)*100,2,0);
{
explainex(1,'总 股 本:',finance(1),'流 通 股:',finance(7),2,0);
explainex(1,'主营利润:',finance(21),2,0);
explainex(1,'利润增长:',finance(54),2,0);
explain(1,f10text(f10find('发行价',1),30));
explainex(1,'获利盘 %:',winner(close)*100,2,0),colorgreen;
}
{
explain(c>0,'──【板块信息提示】──'),colorblue;
explain(1,blkname);
explain(1,stkname+stklabel+'\n所属板块:'+blkname)
}
{=================================================【macd指标分析】====================================================}
explain(c>0,'───【经典指标分析】───'),coloryellow;
dif :ema(close,short)-ema(close,long),colorccffff;
dea :ema(dif,m),color58ff58;
macd:=2*(dif-dea),colorffff00,linethick0;
stickline(macd>=0 and macd>=ref(macd,1),0,macd,6,0),color6058ff;
stickline(macd>=0 and macd< ref(macd,1),0,macd,6,1),color6058ff;
stickline(macd<0 and macd>=ref(macd,1),0,macd,6,1),colorffff00;
stickline(macd<0 and macd< ref(macd,1),0,macd,6,0),colorffff00;
多头趋势:=if(dif>=0 and dea>=0 or (dif<0 and dea>=0),1,0);
空头趋势:=dif<0 and dea<0 or (dif>=0 and dea<0);
macd绿柱缩短:=macd<0 and abs(macd)< ref(abs(macd),1) and ref(macd,1)<0;
macd红柱缩短:=macd>0 and macd< ref(macd,1);
缩头:=if(macd>0 and ref(macd,1)>ref(macd,2) and ref(macd,2)>ref(macd,3) and macd< ref(macd,1),1,0) and ref(macd,1)>0.150;
缩脚:=if(macd<0 and ref(macd,1)< ref(macd,2) and ref(macd,2)< ref(macd,3) and macd>ref(macd,1),1,0) and ref(macd,1)<-0.100;
金叉:=cross(dif,dea);
死叉:=cross(dea,dif);
0轴下死叉:=死叉 and dea<0;
0轴上死叉:=死叉 and dea>0;
0轴下金叉:=金叉 and dea<0;
0轴上金叉:=金叉 and dea>0;
0轴上二次金叉:=count(cross(dif,dea) and dea>0,20)=2 and cross(dif,dea) and dea>0;
0轴上三次金叉:=count(cross(dif,dea) and dea>0,20)=3 and cross(dif,dea) and dea>0;
{----------------------------------------------------------------------------------------------------------------------------}
{
explain(缩头, '注意macd柱状缩头') ;
explain(缩脚, '注意macd柱状缩脚') ;
explain(macd<0 and abs(macd)>ref(abs(macd),1), 'macd绿柱增长');
explain(macd绿柱缩短 and not(缩脚),'macd绿柱缩短');
explain(macd>0 and macd>ref(macd,1), 'macd红柱增长');
explain(macd红柱缩短 and not(缩头),'macd红柱缩短');
}
explain(金叉 and not(0轴下金叉) and not(0轴上金叉) and not( 0轴上二次金叉),'金叉--属强势信号');
explain( 0轴下死叉,'dea和dif在0轴下死叉');
explain( 0轴下金叉,'dea和dif在0轴下金叉');
explain( 0轴上金叉 and not(0轴上二次金叉) and not(0轴上三次金叉),'dea和dif在0轴上金叉');
explain( 0轴上死叉,'dea和dif在0轴上死叉');
explain( 0轴上二次金叉,'dea和dif在0轴上二次金叉');
explain( 0轴上三次金叉,'dea和dif在0轴上三次金叉');
explain(dif>=0 and macd>=0 and macd<=ref(macd,1),'上涨趋势有所减缓,短线投资者可考虑先逢高减持');
explain(dif<0 and macd>0 and macd>ref(macd,1) , '目前处于反弹阶段,保持谨慎');
explain(macd>0 and dif>0 and dif>dea and dif>ref(dif,1) and c>ref(c,1),'上升趋势尚未改变');
explain(dif<0 and macd>0 and macd< ref(macd,1),'短线反弹已经结束,应继续坚持谨慎原则');
explain(dif<0 and macd<=0 and macd>ref(macd,1),'下跌趋势有所减缓,可适当关注');
explain(macd<0 and dif<0 and dif< dea and dif< ref(dif,1) and c< ref(c,1) and macd<=ref(macd,1),'下降趋势尚未改变');
explain(dif>=0 and macd<0 and macd< ref(macd,1),'目前正处于回落整理阶段');
explain(dif>=0 and macd<0 and macd>=ref(macd,1),'目前仍处于整理阶段,但整理即将结束,可在均线或其他支撑位附近逢低介入');
{--------------------------------------------引用 趋势顶底指标分析---------------------------------------------------}
a:=ma(-100*(hhv(high,34)-close)/(hhv(high,34)-llv(low,34)),19),colorred;
b:=-100*(hhv(high,14)-close)/(hhv(high,14)-llv(low,14));
d:=ema(-100*(hhv(high,34)-close)/(hhv(high,34)-llv(low,34)),4),linethick2;
长期线:=a+100; 短期线:=b+100; 中期线:=d+100;
见顶:=(ref(中期线,1)>85 and ref(短期线,1)>85 and ref(长期线,1)>65) and cross(长期线,短期线) ;
顶部区域:=(中期线<ref(中期线,1) and ref(中期线,1)>80) and (ref(短期线,1)>95 or ref(短期线,2)>95 ) and 长期线>60 and 短期线<83.5 and 短期线<中期线 and 短期线<长期线+4;
底部区域:=(长期线<12 and 中期线<8 and (短期线<7.2 or ref(短期线,1)<5) and (中期线>ref(中期线,1) or 短期线>ref(短期线,1)))
or (长期线<8 and 中期线<7 and 短期线<15 and 短期线>ref(短期线,1)) or (长期线<10 and 中期线<7 and 短期线<1) ;
explain( 顶部区域,'走势有超买迹象,需要引起注意') ,colorffcc99;
explain( 底部区域,'走势有超跌迹象,需要引起注意') ,color9966ff;
{=================================================【均线信息提示】====================================================}
explain(c>0,'───【均线趋势分析】───'),coloryellow;
一阴穿两线:=close/open<0.985 and high>ma1 and close<ma3;
一阳穿两线:=close/open>1.016 and low<min(ma1,ma3) and close>max(ma1,ma3);
均线密集:=上升趋势 and (max(ma1,ma4)/min(ma1,ma4))<1.01 and ma1>ma2;
均线发散程度:=ma1/ma4;
均线向下发散:=空头排列 and 均线发散程度<0.90 and 均线发散程度<0.99*ref(均线发散程度,1);
均线向上发散:=多头排列 and 均线发散程度>1.070 and 均线发散程度>(1.013*ref(均线发散程度,1));
上升趋势形成:=上升趋势 and ma1>ref(ma1,1) and ref(not(上升趋势),1);
explain(上升趋势 and ma1>ref(ma1,1) and ref(not(上升趋势),1) ,'上升趋势形成'),colorred;
explain(上升趋势 and not(一阴穿两线) and ref(上升趋势,1) ,'处于上升趋势'),color9966ff;
explain((not(上升趋势) or 一阴穿两线) and ref(上升趋势,1) ,'上升趋势停顿,注意行情可能转折'),color88cc66;
explain(下跌趋势 and ma1<ref(ma1,1) and ref(not(下跌趋势),1) ,'下跌趋势形成');
explain(下跌趋势 and not(一阳穿两线) and ref(下跌趋势,1) ,'处于下跌趋势');
explain((not(下跌趋势) or 一阳穿两线) and ref(下跌趋势,1) and not(上升趋势形成) ,'下跌趋势趋缓,注意行情可能转折'),color00ccff;
explain(多头排列 and not(均线向上发散) ,'均线多头排列');
explain(多头排列 and 均线向上发散 ,'均线多头向上发散,注意k线形态和股价运行节奏变化'),color3333cc;
explain(空头排列 and not(均线向下发散) ,'均线空头排列');
explain(空头排列 and 均线向下发散 ,'均线空头向下发散,注意k线形态和股价运行节奏变化'),color3333cc;
explain(均线密集 ,'均线密集排列,注意走势方向变化'),color6633cc;
{=================================================k线特征及形态组合====================================================}
涨停板 :=close/ref(close,1)>1.097;
跌停板 :={close<=open and} close/ref(close,1)<0.91;
k线实体 :=abs(close-open);
阳线 :=close>open or 涨停板;
带下影阳线:=(阳线 or 涨停板) and (close-low)>1.6*(close-open);
光脚阳线:=阳线 and (open-low)<0.36*(close-open);
中阳线 :=close/open>1.030;
短上影阳线:=阳线 and (high-close)<(high-open)*0.34;
阴线 :=close<open;
中阴线 :=close/ref(close,1)<0.970;
平盘 :=close=open;
平台整理:=hhv(close,5)/llv(open,5)<1.08;
{=====================================================================================================================}
长十字 :=close=open and high>open and high/low >1.06;
垂死十字 :=close=open and close=low and close<>high;
倒转锤头 :=high-low > 2.5*(max(open,close)-low) and close<min(ma1,ma2) and (min(open,close)-low)/(high-low)<0.10 and open<ma1 and ma1<ma2 and open<>close;
锤头 :=high = max(open,close) and high-low>3*(high-min(open,close)) and close<ma(close,10);
吊颈 :=(open<>close and ((high-max(open,close))/(high-low))<0.16 ) and (high-low)>2.48*(abs(open-close)) and close>ma1 and (high-low)/low>0.020;
十字星 :=(abs(close-open))/(high-low)<0.19 and (abs(close-open)/close)<0.009 and high>low and max(open,close)<high and min(open,close)>low
and not(长十字) and not(倒转锤头) and not(吊颈);
早晨之星 :=ref(close,2)/ref(open,2)<0.97 and ref(open,1)<=ref(close,2) and (ref(十字星,1) or ref(长十字,1)) 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 (ref(十字星,1) or ref(长十字,1)) and close/open<0.97 and close<ref(close,2);
射击之星 :=min(open,close)=low and high-low > 3*(max(open,close)-low) and close > ma(close,5) and ma1>ma2;
升势尽头 :=ref(阳线,1) and ref(high,1)/ref(close,1)>1.008 and (abs(close-open)/open<0.018 or 吊颈) and (max(close,open)<ref(high,1) or (close<open
and max(close,open)<=ref(high,1))) and min(close,open)>ref(close,1) and ma1>ma2;
跌势尽头 :=ref(阴线,1) and ref(阴线,2) and ref(close,1)/ref(open,1)<0.98 and ref(low, 1)/ref(close,1)<0.988 and (abs(close-open)/open<0.025 or 倒转锤头) and max(close,open)<ref(close,1)
and min(close,open)>ref(low,1) and 空头排列;
穿头破脚1 :=abs((ref(close,1)-ref(open,1))/ref(open,1)<0.02 and close/open<0.986 and close<min(ref(open,1),ref(close,1)) and open>max(ref(close,1),ref(open,1))) and ref(open,1)>max(ma1,ma2);
穿头破脚2 :=(ref(close,1)/ref(open,1)<0.990 and close/open>1.03 and close>ref(open,1) and open<ref(close,1));
乌云盖顶 :=ref(close,1)/ref(open,1)>1.02 and close/open<0.97 and open>ref(close,1) and close<((ref(close,1) + ref(open,1))/2) and close>ref(open,1);
曙光初现 :=ref(close,1)/ref(open,1)<0.97 and close/open>1.04 and open<ref(close,1) and close>( ref(open,1)+ref(close,1))/2 and ref(close,1)<min(ref(ma1,1),ref(ma2,1));
旭日东升 :=ref(close,1)/ref(open,1)<0.985 and 阳线 and close/open>1.020 and open>ref(close,1) and open<ref(open,1) and close>ref(open,1) and low<ma1 and ref(空头排列,1);
身怀六甲1 :=abs(ref(close,1)-ref(open,1))/ref(close,1)>0.017 and abs(close-open)/close<0.05 and max(close,open)<max(ref(close,1),ref(open,1)) and min(close,open) > min(ref(close,1),ref(open,1))
and ref(阳线,1) and ref(close,1)>ma1;
身怀六甲2 :=abs(ref(close,1)-ref(open,1))/ref(close,1)>0.017 and abs(close-open)/close<0.04 and max(close,open)<max(ref(close,1),ref(open,1)) and min(close,open) > min(ref(close,1),ref(open,1))
and ref(阴线,1) and ref(close,1)<ma2;
十字胎 :=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.0005 and max(open,close)>max(ma2,ma4) and max(high,ref(high,1))>=hhv(high,8) and 阴线;
平底 :=(abs(low-ref(low,1))/low<0.001 and abs(ref(low,1)-ref(low,2))/ref(low,1)<=0.001) and 阳线 and min(open,close)<ma1;
大阴烛 :=open/close>1.06 and high/low <(open/close+0.030);
大阳烛 :=close/open>1.07 and 100*(high/low) < 100*(close/open)+2.3;
光脚阴线 :=low=close and close/open<0.97;
光脚长阴 :=光脚阴线 and 大阴烛;
光头阳线 :=high=close and high<>low and 中阳线;
低开大阳 :=close/open>1.06 and open=low and open<ref(low,1) and open<ma1;
双飞乌鸦 :=ref(阴线,1) and 阴线 and ref(阳线,2) and close/open<0.988 and close<ref(close,1) and ref(not(阴线),2) and ref(多头排列,2) and open<=ref(close,1);
多方炮 :=ref(阳线,2) and ref(close,2)/ref(open,2)>1.014 and ref(阴线,1) and 阳线 and close>(ref(close,1)+ref(open,1))/2 and close/open>1.023 and open<ref(open,1);
空方炮 :=ref(阴线,2) and ref(open,2)/ref(close,2)>1.02 and ref(阳线,1) and 阴线 and close<(ref(close,1)+ref(open,1))/2 and open/close>1.03 and low<ref(open,1) ;
出水芙蓉 :=(open<ema(c,10) or open<ema(c,20)) and (c>max(ema(c,10),max(ema(c,20),ema(c,30)))) and (v/ma(v,30)>1.2 and c/ref(c,1)>1.049);
上升三部曲 :=ref(close,4)/ref(open,4)>1.016 and ref(阴线,3) and ref(阴线,2) and ref(close<=open,1) and ref(low,4)<ref(low,3) and ref(low,4)<ref(low,2) and ref(low,4)<ref(low,1)
and close/open>1.015 and close>ref(close,4) and ref(high,4)>ref(close,3) and ref(high,4)>ref(close,2) and ref(high,4)>ref(close,1) and (high-close)/(high-open)<0.30;
上升二法 :=ref(close,3)/ref(open,3)>1.02 and ref(阴线,2) and ref(close<=open,1) and ref(open,1)<ref(close,2) and ref(low,3)<ref(low,2) and ref(low,3)<ref(low,1)
and close/open>1.013 and close>ref(close,3) ;
下跌三部曲 := ref(中阴线,4) and ref(阳线,3) and ref(阳线,2) and ref(阳线,1) and ref(close,4)<ref(open,3) and ref(close,4)<ref(open,2) and ref(close,4)<ref(open,1)
and ref(high,4)>ref(high,3) and ref(high,4)>ref(high,2) and ref(high,4)>ref(close,1) and 中阴线 and close<ref(close,4);
跳空缺口1 :=low>ref(high,1) and ref(not(多头排列),1);
跳空缺口2 :=high<ref(low,1);
见顶缺口 :=low>ref(high,1) and open>ma1 and (high-max(close,open))/close>0.02 and 多头排列 and 均线向上发散 and not(均线密集) and ref(close,1)>upper;
三只乌鸦 :=ref(阴线,2) and ref(阴线,1) and 阴线 and ref(close,1)<ref(close,2) and close<ref(close,1)
and ref(close>open ,3) and ref(open,2)>max(ref(ma1,2),ref(ma2,2)) and ref(多头排列,3) and close<ma2;
加速三阴 :=(ref(阴线,2) or (ref(平盘,2) and ref(open,2)<ref(ma1,2))) and ref(阴线,1) and 阴线 and ref(close,1)<ref(close,2)*0.95 and close<ref(close,1)
and ref(close,2)<min(ref(ma1,2),ref(ma3,2)) and ref(空头排列,1) and close/open<0.975 and (close-low)/(open-low)<0.35
and ((open<=(ref(close,1)*1.005) and close/open<0.95) or (open<ref(close,1)));
冲顶三阳 :=(ref(阳线,2) and ref(阳线,1) and 阳线) and (k线实体/open)>0.04 and k线实体>ref(k线实体,1)*0.9 and ref(k线实体,1)>ref(k线实体,2) and
多头排列 and ref(close,1)/ref(close,2)>1.030 and open>=ref(close,1) and (not(涨停板) or (涨停板 and 换手率>20) );
看涨分离 :=open=ref(open,1) and (close-open)*(ref(close,1)-ref(open,1))<0 and ref(阴线,1) and not(十字星);
看跌分离 :=open=ref(open,1) and (close-open)*(ref(close,1)-ref(open,1))<0 and ref(阳线,1);
长下影 :=(min(close,open)-low)/(high-low)>0.667 and (min(close,open)-low)/low>0.02 and not(涨停板);
长上影 :=(high-max(close,open))/(high-low)>0.38 and (high-max(close,open))/close>0.025 and max(open,close)>ma1 and not(倒转锤头) ;
好友反攻 :=(ref(阴线,1) and 阳线 and abs(close-ref(close,1))/close<0.002 ) and 中阳线;
坏友反攻 :=(ref(阳线,1) and 阴线 and abs(close-ref(close,1))/close<0.002) and 中阴线;
看涨吞没 :=ref(阴线,1) and 中阳线 and open<=min(ref(open,1),ref(close,1)) and close>max(ref(open,1),ref(close,1)) and not(穿头破脚2) and (high-close)/(high-open)<0.30;
看跌吞没 :=ref(阳线,1) and 中阴线 and open>=max(ref(open,1),ref(close,1)) and close<min(ref(open,1),ref(close,1)) and not(穿头破脚1);
倾盆大雨 :=ref(c,1)/ref(o,1)>=1.02 and o<ref(c,1) and o>ref(o,1) and c<ref(o,1) and close/open<0.965 and ref(多头排列,1);
断头铡刀 :=close/open<0.98 and ref(ma1,1)>ref(ma4,1) and close<min(ma2,ma4) and open>=max(ma1,ma2) and (close-low)/low<0.015
and close<min(ref(open,1),ref(close,1));
{=============================================================================================================================}
explain(c>0,'───【k 线形态分析】───'),coloryellow;
explain( 倾盆大雨 ,'[倾盆大雨] 在高位出现往往是见顶信号;');
explain( 断头铡刀 ,'[断头铡刀] 破位下跌,行情发展将可能发生逆转,务必注意防范风险;');
explain( 好友反攻 ,'[好友反攻] 跌势已尽,可能展开一段反弹行情;');
explain( 坏友反攻 ,'[坏友反攻] 升势将尽,可能展开一段下跌行情;');
explain( 跳空缺口1 ,'[跳空缺口] 若突破长期盘整走势,向上跳空意味着上涨行情开始;若出现在上涨途中为中继形态;');
explain( 跳空缺口2 ,'[跳空缺口] 低开向下跳空,空头力量占优不过需注意区别缺口位置;');
explain( 见顶缺口 ,'[冲顶缺口] 若在长期升势之后向上跳空,放量收出带长上影k线,注意上涨行情有结束可能;');
explain( 升势尽头 ,'[升势尽头] 长期升势之后收出小实体k线,注意行情有可能临近结束;');
explain( 跌势尽头 ,'[跌势尽头] 长期跌势之后向下跳空,收出小实体k线,注意下跌行情有可能停顿;');
explain( 三只乌鸦 ,'[三只乌鸦] 可能见顶回落;');
explain( 加速三阴 ,'[加速三阴] 若在下跌末期出现有加速赶底的意味;');
explain( 冲顶三阳 ,'[冲顶三阳] 若在上涨末期出现有加速赶顶的意味;');
explain( 看涨分离 ,'[看涨分离] 有看涨可能;');
explain( 看跌分离 ,'[看跌分离] 有看跌可能;');
explain( 下跌三部曲 ,'[下跌三法] 典型看跌信号,但是力度不强;');
explain( 上升三部曲 ,'[上升三法] 典型看涨信号,但是力度不强;');
explain( 上升二法 ,'[上升二法] 看涨信号;');
explain( 十字星 ,'[十 字 星] 警示性信号,原趋势可能停顿或变化;');
explain( 长十字 ,'[长 十 字] 重要警告信号,原趋势可能停顿或反转;');
explain( 垂死十字 ,'[垂死十字] 下跌信号;');
explain( 早晨之星 ,'[早晨之星] 上涨信号,见底回升;');
explain( 黄昏之星 ,'[黄昏之星] 趋势停顿或反转,下跌信号,见顶回落;');
explain( 射击之星 ,'[流 星 线] 出现在短期的上升趋势,表明市场顶部就在眼前,可能见顶回落,可靠性低;');
explain( 倒转锤头 ,'[倒转锤头] 构成一个警示信号,有可能将见底企稳;');
explain( 锤头 ,'[ 锤 头 ] 可能见底回升,如有成交量配合,反弹意味较强;');
explain( 吊颈 ,'[吊 颈 线] 上升行情中常于阶段顶部附近出现,若是以涨停报收有可能是上升中继形态;');
explain( 平顶 ,'[ 平 顶 ] 意味行情摸高见顶,股价运行有可能将要转折。;');
explain( 乌云盖顶 ,'[乌云盖顶] 见顶回落信号;在上升途中有试盘和洗盘的可能;');
explain( 曙光初现 ,'[曙光初现] 行情可能演化为v型反转或止跌盘整,后市有望探底回升');
explain( 旭日东升 ,'[旭日东升] 行情可能演化为v型反转或止跌横盘趋势。比较强烈的反弹信号,后市见底回升;');
explain( 身怀六甲1 ,'[身怀六甲] 上升趋势停顿信号,若出现在高位,有见顶回落可能;也常出现于整理形态');
explain( 身怀六甲2 ,'[身怀六甲] 若出现在底部,是下跌趋势停顿信号,有见底回升可能;');
explain( 平底 ,'[ 平 底 ] 行情探低见底,股价行将反转上升,但力度较小;');
explain( 双飞乌鸦 ,'[双飞乌鸦] 走势疲软可能见顶回落');
explain( 多方炮 ,'[多 方 炮] 在底部出现有上涨可能,在上涨途中出现是上涨中继,高位出现可能是复合见顶信号;');
explain( 空方炮 ,'[空 方 炮] 在顶部出现有下跌可能,在下跌途中出现是下跌中继,低位出现往往是加速赶底信号;');
explain( 看涨吞没 ,'[看涨吞没] 在底部出现有上涨可能,在中间出现有可能是上涨中继;');
explain( 看跌吞没 ,'[看跌吞没] 在顶部出现有下挫可能,在中间出现有可能是下跌中继;');
explain( 出水芙蓉 ,'[出水芙蓉] 显示上攻势头;');
explain( 穿头破脚1 and not(空方炮) ,'[穿头破脚] 经常出现于顶部附近,往往是见顶回落信号;');
explain( 穿头破脚2 and not(多方炮) ,'[穿头破脚] 经常在底部或者上升途中出现,看涨回升信号;');
explain( 低开大阳 and not(大阳烛) ,'[低开长阳] 往往是主力震仓收集筹码的迹象,行情有向上运行可能;');
explain( 光头阳线 and not(曙光初现) and not(旭日东升) ,'[光头阳线] 多方积极上攻态势;');
explain( 大阳烛 and not(光头阳线) and not(出水芙蓉) ,'[大 阳 线] 在上升行情中出现,意味着行情加速攀升;在下跌行情中出现,则意味着走势反弹;');
explain( 长下影 and not(吊颈) and not(十字星) and not(长十字) and not(锤头) ,'[长 下 影] 持续下跌后出现,有可能止跌回升;若在升势末期出现,则须多加留意风险;');
explain( 长上影 and not(射击之星) and not(十字星) and not(长十字) ,'[长 上 影] 表明上档压力较重,升势受阻;若出现在涨势初期或重要阻力价位处则有试盘的可能;');
explain( 光脚长阴 and not(断头铡刀) and not(加速三阴) and not(看跌吞没) and not(倾盆大雨), '[光脚长阴] 看跌信号;');
explain( 大阴烛 and not(光脚长阴) and not(加速三阴) and not(断头铡刀) and not(看跌吞没) and not(倾盆大雨) ,'[大 阴 线] 代表做空动力,注意开盘收盘价位,出现在低位上升途中则有洗盘的可能;');
{=============================================== 引用成交量判断顶底走势 ===============================================}
mv5 :=ma(vol,5);
mv10:=ma(vol,10);
mv20:=ma(vol,20);
放量:=((vol>ref(vol,1) and vol>2*mv10) or (vol>3*mv10 and vol>2*mv5) or (vol>1.5*ref(vol,1) and vol>1.6*mv5))
and ((换手率>2.0 and not(上升趋势)) or (换手率>3.0 and 上升趋势));
过分放量:=vol>2*ref(vol,1) and vol>1.6*mv5 and 换手率>3.0;
{ pay attention!!! }
放量123:=vol>1.5*ref(vol,1) and vol>1.8*mv5 and ref(vol,1)>1.5*ref(vol,2) {and every (阳线,2)} and 换手率>2.0;
缩量:=vol<(max(mv10,mv5)*1.2) and vol<(ref(vol,1)*0.8);
{ pay attention!!! }
成交放大:=vol>min(mv10,mv5);
持续成交放大:=成交放大 and ref(成交放大,1) and ref(成交放大,2);
持续温和放量:=mv5>ref(mv5,5) and mv5>mv10 and hhv(vol,6)<2.4*mv5 and llv(vol,6)>0.3*mv20 {and every (阳线,6) and every (not(过分放量),6)}
and not(多头排列) and 持续成交放大 and mv5/capital<3 and 换手率<8;
hsl=(vol/capital);
explain(c>0,'───【资金量能分析】───'),coloryellow;
{explainex(1,'成交笔数:',qt,2,0),colorgreen;}
explainex(hsl<10,'换 手 率 %:',hsl,2,0),colorffcc99;
explainex(hsl>10 and hsl<18,'换 手 率 %:',hsl,2,0),color0066cc;
explainex(hsl>18,'换 手 率 %:',hsl,2,0),color9966ff;
放量后缩量:=(ref(放量,1) or (ref(放量,2) and ref(vol,1)>0.8*ref(vol,2) and 换手率>3.0)) and vol<ref(vol,1)*0.6 and max(open,close)>ma1;
放量后缩量见顶:=((ref(放量,1) or (ref(放量,2) and ref(vol,1)>0.8*ref(vol,2) and 换手率>3.0)) and vol<ref(vol,1)*0.56 and max(open,close)>ma1
and (十字星 or 升势尽头 or 吊颈 or 身怀六甲1 or 乌云盖顶 or 长上影 or 平顶)) and not(涨停板) and ref(阳线,1);
见顶k线:={(十字星 and high<>close) or} 升势尽头 or 吊颈 or 身怀六甲1 or 乌云盖顶 or 穿头破脚1 or 长上影;
逃顶k线:=(穿头破脚1 and ref(吊颈,1)) or 倾盆大雨;
放量见顶:=放量 and 见顶k线 and max(open,close)>ma1;
explain( hsl>20 ,'成交活跃换手过高,注意走势变化');
explain( 放量见顶 ,'放量明显,结合k 线形态注意震荡');
explain( 放量123 and not(放量见顶) and 阳线 ,'加速放量,关注量能释放的持续性');
explain( 放量123 and 大阴烛 ,'放量杀跌,适当注意风险');
explain( 放量后缩量见顶 ,'成交量能持续性不好,结合k线形态注意短期震荡风险');
explain((放量 and 出水芙蓉) ,'放量突破,运行节奏可能变化');
explain( 持续温和放量 and close<ma5 ,'持续温和放量');
explain((mv10/capital)*100<0.5 and hhv(换手率,3)<1.00 and not(持续成交放大) ,'持续成交低迷,注意近期有无放量迹象');
放量突破:=放量 and 出水芙蓉;
{============================================== 资金流向分析 ===============================================}
{ ddx="大单比率.大单比率" ; }
explain(c>0,'----------------------------'),coloryellow;
主力净买:= (bigorder(1,2)-bigorder(2,2))*vol;
大单比率:= 主力净买/capital ;
ddx:=大单比率;
大单泛绿天数:= count( ddx<0,9 );
大单泛红天数:= count( ddx>0,10 );
聚散程度:=10*(order(2)-order(1))/capital;
筹码泛绿天数:= count( 聚散程度<0,10 );
筹码泛红天数:= count( 聚散程度>0,10 );
机构:= (bigorder(1,3)-bigorder(2,3))*vol/capital;
大户:= (bigorder(1,2)-bigorder(2,2)-bigorder(1,3)+bigorder(2,3))*vol/capital;
散户:= (bigorder(2,1)-bigorder(1,1))*vol/capital;
资金持续流入:= 大单泛红天数>6 and ddx> 0.10 and 筹码泛红天数>6 and 聚散程度> 0.10 and 散户<0 and llv(ddx,8)>-0.20;
资金持续流出:= 大单泛绿天数>6 and ddx<-0.10 and 筹码泛绿天数>6 and 聚散程度<-0.07 and 散户>0 and hhv(ddx,8)< 0.20;
内盘成交:=ordernwp(1) ; 外盘成交:=ordernwp(2) ;
dkdl:= 100*(外盘成交-内盘成交)/vol ;
explainex( ddx<=0.40 and ddx>=-0.40 ,'大单比率 %:',ddx, 2, 0);
explainex( ddx<1 and ddx>0.40,'大单比率 %:',ddx, 2, 0),coloryellow;
explainex( ddx>=1,'大单比率 %:',ddx, 2, 0),color9933ff;
explainex( ddx>-1 and ddx<-0.40,'大单比率 %:',ddx, 2, 0),coloryellow;
explainex( ddx<=-1,'大单比率 %:',ddx, 2, 0),colorgreen;
{
explainex( 聚散程度<=-2,'筹码聚散 %:',聚散程度, 2, 0),colorgreen;
}
explain(ddx>0.30 and ddx<1 and 聚散程度>0.36 and 散户<0.20 , '有资金吸筹迹象,可进行跟踪 '),color3333cc;
explain(ddx>= 1 and ( dkdl> 30 or 聚散程度>1 ) and dkdl>0 , '有资金主动介入,可适当关注 '),color3333cc;
explain(ddx>= 1 and 聚散程度>0.80 and dkdl<-5 and 机构>0.20,'有大资金参与,筹码趋于集中 '),color3333cc;
explain(ddx< -0.40 and ddx>-0.60 and 聚散程度<-0.40 and 散户>0.2 and 大户<0, '筹码松动,主力的减仓意愿较强 '),colorgreen;
explain(ddx<=-0.60 and 聚散程度<-0.70 and dkdl>=0 and 散户>0.20, '筹码松动,注意有资金正在减仓 '),colorgreen;
explain(ddx<= -1 and 聚散程度<-1 and dkdl< 0 and 机构<-0.5, '卖压加大,警惕主力资金在出逃 '),colorgreen;
explain( 资金持续流入 , '资金正在持续流入,筹码趋于集中 '),colorred;
explain( 资金持续流出 , '资金正在持续流出,筹码趋于分散 '),colorgreen;
{=========================================== 机会风险综合评估 ===============================================}
下跳孤星:=max(open,close)<ref(close,1) and abs(close-open)/close<0.025;
抄底标识:=(空头排列 and 均线向下发散 and (加速三阴 or ref(加速三阴,1) or 倒转锤头 or 身怀六甲2))
or (ref(空头排列,1) and ref(均线向下发散,1) and (身怀六甲2 or 跌势尽头))
or (ref(空头排列,1) and ref(均线向下发散,2) and (早晨之星))
or ((( (ref(加速三阴,1) or ref(空方炮,1)) and ref(空头排列,1) and 均线发散程度<0.94) or ref(均线向下发散,1)) and (身怀六甲2 or 曙光初现 {or 下跳孤星} ));
冲顶标识:=(冲顶三阳 and 均线向上发散 and (vol/capital)*100>4.0) or (ref(均线向上发散,1) and (身怀六甲1 or 升势尽头))
or ( vol>1.2*ref(vol,1) and (长上影 or 见顶缺口) and 均线向上发散 and (换手率>5.00))
or ((乌云盖顶 or 倾盆大雨) and ref(均线向上发散,1) and (换手率>2.50))
or (放量后缩量见顶 and 均线向上发散)
or (放量后缩量 and ref(均线向上发散,1))
or (换手率>25 and 均线向上发散 );
追涨标识:=({(看涨吞没 and open<=ma1 and close>ma2 and not(均线向上发散)) or} 出水芙蓉)
or ((上升趋势形成 or 均线密集 or ref(均线密集,1)) and (多方炮 or 看涨吞没 or 穿头破脚2 ))
or ( 上升趋势形成 and 跳空缺口1 and 光头阳线)
or ( 0轴上金叉 and (多方炮 or 看涨吞没 or 穿头破脚2 or 跳空缺口1 or (光头阳线 and 大阳烛)));
aa:= (0轴上金叉 and (多方炮 or 看涨吞没 or 穿头破脚2 )) and cpx>0;
b点:= cpx=1 and ref(cpx,1)<0;
sb翻转:= cpx=1 and ref(cpx,1)<0 and ref(cpx,2)>0;
{------------------------------------------------------------------------------------------------------------------}
风险1:=身怀六甲1 or 升势尽头 or (吊颈 and not(涨停板)) or (长上影) ;
风险2:=(身怀六甲1 or 升势尽头 or 吊颈 or 穿头破脚1 or 看跌吞没) and 缩头 ;
风险3:=冲顶标识 and not(涨停板) ;
风险4:=放量后缩量见顶 or 放量见顶 or 逃顶k线 and cpx> 0 ;
风险5:=(断头铡刀 or 穿头破脚1 or 看跌吞没 or 倾盆大雨 or 光脚阴线 ) and cpx> 0 ;
风险6:=(断头铡刀 or 穿头破脚1 or 看跌吞没 or 倾盆大雨 or 光脚阴线 or 大阴烛 or 缩头) and cpx=-1 ;
风险 := 风险1 or 风险2 or 风险3 or 风险4 or 风险5 or 风险6;
机会1:=大阳烛 and 下跌趋势 and 空头排列 and ddx>0.20 ;
机会2:=(跌势尽头 or (身怀六甲2 and 倒转锤头)) ;
机会3:=抄底标识 and not(跌停板) ;
机会4:=sb翻转 and ddx>0.10 ;
机会5:=追涨标识 and cpx>0 and hsl<12 and ddx>0.20;
机会 :=机会1 or 机会2 or 机会3 or 机会4 or 机会5;
{============================================【机会风险评估】==================================================}
explain(c>0,' '),colorred;
explain(c>0,'───【机会风险评估】───'),colorred;
{
explainex( 1,'操盘线状态:',cpx , 2, 0) ;
explainex( 1,'涨跌幅 %:',100*(close/open -1) , 2, 0) ;
}
{☆★○●●}
explain( 风险1 and not(风险2),'短期走势有不确定性,以观望为主,建议关注走势变化。★'),colorffcc66;
explain( 风险2 and not(风险3),'走势有停滞迹象,可能出现短期顶部,建议提高警惕。★★'),colorffaa00;
explain( 风险3 and not(风险4),'走势加速上攻,短线超买比较明显,可能面临调整,建议密切注意。★★★'),colorffaa00;
explain( 风险4 and not(风险5),'可能震荡整理,建议控制仓位。★★★'),colorffaa00;
explain( 风险5 and not(风险6),'当前走势不佳,结合操盘线信息注意防范风险。★★★★'),color88cc66;
explain( 风险6 and not(机会) ,'走势较为恶劣,注意控制风险。★★★★★'),colorffaa00;
explain( 机会1 and not(机会3),'下跌过程中反弹,持续性有待观察。●'),color6633cc;
explain( 机会2 and not(机会3),'走势可能面临转折,建议积极关注。●●'),color6633cc;
explain( 机会3, '近期走势较弱,走势加速探底,超跌比较严重,可能面临反弹,需注意走势变化。●●'),color6633cc;
explain( 机会4 and not(机会5),'走势突变,关注短线机会。●●●'),color6633cc;
explain( 机会5 and not(风险) ,'走势较为乐观,可考虑适量参与。●●●●'),color6633cc;
上一指标公式:L2分时 操盘手源码
下一指标公式:益盟的BS点信号指标 操盘手信号
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文分享指标实时解盘 操盘手实时仅供学习研究。