联系方式 Contact

云指标公式网

淘宝:zb-mart.taobao.com

电话:18020657357

微信:18020657357

Q Q:396950280

点击这里给我发消息

网址:www.yzhibiao.com

搜索 Search
你的位置:首页 > 公式动态 > 飞狐公式

自用主图

2015-11-2 12:35:09点击:

 {自用主图}

DRAWGBK(CLOSE>0,colorRGB(95,95,95),colorRGB(0,0,0),1);
DRAWGBK((CLOSE > 0),COLORRGB(0,130,100),COLORRGB(0,0,30),1);
系统成本:=COST(50);
起步成本:=COST(10);
当日换手:=((VOL / CAPITAL) * 100);
十日换手:=SUM(当日换手,10);
百日换手:=SUM(当日换手,100);
 
LC:=REF(CLOSE,1); 
RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
跑了不悔:if(CROSS(84,RSI),HIGH*1.02,high+1),PRECISION2,linethick0,COLORWHITE;
high+1,pointdot,linethick7,COLOR886600;
 
KS:=(1-C/SMA(C,13,1))*100;
牛线a:=EMA(C,13);
牛线:FORCAST(牛线a,13),colorred,PRECISION2,linethick2;
熊线a:=EMA(KS*C/100+牛线,3);
熊线:FORCAST(熊线a,3),colorblue,PRECISION2,linethick2;
PARTLINE(牛线>REF(牛线,1),牛线),COLORGREEN,linethick2;PARTLINE(牛线<=REF(牛线,1),牛线),COLORRED;
上拐:牛线>REF(牛线,1) and count(REF(牛线,1)<REF(牛线,2),4)=4,linethick,COLORGREEN;
DRAWTEXT(上拐,牛线*0.95,'上\n拐'),COLORGREEN,SHIFT1;
DRAWICON(上拐,牛线*0.95,12);
关注:cross(牛线,熊线),linethick,COLORYELLOW;
DRAWTEXT(关注,牛线*1.00,'关\n注'),COLORYELLOW,SHIFT1;
DRAWICON(关注,牛线*1.00,10);
 
启动线:=(SUM(EMA((C+L)/2,2)/2.98,3)),COLORYELLOW;
强弱线:=EMA(启动线,21);
启动:FILTER(cross(启动线,牛线),5) AND count(REF(牛线,1)<REF(牛线,2),4)=4,LINETHICK,COLORRED;
DRAWICON(启动,牛线,8),align5;
 
{-----------------------☆功能开关------------------------}
{K线}
aa1:=wma(c,2);
bb1:=ema(aa1,2);
a0:=ma(bb1,3);
aa2:=wma((h+c+o)/3,18);
dd3:=a0>=aa2 and c>aa2;
dd4:=a0<aa2 ;
dd5:=a0>aa2 ;
cc1:=((c-ref(ma(c,6),1))/6+ma(c,6))*1.004;
cc2:=cross(c,cc1) and cc1>ref(cc1,1);
{成本}
强弱分界:ema(cost(85),10),PRECISION2,LINEthick2,COLORyellow;
CB1:=EMA(COST(5),5);
CB2:=EMA(COST(13),5);
CB3:=EMA(COST(34),5);
CB4:=llv(CB1,34);
CB5:=llv(CB2,34);
CB6:=llv(CB3,34);
CB7:=EMA(C,5);
CB8:=llv(CB7,34);
 
{K线}
STICKLINE((dd4 or dd5) and o<=c ,h,l,0.5,0),Color00cc99;
STICKLINE((dd4 or dd5) and o<=c ,c,o,5{7},0),Color00cc99;
STICKLINE((dd4 or dd5) and o>=c ,h,l,0.5,0),Color3F8C3A;
STICKLINE((dd4 or dd5) and o>=c ,c,o,5{7},0),Color3F8C3A;
STICKLINE((dd3 or c>aa2) and o<=c,c,o,5{7},0),Colorred;
STICKLINE((dd3 or c>aa2) and o<=c,h,l,0.5,0),Colorred;
STICKLINE((dd3 or c>aa2) and o>=c,c,o,5{7},0),Colorff33ff;
STICKLINE((dd3 or c>aa2) and o>=c,h,l,0.5,0),Colorff33ff;
STICKLINE(cc2,h,l,0.5,0),colorwhite;
STICKLINE(cc2,o,c,7,0),colorwhite;
STICKLINE(MA(C,13)>O and C>MA(C,13) and O<c,O,C,8,0),coloryellow;
STICKLINE(MA(C,13)>O and C>MA(C,13),H,L,0.5,0),coloryellow;
 
{成本}
一关:=IF(CB1>CB4,CB1,CB4);
二关:=IF(CB2>CB5,CB2,CB5);
三关:=IF(CB3>CB6,CB3,CB6);
冲关:=IF(CB7>CB8,CB7,CB8);
p:=SYSPARAM(1);
DRAWTEXTEX(系统成本,1,1, 50,'系统成本  '+NUMTOSTR(系统成本[p],2)+' 元'),COLORWHITE;
DRAWTEXTEX(起步成本,1,1,150,'起步成本  '+NUMTOSTR(起步成本[p],2)+' 元'),COLORYELLOW;
DRAWTEXTEX(当日换手,1,1,250,'当日换手  '+NUMTOSTR(当日换手[p],2)+' %'),COLORMAGENTA;
DRAWTEXTEX(十日换手,1,1,350,'十日换手  '+NUMTOSTR(十日换手[p],2)+' %'),COLORGREEN;
DRAWTEXTEX(百日换手,1,1,450,'百日换手  '+NUMTOSTR(百日换手[p],2)+' %'),COLORWHITE;
DRAWTEXTEX(跑了不悔,1,200, 50,'跑了不悔  '+NUMTOSTR(跑了不悔[p],2)+' 元'),COLORWHITE;
DRAWTEXTEX(一关,1,200,150,'一关  '+NUMTOSTR(一关[p],2)+' 元'),COLORYELLOW;
DRAWTEXTEX(二关,1,200,250,'二关  '+NUMTOSTR(二关[p],2)+' 元'),COLORMAGENTA;
DRAWTEXTEX(三关,1,200,350,'三关  '+NUMTOSTR(三关[p],2)+' 元'),COLORGREEN;
DRAWTEXTEX(冲关,1,200,450,'冲关  '+NUMTOSTR(冲关[p],2)+' 元'),COLORWHITE;
{}