好公式网用指标公式为投资注入科技力量!
您的位置:好公式网飞狐公式解盘合集-杨文亮公式 飞狐合集指标 源码

解盘合集-杨文亮公式 飞狐合集指标 源码

  • 指标公式类型:飞狐公式
  • 公式推荐星级:
  • 指标公式安全:已通过5款杀毒软件查杀,请放心下载!
  • 公式更新时间:2018-08-21 19:33:45
  • 指标公式标签:合集
  • 公式运行环境: WinXP/Win7/Win8/Win10/Win All
  • 指标公式语言:用简体中文编写

指标公式详细说明

好公式网(www.goodgongshi.com)告诉您:当前正要下载:解盘合集-杨文亮公式 飞狐合集指标 源码

if nn=2 then begin
a11:="1a0001$close";
a21:="399001$close";
a1:=if(close=a11,a21,a11);
a2:=ref(a1,1);
a3:=(a1-a2)/min(a1,a2)*100;
大盘涨幅:=sum(a3,10);
b2:=ref(close,1);
b3:=(close-b2)/min(close,b2)*100;
个股涨幅:=sum(b3,10);
xd:=个股涨幅-大盘涨幅;
快线:ema(xd,10),linethick1;
慢线:ema(快线,5),linethick1;
差值:(快线-慢线)*2,colorstick;
partline(快线>ref(快线,1),快线),linethick1,colorff00ff;
周期类型:=datatype;
explain(周期类型=6,'短期强弱解盘'),colorff00;
explain(周期类型=7,'中期强弱解盘'),colorff00;
explain(周期类型=8,'长期强弱解盘'),colorff00;
explain(周期类型<6,'分钟线解盘'),colorff00;
explain(ref(快线,1)>快线 and 差值>0,'关注可能转弱'),colorffff;
explain(ref(快线,1)<快线 and 慢线<0,'关注可能转强'),colorf0e1ff;
explain(cross(快线,慢线) and 快线<0,'金叉慎重买入,走势弱于大盘'),colorf0e1ff;
explain(快线>慢线 and 慢线<0,'已开始转强,持股,走势弱于大盘'),colorf0e1ff;
explain(cross(快线,慢线) and 慢线>0,'金叉大胆买入,走势强于大盘'),colorf0e1ff;
explain(快线>慢线 and 慢线>0,'强势,持股,走势强于大盘'),colorf0e1ff;
explain(cross(慢线,快线) and 慢线>0,'死叉慎重卖出,走势强于大盘'),colorffff;
explain(快线<慢线 and 慢线>0,'已开始转弱,空仓,走势强于大盘'),colorffff;
explain(cross(慢线,快线) and 快线<0,'死叉卖出,走势弱于大盘'),colorffff;
explain(快线<慢线 and 慢线<0,'弱势,空仓,走势弱于大盘'),colorffff;
早晨之星:=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 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;
多方炮:=ref(close,2)>ref(open,2) and ref(close,1)<ref(open,1) and close>open;
出水芙蓉:=(open<ema(close,20) or open<ema(close,40) or open<ema(close,60)) and close>max(ema(close,20),max(ema(close,40),ema(close,60))) and vol/ma(vol,30)>1.2 and close/ref(close,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(close,1)/ref(open,1)>=1.03 and open<ref(close,1) and open>ref(open,1) and close<ref(open,1);
explain(倾盆大雨,'k线形态分析:倾盆大雨,见顶信号;'),colorffff00;
explain(大阴烛,'k线形态分析:大阴烛,后市向淡,发生逆转;'),colorffff00;
explain(好友反攻,'k线形态分析:好友反攻,底部反转;'),colorff;
explain(跳空缺口,'k线形态分析:跳空缺口,注意向上还是向下跳空;'),colorffffff;
explain(光脚阴线,'k线形态分析:光脚阴线,下跌信号;'),colorffff00;
explain(光头阳线,'k线形态分析:光头阳线,后市看涨;'),colorff;
explain(三只乌鸦,'k线形态分析:三只乌鸦,可能见顶回落;'),colorffff00;
explain(分离,'k线形态分析:分离,注意看涨分离和看跌分离;'),colorffffff;
explain(长下影,'k线形态分析:长下影,持续下跌后出现,有可能止跌回升;在升势末期出现,须多加留意;'),colorff;
explain(长上影,'k线形态分析:长上影,表明行情上档压力沉重,升势受阻;'),colorffff00;
explain(下跌三部曲,'k线形态分析:下跌三部曲,下跌信号;'),colorff;
explain(上升三部曲,'k线形态分析:上升三部曲,上涨信号;'),colorffff00;
explain(早晨之星,'k线形态分析:早晨之星,见底回升;'),colorff;
explain(黄昏之星,'k线形态分析:黄昏之星,见顶回落;'),colorffff00;
explain(十字星,'k线形态分析:十字星,有转向意味,注意股价位置在顶部还是底部;'),colorffffff;
explain(长十字,'k线形态分析:长十字,注意在顶部还是底部;'),colorffffff;
explain(垂死十字,'k线形态分析:垂死十字,下跌信号;'),colorffff00;
explain(早晨十字星,'k线形态分析:早晨十字星,上涨信号,见底回升;'),colorff;
explain(黄昏十字星,'k线形态分析:黄昏十字星,下跌信号,见顶回落;'),colorffff00;
explain(射击之星,'k线形态分析:射击之星,可能见顶回落,可靠性低;'),colorffff00;
explain(倒转锤头,'k线形态分析:倒转锤头,可能见底回升;'),colorff;
explain(锤头,'k线形态分析:锤头,可能见底回升,如有量配合,信号强烈;'),colorff;
explain(吊颈,'k线形态分析:吊颈,上升行情中见顶回落,顶部出现,见顶信号;'),colorffff00;
explain(平顶,'k线形态分析:平顶,温和的反转;'),colorffff00;
explain(穿头破脚,'k线形态分析:穿头破脚,顶部出现,见顶回落信号;'),colorffff00;
explain(乌云盖顶,'k线形态分析:乌云盖顶,见顶回落信号;'),colorffff00;
explain(曙光初现,'k线形态分析:曙光初现,后市见底回升;'),colorff;
explain(身怀六甲,'k线形态分析:身怀六甲,出现在底部,是见底回升信号;出现在顶部,是见顶回落信号;'),colorff;
explain(十字胎,'k线形态分析:十字胎;'),colorff;
explain(平底,'k线形态分析:平底,温和的反转;'),colorff;
explain(大阳烛,'k线形态分析:大阳烛,,看涨;'),colorff;
explain(三个白武士,'k线形态分析:三个白武士,每日收盘价上移,表示可能见底回升;'),colorff;
explain(双飞乌鸦,'k线形态分析:双飞乌鸦,行情将见顶回落;'),colorffff00;
explain(孕育线,'k线形态分析:孕育线,注意股价位置;'),colorffffff;
explain(多方炮,'k线形态分析:多方炮,在底部出现有上涨以为,在中间出现有可能是上涨中继,顶部出现是复合见顶信号;'),colorff;
explain(出水芙蓉,'k线形态分析:出水芙蓉,见底回升;'),colorff;
换手%:=vol/capital*100;
explain(换手%<=1,'地量'),colorbbbbbb;
explain(换手%<=2 and 换手%>1,'低靡'),colorbbbbbb;
explain(换手%<=3 and 换手%>2,'温和'),colorbbbbbb;
explain(换手%<=5 and 换手%>3,'活跃'),colorbbbbbb;
explain(换手%<=8 and 换手%>5,'带量'),colorbbbbbb;
explain(换手%<=15 and 换手%>8,'放量'),colorbbbbbb;
explain(换手%<=25 and 换手%>15,'巨量'),colorbbbbbb;
end;
if nn=1 then begin
ma5:=ma(close,5);
ma10:=ma(close,10);
ma30:=ma(close,30);
ma60:=ma(close,60);
ma120:=ma(close,120);
ma250:=ma(close,250);
vk:=sqrt(vol/capital*100*5);
explain(ma5>ma10 and ma10>ma30 and ma5>ma30,'解:短期均线排列:多头'),colorffff;
explain(ma5<ma10 and ma10<ma30 and ma5<ma30,'解:短期均线排列:空头'),colorffff;
explain(ma30>ma60 and ma30>ma120 and ma60>ma120,'解:中期均线排列:多头'),colorffff;
explain(ma30<ma60 and ma30<ma120 and ma60<ma120,'解:中期均线排列:空头'),colorffff;
explain(ma60>ma120 and ma120>ma250 and ma60>ma250,'解:长期均线排列:多头'),colorffff;
explain(ma60<ma120 and ma120<ma250 and ma60<ma250,'解:长期均线排列:空头'),colorffff;
explain(cross(ma5,ma10),'解:短期均线5x10:金叉'),colorff;
explain(cross(ma10,ma5),'解:短期均线5x10:死叉');
explain(cross(close,ma120),'解:今日股价上穿半年线');
explain(cross(ma120,close),'解:今日股价跌破半年线');
explain(cross(close,ma250),'解:今日股价上穿一年线');
explain(cross(ma250,close),'解:今日股价跌破一年线');
explain(cross(close,ma60) and cross(close,ma120) and cross(close,ma250),'解:股价一阳上穿三线');
explain(ma30>ref(ma30,1),'解:30日均线趋势:向上');
explain(ma30>ref(ma30,1) and ma30<ref(ma30,1)*1.001,'解:30日均线趋势:走平');
explain(ma30<ref(ma30,1),'解:30日均线趋势:向下');
explain(ma5>ref(ma5,1)*1.015,'解:5日均线:强劲向上');
explain(ma5>ref(ma5,1) and ma5<ref(ma5,1)*1.005,'解:5日均线:方向不明');
explain(ma5<ref(ma5,1)*0.985,'解:5日均线:快速向下');
diff:=ema(close,5)-ema(close,20);
dea:=ema(diff,10);
macd:=2*(diff-dea);
jc:=cross(diff,dea);
sc:=cross(dea,diff);
dcjc:=jc and dea>0;
explain(jc and dea>0,'解:macd在0轴上金叉'),colorff;
explain(jc and dea<0,'解:macd在0轴下金叉');
explain(sc and dea>0,'解:macd在0轴上死叉');
explain(sc and dea<0,'解:macd在0轴下死叉');
explain(macd>0 and macd>ref(macd,1),'解:macd的红柱:增长');
explain(macd>0 and macd<ref(macd,1),'解:macd的红柱:缩短');
explain(macd<0 and abs(macd)>ref(abs(macd),1),'解:macd的绿柱:增长');
explain(macd<0 and abs(macd)<ref(abs(macd),1),'解:macd的绿柱:缩短');
explain(count(dcjc,20)=2 and jc and dea>0,'解:0轴上金叉次数:2'),color1;
explain(count(dcjc,20)=3 and jc and dea>0,'解:0轴上金叉次数:3');
explain(count(dcjc,20)=4 and jc and dea>0,'解:0轴上金叉次数:4');
日k:="kdj.k#day"(20,5,5);
日d:="kdj.d#day"(20,5,5);
周k:="kdj.k#week"(9,3,3);
周d:="kdj.d#week"(9,3,3);
月k:="kdj.k#month"(9,3,3);
月d:="kdj.d#month"(9,3,3);
explainex(周k>0,'解:周线k=',周k,2,0);
explain(周k<=20,'周线kdj的k值在低位');
explain(周k>=80,'周线kdj的k值在高位');
explain(周k>20 and 周k<50,'周线kdj的k值在中低');
explain(周k>50 and 周k<80,'周线kdj的k值在中高');
explain(日k<=20,'日线kdj的k值在低位');
explain(日k>=80,'日线kdj的k值在高位');
explain(日k>20 and 日k<50,'日线kdj的k值在中低');
explain(日k>50 and 日k<80,'日线kdj的k值在中高');
explain(cross(日k,日d),'解:日k与日d今日金叉'),colorff;
explain(cross(日d,日k),'解:日k与日d今日死叉');
explain(cross(周k,周d),'解:周k与周d今日金叉');
explain(cross(周d,周k),'解:周k与周d今日死叉');
fillrgn(月k>月d,月k,月d),color7aff;
fillrgn(月k<月d,月k,月d),color787603;
fillrgn(周k>周d,周k,周d),colorff00ff;
fillrgn(周k<周d,周k,周d),colorff9999;
fillrgn(日k>日d,日k,日d),colorff;
fillrgn(日k<日d,日k,日d),colorff00;
end;
if nn=3 then begin
diff:=ema(close,12)-ema(close,26);
dea:=ema(diff,9);
macd:2*(diff-dea),colorstick;
mac:=diff>ref(diff,1);
dif:2*diff;
var1:=ema(close,34)-ema(close,5);
var2:=ema(var1,5);
趋势:=(-3)*(var1-var2);
趋势,colorff;
长期趋势:ema(var1,10)*(-1);
jm:=cross(diff,dea)*0.2;
jmcount:=count(jm=0.2,barslast(dea>0));
drawtext(dea<0 and jm=0.2,jm,'0轴下第'),colorff00;
drawnumber(dea<0 and jm=0.2,0,jmcount,0),colorffff;
drawtext(dea<0 and jm=0.2,0,' 次金叉'),colorffff;
rsv:=(close-llv(low,9))/(hhv(high,9)-llv(low,9))*100;
k:=sma(rsv,3,1);
d:=sma(k,3,1);
j:=3*k-2*d;
drawtext(cross(k,d) and count(vol>ref(vol,1),30)>3 and vol/capital<=10/100 and k<=20 and d<=20,0.4,'短线kd金叉'),colorffff;
drawtext(cross(k,d) and count(vol>ref(vol,1),30)>3 and vol/capital<=10/100 and barslast(cross(k,d) and count(vol>ref(vol,1),30)>3 and vol/capital<=10/100 and k<=20 and d<=20)>=1 and barslast(cross(k,d) and count(vol>ref(vol,1),30)>3 and vol/capital<=10/100 and k<=30 and d<=20)<=7,0.4,'短线kd二次金叉'),align2,pxup4,colorffff;
b:=cross(d,k) and k>60 and d>60;
b1:=count(b,barslast(d<60));
drawtext(b and b1=1,0.5,'短线kd死叉'),align2,pxup4,colorffffff;
drawtext(b and b1=2,0.7,'短线kd二次死叉'),align2,pxup4,colorffffff;
半年线:=ema(close,148);
年线:=ema(close,250);
explain(close>=半年线,'股价在半年线之上'),colorffff;
explain(close>=年线,'股价在年线之上 '),colorffff;
explain(close<半年线,'股价在半年线之下 '),colorffff00;
explain(close<年线,'股价在年线之下 '),colorffff00;
explain(半年线>=ref(半年线,1),'半年线趋势向上'),colorffff;
explain(年线>=ref(年线,1),'年线趋势向上 '),colorffff;
explain(半年线<ref(半年线,1),'半年线趋势向下 '),colorffff00;
explain(年线<ref(年线,1),'年线趋势向下 '),colorffff00;
股道卖出价预测:=close*2.5/100+close;
股道买入价预测:=close-close*2.5/100;
explainex(cost(50),'市场平均成本:',cost(50),2,0),colorffff;
explainex(cost(4),'主力平均成本:',cost(4),2,0),colorff;
explainex(cost(30),'控盘平均成本:',cost(30),2,0),colorff;
explainex(cost(75),'拉升平均成本:',cost(75),2,0),colorffff;
explainex(cost(95),'顶部平均成本:',cost(95),2,0),colorffff;
explainex(cost(0.05),'底部平均成本:',cost(0.05),2,0),colorffff;
explainex(股道卖出价预测,'股道卖出价预测:',股道卖出价预测,2,0),color99ff;
explainex(股道买入价预测,'股道买入价预测:',股道买入价预测,2,0),color99ff;
explainex(1,'获利盘比例=',winner(close)*100,2,0),colorff;
explainex(1,'套牢盘比例=',100-winner(close)*100,2,0),colorffff00;
多空1:=ma(vol/(high-low),4);
多空2:=abs(close-open);
多空3:=vol/(high-low);
explain(多空3<多空1 and 多空2<ma(多空2,4),'资金无入场意愿,萎缩中'),colorffff00;
explain(多空3<多空1 and 多空2>ma(多空2,4),'场内资金有运作行为'),colorffff;
explain(多空3>多空1 and 多空2<ma(多空2,4),'多空双方激烈争夺中'),colorffff;
explain(多空3>多空1 and 多空2>ma(多空2,4),'场外资金介入(或出局)意愿强烈'),color99ff;
tr1:=sum(max(max(high-low,abs(high-ref(close,1))),abs(low-ref(close,1))),14);
hd:=high-ref(high,1);
ld:=ref(low,1)-low;
dmp:=sum(if(hd>0 and hd>ld,hd,0),14);
dmm:=sum(if(ld>0 and ld>hd,ld,0),14);
pdi:=dmp*100/tr1;
mdi:=dmm*100/tr1;
adx:=ma((abs(mdi-pdi))/(mdi+pdi)*100,6);
adxr:=(adx+ref(adx,6))/2;
explain(cross(pdi,mdi),'pdi线从下向上突破mdi线,显示有新多头进场,为买进信号'),colorff00;
explain(cross(mdi,pdi),'pdi线从上向下跌破mdi线,显示有新空头进场,为卖出信号'),colorffff00;
explain(adx>ref(adx,1),'adx值持续高于前一日,行情将维持原趋势'),colorffff;
explain(adx<ref(adx,1) and adx<20,'adx值递减,降到20以下,且横向行进时,市场气氛为盘整'),color99ff;
explain(adx<ref(adx,1) and ref(adx,1)<ref(adx,2) and ref(adx,2)>ref(adx,3) and ref(adx,3)>ref(adx,4),'adx值从上升倾向转为下降时,表明行情即将反转'),colorffff;
typ:=(high+low+close)/3;
cci:=(typ-ma(typ,14))/(0.015*avedev(typ,14));
explain(cci<-180,'cci指标底位,买入机会'),colorff00;
explain(cci>180,'cci指标高位,卖出机会'),colorffff00;
explain(vol/capital>0.075,'换手过大,小心主力出逃,短期头部'),colorffff00;
wr:=-100*(hhv(high,14)-close)/(hhv(high,14)-llv(low,14));
explain(wr>-20,'w&r超买,短线即将见顶,应及时卖出'),colorffff00;
explain(wr<-80,'w&r超卖,短线即将见底,应伺机买进'),colorff00;
mtm:=close-ref(close,6);
mtmma:=ma(mtm,6);
explain(cross(mtm,mtmma) and mtmma<-0.8,'mtm从下向上突破mtmma,买入信号'),colorff00;
explain(cross(mtmma,mtm) and mtmma>0.8,'mtm从上向下跌破mtmma,卖出信号'),colorffff00;
lc:=ref(close,1);
rsi1:=(sma(max(close-lc,0),6,1))/(sma(abs(close-lc),6,1))*100;
rsi2:=(sma(max(close-lc,0),12,1))/(sma(abs(close-lc),12,1))*100;
explain(rsi1>85,'6日rsi超买,防止回挡'),colorffff00;
explain(rsi1>80,'6日rsi向上突破85,超买,考虑卖出'),colorffff00;
explain(rsi1<15,'6日rsi超卖,随时有可能反弹'),colorffff;
explain(rsi1<15,'6日rsi向下跌破15,超卖,考虑买入'),colorffff;
explain(cross(rsi1,15),'6日rsi向上突破15,买进信号'),colorff00;
explain(cross(rsi1,85),'6日rsi向下跌破85,卖出信号'),colorffff00;
psy:=(count(close>ref(close,1),12))/12*100;
布林1:=(ma(close,3)+ma(close,6)+ma(close,12)+ma(close,24))/4;
布林2:=布林1+3*std(布林1,10);
布林3:=布林1-3*std(布林1,10);
布林4:=(布林2-布林3)/布林2<0.03;
布林5:=(布林2-布林3)/布林2>0.18;
布林6:=(ma(close,60)-ma(close,5))/ma(close,60)>0.15;
布林7:=(ma(close,5)-ma(close,60))/ma(close,5)>0.15;
explain(布林4,'多空布林收敛中,有变盘的可能,上下自己分析'),colorffff;
explain(布林6 and 布林5 and close>open,'布林上下乖离太大,有反弹的可能'),colorff00;
explain(布林7 and 布林5 and close<open,'布林上下乖离太大,有回落的可能'),colorffff00;
end;
if nn=4 then begin
个股msd:ema(100*(close-llv(low,25))/(hhv(high,25)-llv(low,25)),18),linethick2,colorffff;
大盘msd:ema(100*(indexc-llv(indexl,25))/(hhv(indexh,25)-llv(indexl,25)),18),linethick2,colorff00;
强弱分水岭:50,pointdot;
天:80,circledot,colorff0000;
试庄线:20,circledot,colorff00;
0;
100;
q1:=个股msd<=20 and 大盘msd<=20;
q2:=个股msd>=20 and 大盘msd<=20 and range(个股msd,20,50) and 个股msd>ref(个股msd,2);
q3:=range(个股msd,50,80) and range(大盘msd,20,50) and 个股msd>=ref(个股msd,1) and 大盘msd>ref(大盘msd,1);
q4:=any(cross(个股msd,20),4) and 大盘msd>20 and 大盘msd>ref(大盘msd,1) and 大盘msd>个股msd;
q5:=range(大盘msd,80,100) and cross(个股msd,50) and 个股msd<80 and 个股msd>=ref(个股msd,2);
q6:=大盘msd<20 and cross(个股msd,50);
q7:=range(大盘msd,50,20) and 个股msd<=20 and 个股msd<ref(个股msd,2);
q8:=大盘msd<ref(大盘msd,2) and 个股msd<ref(个股msd,2) and 大盘msd<80 and 个股msd<80 and 大盘msd>50 and 个股msd>50;
q9:=大盘msd<ref(大盘msd,2) and 个股msd<ref(个股msd,2) and 大盘msd<50 and 个股msd<50 and 大盘msd>20 and 个股msd>20;
q10:=大盘msd<ref(大盘msd,2) and range(个股msd,20,50) and range(大盘msd,20,50) and 个股msd>ref(个股msd,1) and cross(个股msd,大盘msd);
q11:=range(个股msd,80,100) and range(大盘msd,80,100) and 大盘msd<=ref(大盘msd,2) and 个股msd<=ref(个股msd,1);
q12:=range(个股msd,50,80) and range(大盘msd,50,80) and 大盘msd<=ref(大盘msd,2) and 个股msd>=ref(个股msd,1) and cross(个股msd,大盘msd);
q13:=range(个股msd,80,100) and range(大盘msd,80,100) and 大盘msd>=ref(大盘msd,1) and 个股msd>=ref(个股msd,1);
q14:=range(个股msd,50,80) and range(大盘msd,50,80) and 大盘msd>=ref(大盘msd,1) and 个股msd>=ref(个股msd,1);
q15:=range(个股msd,50,80) and range(大盘msd,80,100) and 个股msd>=ref(个股msd,1);
q16:=range(个股msd,80,100) and range(大盘msd,50,80) and 个股msd>=ref(个股msd,1) and 大盘msd<=ref(大盘msd,1);
q17:=range(个股msd,80,100) and range(大盘msd,50,80) and 个股msd<=ref(个股msd,1) and 大盘msd<=ref(大盘msd,1);
q18:=range(个股msd,20,50) and range(大盘msd,0,20) and 个股msd<=ref(个股msd,1) and 大盘msd<=ref(大盘msd,1);
q19:=range(个股msd,20,50) and range(大盘msd,0,20) and 个股msd<=ref(个股msd,1) and 大盘msd<=ref(大盘msd,1) and ref(大盘msd,1)>20 and ref(大盘msd,2)>20 and ref(大盘msd,3)<20;
q20:=range(个股msd,0,20) and range(大盘msd,20,50) and 大盘msd>=ref(大盘msd,1);
q21:=any(cross(个股msd,20),3) and 大盘msd>20 and 大盘msd>ref(大盘msd,1) and 个股msd>大盘msd;
q22:=range(个股msd,50,80) and range(大盘msd,20,50) and 个股msd>ref(个股msd,1) and ref(个股msd,1)<ref(个股msd,2);
天顶:stickline(个股msd>80 and 大盘msd>80,80,75,10,0),circledot,colorff;
地底:stickline(个股msd<20 and 大盘msd<20,22,15,10,0),circledot,colorff;
explain(q1,'<>指数与个股的msd同时处于20以下的低位,表明个股与大盘同步下跌,表明大盘与个股处于历史低位,密切关注对20试庄线的突破<>'),colorffff;
explain(q2,'<>指数msd处于低位,个股msd脱离低位区并突破20,表明有庄先行介入,择机买入<>'),colorff;
explain(q3,'<>大盘反弹,个股已经突破分水岭,进入强势<>'),colorff;
explain(q4,'<>条件4:个股随大盘一起启动,赶快行动,切勿错过时机<>'),colorffff;
explain(q5,'<>后来者居上,个股主升浪开始,买入<>'),colorffff;
explain(q6,'<>个股逆市上涨,突破分水岭,择机介入,机者成交量,均线和k线的配合<>'),colorff00;
explain(q7,'<>个股逆市下跌,关注对于20试庄线的突破<>'),colorff;
explain(q8,'<>个股随同大盘顺势下跌,个股行情结束,下跌刚刚开始.<>'),colorffff;
explain(q9,'<>个股顺势继续下跌,个股行情仍没有见底迹象<>'),colorffff;
explain(q10,'<>大盘下跌而个股上涨选择买入时机<>'),colorffff;
explain(q11,'<>大盘与个股皆处强势拉升的未期,有可能转势,择机卖出<>'),colorff00;
explain(q12,'<>大盘从高位下跌,而个股逆市上涨,有拉高出货的嫌疑,仔细分析,择机出局<>'),colorff00;
explain(q13,'<>大盘与个股皆处强势拉升中期<>'),colorff00;
explain(q14,'<>大盘与个股皆处强势拉升的初级阶段<>'),colorff00;
explain(q15,'<>大盘处于超强势,个股拉渐渐进入强势<>'),colorff00;
explain(q16,'<>大盘处于拉升未期,刚开始下跌,个股反而逆市上涨,寻找介入和出货点<>'),colorff00;
explain(q17,'<>大盘处于拉升未期,刚开始下跌,个股也处拉升的未期,注意见顶<>'),colorff00;
explain(q18,'<>大盘处于下跌未期,可能是最后一跌,个股可能还有一跌,现在不是介入时机,等待介入时机<>'),colorff00;
explain(q19,'<>大盘刚突破底部又开始下跌,,寻找介入时机<>'),colorff00;
explain(q20,'<>大盘刚突破底部,,个股仍处于底部,寻找介入时机<>'),colorff00;
explain(q21,'<>个股率先起动,大盘后起动,有可能是领涨股龙头<>'),colorff00;
explain(q22,'<>个股洗盘结束,再次起动,有可能是领涨股龙头<>'),colorff00;
rsv:=(close-llv(low,36))/(hhv(high,36)-llv(low,36))*100;
k:=sma(rsv,3,1);
d:=sma(k,3,1);
j:=3*k-2*d;
w1:=ma(vol,5)>ma(vol,34);
w2:="kdj.k#week"(9,3,3);
w3:=ma(vol,5)<ma(vol,10);
y1:=close>ma(close,5) and close>ma(close,10) and open<ma(close,5) and open<ma(close,10);
y2:=close<ma(close,5) and close<ma(close,10) and open>ma(close,5) and open>ma(close,10);
海底火山:=y1 and w1 and cross(k,d) and k<=20 and w2<25;
天险绝壁:=y2 and w3 and 大盘msd<80 and 个股msd>80;
drawtext(海底火山,80,'海底火山'),colorff00;
drawtext(天险绝壁,70,'天'),colorffff;
drawtext(天险绝壁,60,'险'),colorffff;
drawtext(天险绝壁,50,'绝'),colorffff;
drawtext(天险绝壁,40,'壁'),colorffff;
drawtext(q4,78,'紫'),colorff00ff;
drawtext(q4,66,'气'),colorff00ff;
drawtext(q4,54,'东'),colorff00ff;
drawtext(q4,42,'来'),colorff00ff;
drawtext(q12,65,'黄色警告'),colorffff;
drawtext(q12,75,'★'),colorffff;
drawicon(q8,75,5);
a1:if(q5,85,50),colorff00ff;
a2:if(q6,50,20),colorff;
end;
if nn=5 then begin
yhm:=1;
ma5:=ma(close,5)*yhm;
ma25:=ma(close,25)*yhm;
ma55:=ma(close,55)*yhm;
ma250:=ma(close,250)*yhm;
ma3:=ma(close,3)*yhm;
ma10:=ma(close,10)*yhm;
ma120:=ma(close,120)*yhm;
aajj:=ma(close,250)*yhm;
bbjj:=hhv(aajj,10)/llv(aajj,10)<1.01 and close>ma(close,250) and close<ma(close,250)*1.2;
jytj:=close<ma55 and ma55<ma250 and ma5<ma55 and close>ma25;
jytj1:=close>ma55 and close<ma250 and ma55<ma250 and ma5>ma55;
jytj2:=close>ma55 and close<ma250 and ma55<ma250 and ma5>ma55 and cross(ma3,ma5);
jytj3:=close>ma55 and close>ma250 and ma55<ma250 and ma5>ma250 and ma5>ma55 and ma250<ref(ma250,10);
jytj4:=close>ma55 and close>ma250 and ma55>ma250 and ma5>ma250 and ma5>ma55 and ma250>ref(ma250,10);
jytj5:=close>ma55 and close>ma250 and ma55>ma250 and ma5>ma250 and ma5>ma55 and ma250>ref(ma250,10) and ma3>ma5 and ma3>ref(ma3,1);
jytj6:=close>ma55 and close>ma250 and ma55>ma250 and ma5>ma250 and ma5>ma55 and ma250>ref(ma250,10) and ma3<ref(ma3,5) and ma3>ma10;
jytj7:=close>ma5 and ma5>ma10 and ma10>ma25 and ma25>ma55 and close>ma250 and ma55<ma250;
jytj8:=close<ma5 and close<ma10 and close<ma55 and ma55>ma250;
jytj9:=close>ma55 and close>ma250 and ma55>ma250 and ma5>ma250 and ma5>ma55 and ma250>ref(ma250,10) and ma3<ref(ma3,5) and close<ma5 and ma5<ma10;
jytj10:=close>ma55 and close>ma250 and ma55<ma250 and ma5>ma250 and ma5>ma55 and ma250<ref(ma250,10) and close<ma5 and close<ma10 and ma5<ma10;
jytj11:=close>ma55 and close<ma250 and ma55<ma250 and ma5>ma55 and close<ma5;
jytj12:=close>ma55 and close<ma250 and ma55<ma250 and ma5>ma55 and close<ma5 and cross(ma25,ma55);
jytj13:=close>ma55 and close<ma250 and ma55<ma250 and ma5>ma55 and ma25<ma55;
jytj14:=close>ma55 and close<ma250 and ma55<ma250 and ma5>ma55 and close<ma5 and ma25>ma55 and barslast(cross(ma25,ma55))<5;
jytj15:=close>ma250 and ma3>ref(ma3,1) and bbjj;
jytj16:=close<ma250 and close<ma55 and ma55<ma250 and close>ma25 and ma5>ma25 and ma10>ma25 and ma25<ma55;
jytj17:=close<ma250 and close<ma55 and ma55<ma250 and close>ma25 and ma5>ma25 and ma10>ma25 and ma25<ma55 and close<ma25*1.02;
jytj18:=close>ma5 and close>ma10 and close>ma55 and barslast(cross(ma(close,1),ma55))<2;
jytj19:=ref(close,1)>ma55 and ref(close,1)<ma250 and ma55<ma250 and ma5>ma55 and ref(close,1)<ma5 and ma25>ma55 and barslast(cross(ma25,ma55))<5 and (close<ref(low,1) or close<(ref(close,1)+ref(open,1))/2);
jytj20:=ref(close,1)>ma55 and ref(close,1)<ma250 and ma55<ma250 and ma5>ma55 and ref(close,1)<ma5 and ma25>ma55 and barslast(cross(ma25,ma55))<5 and (close>ref(high,1) or close>(ref(close,1)+ref(open,1))/2);
jytj21:=ref(close,1)>ma55 and ref(close,1)<ma250 and ma55<ma250 and ma5>ma55 and close<ma55 and close<open;
jytj22:=close<ma55 and ma55<ma250 and ma5<ma55 and ma5<ma25;
jytj23:=close<ma5 and close<ma10 and close<ma25 and close<ma55 and close<ma250 and close<ma120;
jytj24:=close<ma25 and close<ma55 and close>ma120;
explain(jytj23 and sysparam(1)=barpos and islastbar,'【●等待空间,耐心等待方向选择●】'),align0,colorffff;
explain(jytj22 and sysparam(1)=barpos and islastbar,'●四度极弱空间,耐心等待超跌放量机会●'),align0,colorff00;
explain(jytj and sysparam(1)=barpos and islastbar,'●三度空间●'),align0,colorf1b96a;
explain(jytj1 and sysparam(1)=barpos and islastbar,'【二度空间】波段走强过渡空间,密切注意后续变化'),align0,colorffff;
explain(jytj2 and sysparam(1)=barpos and islastbar,'【二度空间波段攻击状态】进入了短线攻击状态,量能是否超前量是强弱的关键'),align0,colorffff;
explain(jytj3 and sysparam(1)=barpos and islastbar,'【次一度空间可能回踩】波段走强的特征,一般需要短线回落整理,55日线为波段核心支撑'),align0,colorff00;
explain(jytj4 and sysparam(1)=barpos and islastbar,'☆一度空间☆波段走强的强势区间,注意上升以来的幅度,如果较大,会出现阶段性回落,如果刚起步,已经进入中线牛股行列'),align0,colorffff;
explain(jytj5 and sysparam(1)=barpos and islastbar,'☆☆一度空间拉升☆'),align0,colorff;
explain(jytj6 and sysparam(1)=barpos and islastbar,'☆一度空间休整☆注意55线的跟进速度'),align0,colorffef40;
explain(jytj7 and sysparam(1)=barpos and islastbar,'【一度空间进入注意回踩】回踩位置在55日线'),align0,colorff00;
explain(jytj8 and sysparam(1)=barpos and islastbar,'●无为空间●'),align0,colorffef40;
explain(jytj9 and sysparam(1)=barpos and islastbar,'●一度空间弱化●短线攻击消失,正在短线回落,注意形态何时转入攻击位置才可短线介入'),align0,colorffef40;
explain(jytj10 and sysparam(1)=barpos and islastbar,'【一度空间正在回踩】55线为核心支撑,量能萎缩到55线处要关注'),align0,colorffef40;
explain(jytj11 and sysparam(1)=barpos and islastbar,'【二度空间正在回踩】'),align0,colorff00;
explain(jytj12 and sysparam(1)=barpos and islastbar,'【二度空间回踩可能结束】'),align0,colorff;
explain(jytj13 and sysparam(1)=barpos and islastbar,'【首次进入二度空间后期有回踩】'),align0,colorff;
explain(jytj14 and sysparam(1)=barpos and islastbar,'【二度空间回踩结束临界点】'),align0,colord2c681;
explain(jytj15 and sysparam(1)=barpos and islastbar,'【进入一度空间,观察250线的角度】'),align0,colord2c681;
explain(jytj16 and sysparam(1)=barpos and islastbar,'【强三度空间】反弹走强的过渡区间,密切注意何时突破上方压力,不突破要一定耐心等待,突破后要注意一定会回落整理,支撑为突破点'),align0,colord2c681;
explain(jytj17 and sysparam(1)=barpos and islastbar,'【强三度空间转向临界点】'),align0,colorff;
explain(jytj18 and sysparam(1)=barpos and islastbar,'【进入二度空间】首次进入,注意攻击能量的变化和5日线的攻击角度'),align0,colord279fb;
explain(jytj19 and sysparam(1)=barpos and islastbar,'【进入三度空间,小心破位急跌】'),align0,colorff;
explain(jytj20 and sysparam(1)=barpos and islastbar,'【完成二度空间回踩,放量试探跟进】'),align0,colorff;
explain(jytj21 and sysparam(1)=barpos and islastbar,'【跌回三度空间,小心阴跌,减仓】'),align0,colorffff;
explain(jytj24 and sysparam(1)=barpos and islastbar,'【下方有支撑,上方有压力,一般为波段主力的洗盘特征,等待再次走强的时机。】'),align0,colorffff;
stickline(close>=open,0,sum((close-open)/(high-low)*amount,24),8,0),colorff;
stickline(close<open,0,sum((close-open)/(high-low)*amount,24),8,0),colorffff;
end;


解盘合集-杨文亮

  >>>使用本站搜索工具可以找到更多解盘合集-杨文亮公式 飞狐合集指标 源码

指标公式下载地址

点这下载软件
好公式网提供全网最全的指标公式软件,感谢您的支持!鼠标双击图片可看大图!
下载请点击右侧“立即下载”,如只有源码,请点击本页面右侧的导入方法按图导入!
本站指标基于网友分享,仅供研究自学,勿作他用,本站对下载使用不承担任何责任!

指标公式下载注意

    ☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!

    ☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。

    ☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;

    ☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;

    ☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;

    ☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;

    ☉ hxf格式指标公式,仅可以用同花顺软件引入使用。

    ☉ 如果您发现下载软件链接错误,请联系管理员报告错误。

    ☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!

    ☉ 本文解盘合集-杨文亮公式 飞狐合集指标 源码仅供学习研究。

猜你喜欢

学了又学