金叉
drawbkbmp(close>0,'黄金分割线b');
diff:ema(close,12)-ema(close,26),linethick0,colorff;
dea:ema(diff,9),linethick0,colorff00ff;
macd:2*(diff-dea),linethick0;
a:=hhv(diff,300);
a*1.3,linethick0,colorff00;
b:=macd-ref(macd,1);
k1:=sysparam(3)-sysparam(2)+1;
diff1:=hhv(diff,k1);
dea1:=hhv(dea,k1);
macd1:=hhv(macd,k1);
diff2:=llv(diff,k1);
dea2:=llv(dea,k1);
macd2:=llv(macd,k1);
mxa:=max(diff1[datacount],max(dea1[datacount],macd1[datacount]));
mna:=min(diff2[datacount],min(dea2[datacount],macd2[datacount]));
a2:=(mxa+mna)/2;
a3:=mxa-mna;
h1:=hhv(high,k1);
l1:=llv(low,k1);
mxb:=h1[datacount];
mnb:=l1[datacount];
b2:=(mxb+mnb)/2;
b3:=mxb-mnb;
diffa:=(diff-a2)*b3/a3+b2;
deaa:=(dea-a2)*b3/a3+b2;
macda:=(macd-a2)*b3/a3+b2;
b4:=-a2*b3/a3+b2;
stickline(macd>0 and b>0,b4,macda,10,0),color91b5;
stickline(macd>0 and b<0,b4,macda,10,0),colora9b5;
stickline(macd<0 and b>0,b4,macda,10,0),colorb0b07a;
stickline(macd<0 and b<0,b4,macda,10,0),color8eb03a;
博弈线:=wma(close,8);
byx:=wma(close,8);
fillrgn(byx>ref(byx,1),byx,ref(byx,1)),colorb79dcc;
fillrgn(byx<ref(byx,1),byx,ref(byx,1)),color95ab;
低位金叉:=cross(diff,dea) and diff<-0.1;
stickline(低位金叉,b4,b4+b3/20,6,0),colorffff;
drawtext(低位金叉,b4+b3/20,' 低位金叉'),colorffff;
jccount:=count(cross(diff,dea),barslast(dea>=0));
二次金叉:=cross(diff,dea) and dea<0 and count(jccount=2,21)=1;
stickline(二次金叉,b4,b4-b3/40,2,0),colorff00ff;
drawicon(二次金叉,deaa*0.995,1);
drawtext(二次金叉,b4-b3/40,' 二次金叉'),align0,colorff00ff;
a1:=barslast(ref(cross(diff,dea),1));
底背离:=ref(close,a1+1)>close and diff>ref(diff,a1+1) and cross(diff,dea);
stickline(底背离,b4,b4-b3/40,2,0),colorff00;
drawline(a1=0,deaa,底背离,deaa,0),linethick2,colorff;
drawtext(底背离,b4-b3/40,' 底背离'),colorff00;
a2:=barslast(ref(cross(dea,diff),1));
顶背离:=ref(close,a2+1)<close and ref(diff,a2+1)>diff and cross(dea,diff);
drawline(a2=0,deaa,顶背离,deaa,0),linethick2,colorff00;
partline(not(diff<ref(diff,1)),diffa),linethick1,colorff;
partline(not(dea<ref(dea,1)),deaa),linethick1,colorff00ff;
partline(diff<ref(diff,1),diffa),linethick1,colorff00;
partline(dea<ref(dea,1),deaa),linethick1,colorffff00;
lll:=low;
ll2:=lll;
gfb1:=ll2*1.05;
gfb2:=ll2*1.07;
gfb3:=ll2*1.1;
gfb4:=ll2*1.12;
gfbd:=ll2*1.18;
gfbd1:=ll2*1.21;
explain(ref(open,1)<>ref(close,1) and 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),'\n* 黄昏之星 -空方势盛 反转信号 跳空成弃婴'),colorffffff;
explainicon(ref(open,1)<>ref(close,1) and 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),'30'),align0;
explain(ref(open,1)<>ref(close,1) and 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),'\n* 晨星 -多方势盛 变盘信号'),colorffffff;
explainicon(ref(open,1)<>ref(close,1) and 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),'13'),align0;
explain(min(open,close)=low and high-low>3*(max(open,close)-low) and close<ma(close,5),'\n* 倒转槌头 -高位抛压 低位多空争执'),colorffffff;
explainicon(min(open,close)=low and high-low>3*(max(open,close)-low) and close<ma(close,5),'19'),align0;
explain(high=max(open,close) and high-low>3*(high-min(open,close)) and close<ma(close,5),'\n* 槌头 -下影线有多头意义 在下降趋势之后看涨 注意反弹卖压'),colorffffff;
explainicon(high=max(open,close) and high-low>3*(high-min(open,close)) and close<ma(close,5),'\n* 31'),align0;
explain(high=max(open,close) and high-low>3*(high-min(open,close)) and close>ma(close,5),'\n* 吊颈线 -高档看跌'),colorffffff;
explainicon(high=max(open,close) and high-low>3*(high-min(open,close)) and close>ma(close,5),'12'),align0;
explain(ref(close,1)/ref(open,1)<0.97 and close/open>1.03 and open<ref(close,1) and close>ref(close,1),'\n* 曙光 -与乌云盖顶相反 行情将演化为v型反转或止跌横盘趋势'),colorffffff;
explainicon(ref(close,1)/ref(open,1)<0.97 and close/open>1.03 and open<ref(close,1) and close>ref(close,1),'曙光'),align0;
explain(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),'\n* 穿头破脚 -若第一根k为阴(阳) 表强劲上涨(下跌)力量'),colorffffff;
explainicon(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),'18'),align0;
explain((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)),'\n* 身怀六甲 -阴(阳)怀阳(阴)怪异的走势显示该股行情可能转向 若量由大转缩更明'),colorffffff;
explainicon((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)),'16'),align0;
explain((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)),'\n* 十字胎 -似身怀六甲 转向可能性更大 量缩观望为宜'),colorffffff;
explainicon((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)),'2'),align0;
explain((abs(high-ref(high,1)))/high<0.001,'\n* 平顶 -该高点有一定阻力'),colorffffff;
explain((abs(low-ref(low,1)))/low<0.001 and (abs(ref(low,1)-ref(low,2)))/ref(low,1)<=0.001,'\n* 平底 -该低点有一定支撑'),colorffffff;
explain(close/open>1.05 and high/low<close/open+0.018,'\n* 大阳烛 -上升行情中意味行情剧烈向上攀升 下跌行情中意味行情剧烈向上反弹'),colorffffff;
explain(open/close>1.05 and high/low<open/close+0.018,'\n* 大阴烛 -今日空方有绝对优势'),colorffffff;
explain(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,'\n* 友好反攻 -阴(阳)线结合极线 多方跳低(高)后反弹 有企稳迹象'),colorffffff;
explainicon(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,'10'),align0;
explain(high<ref(low,1) or low>ref(high,1),'\n* 跳空缺口 -当日未补 有与跳空同向进行欲望强烈 三日为回补观察期'),colorffffff;
explain(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),'\n* 三白兵 -多方气盛 在底部见底反弹可能'),colorffffff;
explainicon(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),'3'),align0;
explain(close=open,'\n** kc k线实习帖 **\n\nk线不是万能量能分析亦不可缺\n'),align0,colorff;
explain(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),'\n* 三只乌鸦 -强烈转空趋势 三黑k价越深量越大越易下跌'),colorffffff;
explainicon(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),'5'),align0;
explain(ref(close,1)<ref(open,1) and close<open and close/open<0.98,'\n* 双飞乌鸦 -多头力竭 行情走软'),colorffffff;
explainicon(ref(close,1)<ref(open,1) and close<open and close/open<0.98,'双飞乌鸦'),align0;
explain(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),'\n* 上升三部曲 -空方卖压被吸纳 趋势易顺势走涨'),colorffffff;
explainicon(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),'7'),align0;
explain(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),'\n* 下跌三部曲 -多方弱势不堪一击 趋势易顺势走跌'),colorffffff;
explainicon(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),'6'),align0;
explain(close=open and high<>close and low<>close and high<>close,'\n* 十字星 -警告信号 原趋势停顿或反转 依上下影线长度判后市'),colorffffff;
explain((min(close,open)-low)/(high-low)>0.667,'\n* 长下影 -下档支撑强或空方试探进攻'),colorffffff;
explain((high-max(close,open))/(high-low)>0.667,'\n* 长上影 -上档阻力大或多方试探进攻'),colorffffff;
explain(open=ref(open,1) and (close-open)*(ref(close,1)-ref(open,1))<0,'\n* 分离 -两日开盘相同 一阴一阳 变盘前彻底整理'),colorffffff;
explainicon(open=ref(open,1) and (close-open)*(ref(close,1)-ref(open,1))<0,'9'),align0;
explain(high=close and high<>low,'\n* 光头阳线 -今日尾盘多方气盛 可能延续到明天'),colorffffff;
explain(low=close and high<>low,'\n* 赤脚阴线 -尾盘空方胜 注意延续次日'),colorffffff;
explain(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 close>=open and (close-open)/open>=2/100 and close>=ref(open,1) and open<=ref(close,1) and (max(close,ref(close,2))-min(close,ref(close,2)))/min(close,ref(close,2))<=1/100,'\n* 二阳夹一阴 -必须从后续的走势来研判'),colorffffff;
explainicon(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 close>=open and (close-open)/open>=2/100 and close>=ref(open,1) and open<=ref(close,1) and (max(close,ref(close,2))-min(close,ref(close,2)))/min(close,ref(close,2))<=1/100,'1'),align0;
explain(close=open and high<>close and low<>close and high/low>1.03,'\n* 长十字 -多空激争 前途未明'),colorffffff;
explain(close=open and close=low and close<>high,'\n* 垂死十字 -在顶部时重要 表强力多头开始疲软'),colorffffff;
explain(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),'\n* 早晨十字 -同晨星 从看空平衡到看涨 转强 左右跳空曰弃婴'),colorffffff;
explainicon(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),'23'),align0;
explain(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),'\n* 黄昏十字 -同夜星 从看多平衡到看空 转弱 左右跳空曰弃婴'),colorffffff;
explainicon(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),'黄昏十字'),align0;
explain(close<>open and min(open,close)=low and high-low>3*(max(open,close)-low) and close>ma(close,5),'\n*
射击之星 -如伴大量 上遇阻力 有短期见顶可能 转疲'),colorffffff;
explainicon(close<>open and min(open,close)=low and high-low>3*(max(open,close)-low) and close>ma(close,5),'20'),align0;
explain(ref(close,1)-ref(open,1)>0 and close-open<0 and close<ref(open,1) and open>ref(close,1),'\n* 阴线吞噬 -黑包红 向空反转'),colorffffff;
explainicon(ref(close,1)-ref(open,1)>0 and close-open<0 and close<ref(open,1) and open>ref(close,1),'15'),align0;
explain(ref(close,1)-ref(open,1)>0 and (abs(ref(close,1)-ref(open,1)))/(abs(ref(close,2)-ref(open,2)))>2.5 and close-open<0 and close>ref(open,1) and close<(ref(close,1)+ref(open,1))/2 and open>ref(close,1),'\n* 乌云罩顶 -上涨遇重大阻力 空头聚力'),colorffffff;
explainicon(ref(close,1)-ref(open,1)>0 and (abs(ref(close,1)-ref(open,1)))/(abs(ref(close,2)-ref(open,2)))>2.5 and close-open<0 and close>ref(open,1) and close<(ref(close,1)+ref(open,1))/2 and open>ref(close,1),'21'),align0;
explain(ref(close,2)-ref(open,2)>0 and (abs(ref(close,2)-ref(open,2)))/(abs(ref(close,3)-ref(open,3)))>2.4 and abs(close-open)>3 and abs(ref(close,2)-ref(open,2))>abs(ref(close,1)-ref(open,1)) and ref(close,1)-ref(open,1)>0 and close-open<0 and ref(open,1)>ref(close,2) and open<ref(open,1) and close<ref(close,2) and close>ref(open,2) or ref(close,2)-ref(open,2)>0 and (abs(ref(close,2)-ref(open,2)))/(abs(ref(close,3)-ref(open,3)))>2.4 and abs(close-open)>3 and abs(ref(close,2)-ref(open,2))>abs(ref(close,1)-ref(open,1)) and ref(close,1)-ref(open,1)<0 and close-open<0 and ref(close,1)>ref(close,2) and close<ref(close,2) and close>ref(open,2) and open<ref(close,1),'\n* 夜星 -从看多平衡到看空 转弱 转空'),colorffffff;
explainicon(ref(close,2)-ref(open,2)>0 and (abs(ref(close,2)-ref(open,2)))/(abs(ref(close,3)-ref(open,3)))>2.4 and abs(close-open)>3 and abs(ref(close,2)-ref(open,2))>abs(ref(close,1)-ref(open,1)) and ref(close,1)-ref(open,1)>0 and close-open<0 and ref(open,1)>ref(close,2) and open<ref(open,1) and close<ref(close,2) and close>ref(open,2) or ref(close,2)-ref(open,2)>0 and (abs(ref(close,2)-ref(open,2)))/(abs(ref(close,3)-ref(open,3)))>2.4 and abs(close-open)>3 and abs(ref(close,2)-ref(open,2))>abs(ref(close,1)-ref(open,1)) and ref(close,1)-ref(open,1)<0 and close-open<0 and ref(close,1)>ref(close,2) and close<ref(close,2) and close>ref(open,2) and open<ref(close,1),'17'),align0;
explain(ref(close,1)-ref(open,1)>0 and (abs(ref(close,1)-ref(open,1)))/(abs(ref(close,2)-ref(open,2)))>2.4 and close-open<0 and close>ref(open,1) and ref(close,1)-open>2,'\n* 空头孕育线 --阳育阴 看空'),colorffffff;
explainicon(ref(close,1)-ref(open,1)>0 and (abs(ref(close,1)-ref(open,1)))/(abs(ref(close,2)-ref(open,2)))>2.4 and close-open<0 and close>ref(open,1) and ref(close,1)-open>2,'28'),align0;
explain(ref(close,1)-ref(open,1)<0 and close-open<0 and close>ref(close,1) and open<ref(open,1) and open-close<6,'\n* 空头孕育线 -阴育阴 看空'),colorffffff;
explainicon(ref(close,1)-ref(open,1)<0 and close-open<0 and close>ref(close,1) and open<ref(open,1) and open-close<6,'26'),align0;
explain(ref(close,1)<ref(open,1) and close-open>0 and close>ref(high,1) and open<ref(low,1) and ref(open,1)>ref(max(open,close),2) and ref(close,1)>ref(min(open,close),2) and ref(max(open,close),2)>ref(max(open,close),3),'\n* 双人殉情 在上升趋势中最后之空头吞噬 也就是所谓的不见长红不回头'),colorffffff;
explainicon(ref(close,1)<ref(open,1) and close-open>0 and close>ref(high,1) and open<ref(low,1) and ref(open,1)>ref(max(open,close),2) and ref(close,1)>ref(min(open,close),2) and ref(max(open,close),2)>ref(max(open,close),3),'37'),align0;
explain((ref(high,2)-ref(open,2))/ref(high,2)<=0.0003 and (close-low)/open<=0.0003 and ref(close,2)<ref(open,2) and ref(close,2)>ref(open,1) and ref(close,1)>open and ref(close,1)<ref(open,1) and ref(high,1)-ref(open,1)>0 and ref(low,1)-ref(close,1)<0 and high-open>0 and ref(close,2)-ref(low,2)>0 and close<open,'\n* 三胎鸦 -多头走势被扭转 黑k价愈深量愈大 跳空愈大 反转信号愈强'),colorffffff;
explainicon((ref(high,2)-ref(open,2))/ref(high,2)<=0.0003 and (close-low)/open<=0.0003 and ref(close,2)<ref(open,2) and ref(close,2)>ref(open,1) and ref(close,1)>open and ref(close,1)<ref(open,1) and ref(high,1)-ref(open,1)>0 and ref(low,1)-ref(close,1)<0 and high-open>0 and ref(close,2)-ref(low,2)>0 and close<open,'4'),align0;
explain(ref(close,1)-ref(open,1)<0 and close-open>0 and open-ref(close,1)<0 and close<ref(open,1) and close>ref(close,1) and close>(ref(close,1)+ref(open,1))/2,'\n* 贯穿线 -多头力道的反扑或是空单回补力道 长黑之后开低收在前天1/2之上 多头反转信号'),colorffffff;
explainicon(ref(close,1)-ref(open,1)<0 and close-open>0 and open-ref(close,1)<0 and close<ref(open,1) and close>ref(close,1) and close>(ref(close,1)+ref(open,1))/2,'25'),align0;
explain(close-open<0 and ref(close,1)-ref(open,1)<0 and close<ref(close,1) and open>ref(open,1),'\n* 最后吞噬 -在下降趋势中 为一黑一红组合 多头吞噬 在上升趋势中 为一红一黑组合 空头吞噬'),colorffffff;
explainicon(close-open<0 and ref(close,1)-ref(open,1)<0 and close<ref(close,1) and open>ref(open,1),'27'),align0;
explain(ref(close,1)-ref(open,1)>0 and close-open<0 and close<ref(open,1) and open>ref(close,1),'\n* 最后吞噬 -在下降趋势中 为一黑一红组合 多头吞噬 在上升趋势中 为一红一黑组合 空头吞噬'),colorffffff;
explainicon(ref(close,1)-ref(open,1)>0 and close-open<0 and close<ref(open,1) and open>ref(close,1),'27'),align0;
explain(ref(close,1)-ref(open,1)<0 and close-open>0 and close<ref(open,1) and open>ref(close,1),'\n* 多头孕育线 -阴育阳 多头反转可能'),colorffffff;
explainicon(ref(close,1)-ref(open,1)<0 and close-open>0 and close<ref(open,1) and open>ref(close,1),'11'),align0;
explain(ref(close,4)/ref(open,4)>1.02 and ref(close,3)<ref(open,3) and ref(close,2)<ref(open,2) and ref(close,1)<ref(open,1) and ref(close,4)<=ref(close,3) and ref(high,2)<ref(high,3) and ref(low,2)>=ref(open,4) and ref(high,1)<ref(close,4) and ref(low,1)>ref
(open,4) and close/open>1.01 and open>=ref(open,1) and close>=ref(high,3),'\n* 连续型态之执垫 -比上升三法更具多头意义'),colorffffff;
explainicon(ref(close,4)/ref(open,4)>1.02 and ref(close,3)<ref(open,3) and ref(close,2)<ref(open,2) and ref(close,1)<ref(open,1) and ref(close,4)<=ref(close,3) and ref(high,2)<ref(high,3) and ref(low,2)>=ref(open,4) and ref(high,1)<ref(close,4) and ref(low,1)>ref(open,4) and close/open>1.01 and open>=ref(open,1) and close>=ref(high,3),'22'),align0;
explain(ref(close,1)-ref(open,1)<0 and close-open>0 and close>ref(open,1) and open<ref(close,1),'\n* 多头阳线吞噬 -红包黑 反转趋势 配合量'),colorffffff;
explainicon(ref(close,1)-ref(open,1)<0 and close-open>0 and close>ref(open,1) and open<ref(close,1),'14'),align0;
explain(open<close and ref(close,2)-ref(open,2)<0 and ref(close,1)-ref(open,1)>0 and ref(close,1)<ref(open,2) and ref(open,1)>ref(close,2) and open>ref(open,2) and close>ref(close,1),'\n* 内困三日翻红 -一二母子 二量缩 三量增翻红'),colorffffff;
explainicon(open<close and ref(close,2)-ref(open,2)<0 and ref(close,1)-ref(open,1)>0 and ref(close,1)<ref(open,2) and ref(open,1)>ref(close,2) and open>ref(open,2) and close>ref(close,1),'8');
explain(ref(close,2)-ref(open,2)<0 and (abs(ref(close,2)-ref(open,2)))/(abs(ref(close,3)-ref(open,3)))>2.3 and abs(ref(close,2)-ref(open,2))>abs(ref(close,1)-ref(open,1)) and (abs(close-open))/(abs(ref(close,1)-ref(open,1)))>2 and abs((abs(close-open))/(abs(ref(close,2)-ref(open,2))))<2 and ref(close,1)-ref(open,1)<0 and close-open>0 and ref(open,1)<ref(close,2) and open>ref(open,1) and close<ref(open,2) and close>ref(close,2) or ref(close,2)-ref(open,2)<0 and (abs(ref(close,2)-ref(open,2)))/(abs(ref(close,3)-ref(open,3)))>2.3 and abs(ref(close,2)-ref(open,2))>abs(ref(close,1)-ref(open,1)) and (abs(close-open))/(abs(ref(close,1)-ref(open,1)))>2 and abs((abs(close-open))/(abs(ref(close,2)-ref(open,2))))<2 and ref(close,1)-ref(open,1)>0 and close-open>0 and ref(close,1)<ref(close,2) and close>ref(close,2) and close<ref(open,2) and open>ref(close,1),'\n* 晨星 -反多信号'),colorffffff;
explainicon(ref(close,2)-ref(open,2)<0 and (abs(ref(close,2)-ref(open,2)))/(abs(ref(close,3)-ref(open,3)))>2.3 and abs(ref(close,2)-ref(open,2))>abs(ref(close,1)-ref(open,1)) and (abs(close-open))/(abs(ref(close,1)-ref(open,1)))>2 and abs((abs(close-open))/(abs(ref(close,2)-ref(open,2))))<2 and ref(close,1)-ref(open,1)<0 and close-open>0 and ref(open,1)<ref(close,2) and open>ref(open,1) and close<ref(open,2) and close>ref(close,2) or ref(close,2)-ref(open,2)<0 and (abs(ref(close,2)-ref(open,2)))/(abs(ref(close,3)-ref(open,3)))>2.3 and abs(ref(close,2)-ref(open,2))>abs(ref(close,1)-ref(open,1)) and (abs(close-open))/(abs(ref(close,1)-ref(open,1)))>2 and abs((abs(close-open))/(abs(ref(close,2)-ref(open,2))))<2 and ref(close,1)-ref(open,1)>0 and close-open>0 and ref(close,1)<ref(close,2) and close>ref(close,2) and close<ref(open,2) and open>ref(close,1),'24'),align0;
explain(ref(close,2)-ref(open,2)<0 and (abs(ref(close,2)-ref(open,2)))/(abs(ref(close,3)-ref(open,3)))>2.7 and abs(ref(close,2)-ref(open,2))>abs(ref(close,1)-ref(open,1)) and (abs(close-open))/(abs(ref(close,1)-ref(open,1)))>2.5 and ref(close,1)-ref(open,1)<0 and close-open>0 and ref(open,1)<ref(close,2) and open>ref(open,1) and close<ref(open,2) and close>ref(close,2) or ref(close,2)-ref(open,2)<0 and (abs(ref(close,2)-ref(open,2)))/(abs(ref(close,3)-ref(open,3)))>2.7 and abs(ref(close,2)-ref(open,2))>abs(ref(close,1)-ref(open,1)) and (abs(close-open))/(abs(ref(close,1)-ref(open,1)))>2.5 and ref(close,1)-ref(open,1)>0 and close-open>0 and ref(close,1)<ref(close,2) and close>ref(close,2) and close<ref(open,2) and open>ref(close,1),'\n* 晨星 -反多信号'),colorffffff;
explainicon(ref(close,2)-ref(open,2)<0 and (abs(ref(close,2)-ref(open,2)))/(abs(ref(close,3)-ref(open,3)))>2.7 and abs(ref(close,2)-ref(open,2))>abs(ref(close,1)-ref(open,1)) and (abs(close-open))/(abs(ref(close,1)-ref(open,1)))>2.5 and ref(close,1)-ref(open,1)<0 and close-open>0 and ref(open,1)<ref(close,2) and open>ref(open,1) and close<ref(open,2) and close>ref(close,2) or ref(close,2)-ref(open,2)<0 and (abs(ref(close,2)-ref(open,2)))/(abs(ref(close,3)-ref(open,3)))>2.7 and abs(ref(close,2)-ref(open,2))>abs(ref(close,1)-ref(open,1)) and (abs(close-open))/(abs(ref(close,1)-ref(open,1)))>2.5 and ref(close,1)-ref(open,1)>0 and close-open>0 and ref(close,1)<ref(close,2) and close>ref(close,2) and close<ref(open,2) and open>ref(close,1),'24'),align0;
explain(ref(close,1)-ref(open,1)>0 and (abs(ref(close,1)-ref(open,1)))/(abs(ref(close,2)-ref(open,2)))>1.5 and close-open<0 and close>ref(open,1) and close<ref(close,1) and open>ref(close,1),'\n* 乌云罩顶 -上涨遇重大阻力 空头聚力 三日内见九死一生或跌落一红k低点 反转走空'),colorffffff;
explainicon(ref(close,1)-ref(open,1)>0 and (abs(ref(close,1)-ref(open,1)))/(abs(ref(close,2)-ref(open,2)))>1.5 and close-open<0 and close>ref(open,1) and close<ref(close,1) and open>ref(close,1),'乌云罩顶'),align0;
explain(open>close and open>ma(close,5) and open>ma(close,10) and open>ma(close,20) and close<ma(close,5) and close<ma(close,10) and close<ma(close,20) or open<close and open<ma(close,5) and open<ma(close,10) and open<ma(close,20) and close>ma(close,5) and close>ma(close,10) and close>ma(close,20),'\n* 断头铡刀(出水芙蓉) -一根大阴(阳)线切断了三根均线 如果改变了其后均线的排列为空头(多头)排列 后势看空(多)'),colorffffff;
explainicon(open>close and open>ma(close,5) and open>ma(close,10) and open>ma(close,20) and close<ma(close,5) and close<ma(close,10) and close<ma(close,20) or open<close and open<ma(close,5) and open<ma(close,10) and open<ma(close,20) and close>ma(close,5) and close>ma(close,10) and close>ma(close,20),'36'),align0;
explain(ref(open,1)/ref(close,1)>1.05 and ref(high,1)/ref(low,1)<ref(open,1)/ref(close,1)+0.018 and close>open and open<ref(low,1) and close=ref(low,1),'\n* 颈上线 -下降趋势 若第二天大量 维持原趋势可能大增'),colorffffff;
explainicon(ref(open,1)/ref(close,1)>1.05 and ref(high,1)/ref(low,1)<ref(open,1)/ref(close,1)+0.018 and close>open and open<ref(low,1) and close=ref(low,1),'33'),align0;
explain(ref(open,1)/ref(close,1)>1.05 and ref(high,1)/ref(low,1)<ref(open,1)/ref(close,1)+0.018 and close>open and open<ref(low,1) and close<ref(close,1)+(ref(open,1)-ref(close,1))*0.005 and close>ref(close,1)-(ref(open,1)-ref(close,1))*0.005,'\n* 颈内线 -下降趋势 比颈上线缓和 若第二天大量 维持原趋势可能大增'),colorffffff;
explainicon(ref(open,1)/ref(close,1)>1.05 and ref(high,1)/ref(low,1)<ref(open,1)/ref(close,1)+0.018 and close>open and open<ref(low,1) and close<ref(close,1)+(ref(open,1)-ref(close,1))*0.005 and close>ref(close,1)-(ref(open,1)-ref(close,1))*0.005,'34'),align0;
explain(ref(open,1)/ref(close,1)>1.05 and ref(high,1)/ref(low,1)<ref(open,1)/ref(close,1)+0.018 and close/open>1.05 and high/low<close/open+0.018 and open<ref(low,1) and close<ref(close,1)+(ref(open,1)-ref(close,1))*0.5 and close>ref(close,1),'\n* 戮入线 -代表下跌市场中的失败涨升 下降趋势持续'),colorffffff;
explainicon(ref(open,1)/ref(close,1)>1.05 and ref(high,1)/ref(low,1)<ref(open,1)/ref(close,1)+0.018 and close/open>1.05 and high/low<close/open+0.018 and open<ref(low,1) and close<ref(close,1)+(ref(open,1)-ref(close,1))*0.5 and close>ref(close,1),'32'),align0;
a0:=barscount(close);
a3:=sysparam(3);
a2:=sysparam(2);
a4:=sysparam(4);
a5:=sysparam(5);
nn0:=a3-a2;
nn:=a0-a2;
hh1:=(a4-a5)/10;
y0:=a0>=a2;
vv0:=if(y0=1 and sysparam(1)>=a0,vol,0);
hh:=sysparam(4);
ll:=sysparam(5);
x:=ll-(hh-ll+mindiff)/5;
y:=hhv(vol,sysparam(3)-sysparam(2)+1)*(1);
yvb:=y[sysparam(3)]/(ll-x+mindiff);
z:=vol/yvb+x;
var1:=vol/capital*100;
换手率:=var1;
var2:=var1>1;
var3:=var1<2;
var4:=var1>2;
var5:=var1<3;
var6:=var1>=3;
var7:=var1<5;
var8:=var1>=5;
var9:=var1<8;
var10:=var1>=8;
var11:=var1<15;
var12:=var1>=15;
var13:=var1<25;
var14:=var1>=25;
地量:stickline(vol/capital*100<1,x,z,8,0),coloraa00;
stickline(vol/capital*100<1,x,z,6.6,0),colorbb00;
stickline(vol/capital*100<1,x,z,4.4,0),colorcc00;
stickline(vol/capital*100<1,x,z,3.3,0),colordd00;
stickline(vol/capital*100<1,x,z,2.2,0),coloree00;
stickline(vol/capital*100<1,x,z,1.1,0),colorff00;
低靡:stickline(var2 and var3,x,z,8,0),coloraa00bb;
stickline(var2 and var3,x,z,6.6,0),colorbb11bb;
stickline(var2 and var3,x,z,4.4,0),colorcc22bb;
stickline(var2 and var3,x,z,3.3,0),colordd33bb;
stickline(var2 and var3,x,z,2.2,0),coloree44bb;
stickline(var2 and var3,x,z,1.1,0),colorff55bb;
温和:stickline(var4 and var5,x,z,8,0),coloraa;
stickline(var4 and var5,x,z,6.6,0),colorbb;
stickline(var4 and var5,x,z,4.4,0),colorcc;
stickline(var4 and var5,x,z,3.3,0),colordd;
stickline(var4 and var5,x,z,2.2,0),coloree;
stickline(var4 and var5,x,z,1.1,0),colorff;
活跃:stickline(var6 and var7,x,z,8,0),colorffaa00;
stickline(var6 and var7,x,z,6.6,0),colorffbb00;
stickline(var6 and var7,x,z,4.4,0),colorffcc00;
stickline(var6 and var7,x,z,3.3,0),colorffdd00;
stickline(var6 and var7,x,z,2.2,0),colorffee00;
stickline(var6 and var7,x,z,1.1,0),colorffff00;
带量:stickline(var8 and var9,x,z,8,0),coloraaff;
stickline(var8 and var9,x,z,6.6,0),colorbbff;
stickline(var8 and var9,x,z,4.4,0),colorccff;
stickline(var8 and var9,x,z,3.3,0),colorddff;
stickline(var8 and var9,x,z,2.2,0),coloreeff;
stickline(var8 and var9,x,z,1.1,0),colorffff;
放量:stickline(var10 and var11,x,z,8,0),coloraaaacc;
stickline(var10 and var11,x,z,6.6,0),colorbbbbcc;
stickline(var10 and var11,x,z,4.4,0),colorcccccc;
stickline(var10 and var11,x,z,3.3,0),colorddddcc;
stickline(var10 and var11,x,z,2.2,0),coloreeeecc;
stickline(var10 and var11,x,z,1.1,0),colorffffcc;
巨量:stickline(var12 and var13,x,z,8,0),color66aa33;
stickline(var12 and var13,x,z,6.6,0),color66bb33;
stickline(var12 and var13,x,z,4.4,0),color66cc33;
stickline(var12 and var13,x,z,3.3,0),color66dd33;
stickline(var12 and var13,x,z,2.2,0),color66ee33;
stickline(var12 and var13,x,z,1.1,0),color66ff33;
怪异:stickline(var14,x,z,8,0),coloraa66ff;
stickline(var14,x,z,6.6,0),colorbb66ff;
stickline(var14,x,z,4.4,0),colorcc66ff;
stickline(var14,x,z,3.3,0),colordd66ff;
stickline(var14,x,z,2.2,0),coloree66ff;
stickline(var14,x,z,1.1,0),colorff66ff;
stickline(open>=close,open,close,8,0),coloraaaaaa;
stickline(open>=close,open,close,6,0),colorbbbbbb;
stickline(open>=close,open,close,4.4,0),colorcccccc;
stickline(open>=close,open,close,2.1,0),colordddddd;
stickline(close>open,open,close,8,0),color6666cc;
stickline(close>open,open,close,6,0),color7777dd;
stickline(close>open,open,close,4.4,0),color8888ee;
stickline(close>open,open,close,2.1,0),color9999ff;
stickline(close>open,open,low,0.5,0),color1199ff;
stickline(close>open,close,high,0.5,0),color1199ff;
stickline(open>=close,close,low,0.5,0),colorcccccc;
stickline(open>=close,open,high,0.5,0),colorcccccc;
上一指标公式:四龙探海---好的找底自用公式 飞狐四龙探海指标 源码
下一指标公式:唐伯虎点秋香公式 飞狐唐伯虎点秋香指标 源码
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文金叉公式 飞狐金叉指标 源码仅供学习研究。