将“磁铁指标”中收盘价在“顶压”上做选股
将“磁铁指标”中收盘价在“顶压”上做选股
编写条件:
编写方法:
网友求助:
zz:=(hhv(h,3)+llv(l,3))/2;a:=if(c>zz,vol,0);b:=if(c<zz,vol,0);总0:=(a-b);
BBD:EMA(总0,3)/sum(vol,5)*100,LINETHICK;
STICKLINE(BBD>=0,0,BBD,8,0),COLOR000088;
STICKLINE(BBD>=0,0,BBD,5,0),COLOR0000AA;
STICKLINE(BBD>=0,0,BBD,3,0),COLOR0000CC;
STICKLINE(BBD>=0,0,BBD,1,0),COLOR0000FF;
STICKLINE(BBD<0,0,BBD,8,0),COLOR888800;
STICKLINE(BBD<0,0,BBD,5,0),COLORAAAA00;
STICKLINE(BBD<0,0,BBD,3,0),COLORCCCC00;
STICKLINE(BBD<0,0,BBD,1,0),COLORFFFF00;
XH1:=ref(bbd,1)<ref(bbd,2) and ref(bbd,1)<-10 and bbd>ref(bbd,1) and bbd>0;
XH2:=ref(bbd,1)>=ref(bbd,2) and ref(bbd,1)>8 and bbd<ref(bbd,1) and bbd<0;
DRAWICON(XH1,-25,4);DRAWICON(XH2,25,5);
DRAWTEXTEX(CLOSE,1,10,0,'证券代码: '+STKLABEL+' 证券名称: '+STKNAME+''),ColorFFBB00;
//
a:=if(c>zz,vol,0);
b:=if(c<zz,vol,0);
总0:=(a-b);
BBD:=EMA(总0,3)/sum(vol,5)*100;
XH1:ref(bbd,1)<ref(bbd,2) and ref(bbd,1)<-10 and bbd>ref(bbd,1) and bbd>0;
==========================================
zz:=(hhv(h,3)+llv(l,3))/2;
a:=if(c>zz,vol,0);
b:=if(c<zz,vol,0);
总0:=(a-b);
BBD:=EMA(总0,3)/sum(vol,5)*100;
XH2:ref(bbd,1)>=ref(bbd,2) and ref(bbd,1)>8 and bbd<ref(bbd,1) and bbd<0;
{股票资源馆:www.lixiangluntan.com专业和谐高端炒股软件--公式编写交流--加QQ751161480--}
【股票资源馆】让数据触手可得!专业和谐破解高端炒股软件!
是国内最好的股票软件、股票公式指标、股票书籍下载网站;提供最全面的股票知识、炒股教程、黑马股票、股票资讯、期货外汇等给大家在线参考学习。
买点公式改选股公式
买点公式改选股公式