公式网-网站导航


网站搜索:  

公式指标网 发表于2016/6/26 2:45:19

大智慧极品主图A主图源码

N:=21;

Var1:=(HIGH+LOW+OPEN+CLOSE)/4;
黄金线:EMA(3*Var1-2*SMA(Var1,2,1),13);
cj:=(3*c+l+o+h)/6;
多空线:(20*cj+19*ref(cj,1)+18*ref(cj,2)+17*ref(cj,3)+16*ref(cj,4)+15*ref(cj,5)+14*ref(cj,6)+13*ref(cj,7)+12*ref(cj,8)+11*ref(cj,9)+10*ref(cj,10)+9*ref(cj,11)+8*ref(cj,12)+7*ref(cj,13)+6*ref(cj,14)+5*ref(cj,15)+4*ref(cj,16)+3*ref(cj,17)+2*ref(cj,18)+ref(cj,20))/210;
亚当:=((HIGH + LOW + CLOSE)/3-MA((HIGH + LOW + CLOSE)/3,14))*100/(1.5*avedev((HIGH + LOW + CLOSE)/3,14));
夏娃:=ema(亚当,N);
x2:=亚当;
x3:=夏娃;
stickline(x2>=x3,low,high,0.1,0),colorred;
stickline(x2>=x3,close,open,4.5,0),color0000AA;
stickline(x2>=x3,close,open,3,0),color0000CC;
stickline(x2>=x3,close,open,2,0),color0000DD;
stickline(x2>=x3,close,open,1,0),color0000FF;
stickline(x2<x3,close,open,1,0),colorEEEE00;
stickline(x2<x3,close,open,2,0),colorDDDD00;
stickline(x2<x3,close,open,3,0),colorCCCC00;
stickline(x2<x3,close,open,4.5,0),colorAAAA00;
stickline(x2<x3,low,high,0.1,0),colorFFff00;
stickline(x2<x3 and c>=黄金线 and 黄金线>=多空线,open,close,3.5,0),coloryellow;
stickline(x2<x3 and c>=多空线 and c<黄金线,open,close,3.5,0),colorwhite;

大智慧极品主图A主图源码



网站搜索:  



Copyright © 2009-2010 gszb.com ™,All Rights Reserved. 
公式网-www.gszx.com.cn-股票指标公式网