给大家一个参考 。
牛股发现:利用CYC改的指标。
cyc5、cyc13、cyc34分别代表5日、13日、34日的市场平均建仓成本,包含了成交量价关系的成本均线不容易造成虚假信号或骗线,有效性优于异动平均线,当短期成本均线站在长期成本均线之上时叫多头排列反之就叫空头排列。短期成本均线上穿长期均线叫金叉,短期成本均线下穿长期成本均线叫死叉,均线的多头排列是牛市的标志,空头排列是熊市的标志。
CYC指标分5日、13日、34日及∞(无穷)四条线,前三条线为市场交易中大盘或某只个股最近该日内买入股票者的平均建仓成本,∞线是大盘或某只个股所有持筹者的平均建仓成本。
注明:当出现'建仓完毕'提示,也不能太信,基金被套住的也不少...
"牛股发现"
源码:
VF:=55;
VV:=60;
cyc5:CYC(5);
cyc13:cyc(13);
cyc34:cyc(34);
cyc0:MAXCYC,colorff9900,linethick3 ;
a1:=(HHV(HIGH ,VF)- LLV(LOW,VF))/ LLV(LOW,VF);
DRAWTEXT(REF(a1,1)<0.25 and a1>=0.25 and cyc5>cyc13 and cyc13>cyc34 ,LOW*0.98,'建仓完毕'),coloryellow ,LINETHICK4 ;
DRAWTEXT(((REF(CLOSE,1)-cyc0)/cyc0)*100<VV and((CLOSE-cyc0)/cyc0)*100>VV ,LOW*0.95,'小心出货'),colorwhite,LINETHICK4 ;
DRAWTEXT(REF(cyc5/cyc0,1)<1.1 and cyc5/cyc0>1.1 ,cyc0*1.05,'小牛'),colorred,LINETHICK4 ;
DRAWTEXT(REF(cyc5/cyc0,1)<1.2 and cyc5/cyc0>1.2 ,cyc0*1.05,'大牛'),colorred,LINETHICK4 ;
DRAWTEXT(REF(cyc5/cyc0,1)<1.4 and cyc5/cyc0>1.4 ,cyc0*1.05,'超牛'),colorred,LINETHICK4 ;
{公式在线网提供:}
再送一个副图指标源码,
"红绿★买卖"
LL:=26;
S:=12;
M:=9;
DIFF :=( EMA(CLOSE,S) - EMA(CLOSE,LL))*100;
DEA :=EMA(DIFF,M);
MACD :=2*(DIFF-DEA);
绿柱消失买入:IF(DIFF<0,DIFF,0),STICK,LINETHICK7,COLOR00FF00;0,STICK,LINETHICK7,COLOR000000;
红柱消失卖出:IF(DIFF>=0,DIFF,0),STICK,LINETHICK7,COLORRED;0,STICK,LINETHICK7,COLOR000000;
IF(DEA>=0,DEA,0),STICK,LINETHICK7,COLORBLUE;0,STICK,LINETHICK7,COLOR000000;
IF(DEA<0,DEA,0),STICK,LINETHICK7,COLORYELLOW;0,STICK,LINETHICK7,COLOR000000;
排序:if(diff<=0 and dea<=diff and ref(diff,1)<ref(dea,1),10,0), COLORWHITE,STICK;
卖出:=IF(diff>=0 and dea>=diff and ref(diff,1)>ref(dea,1),-20,0){colorred};
IF(diff>=0 and dea>=diff and ref(diff,1)>ref(dea,1),-30,0),STICK,LINETHICK2,colorred;0,STICK,LINETHICK2,colorred;
买入:=IF(diff<=0 and dea<=diff and ref(diff,1)<ref(dea,1),0,20);{STICK,LINETHICK4,colorgreen;}
IF(diff<=0 and dea<=diff and ref(diff,1)<ref(dea,1),30,0),STICK,LINETHICK4,color00ff00;0,STICK,LINETHICK2,color00FF00;