飞狐+通达信三分线,主图,源码
-
相关简介:飞狐+通达信三分线,主图,源码 短线关注白黄红线三线的交叉,波段关注变色线. 飞狐源码. 均价:=(2*C+(C+H+L+O)/4+O)/4; R:=(2*L+3*均价)/5; 操盘线:(5*r+4*REF(r,1)+3*REF(r,2)+2*REF(r,3)+1*REF(r,4))/(5+4+3+2+1),COLORWHITE; DKX:(20*r+19*REF(r,1)+18*REF(r,2)+17*REF(r,3)+16*REF(r,4)+15*REF(r,5) +14*REF(r,6)+
-
文章来源:股海网作者:股海网发布时间:2012-08-24浏览次数:
飞狐+通达信三分线,主图,源码
短线关注白黄红线三线的交叉,波段关注变色线.
飞狐源码.
均价:=(2*C+(C+H+L+O)/4+O)/4;
R:=(2*L+3*均价)/5;
操盘线:(5*r+4*REF(r,1)+3*REF(r,2)+2*REF(r,3)+1*REF(r,4))/(5+4+3+2+1),COLORWHITE;
DKX:(20*r+19*REF(r,1)+18*REF(r,2)+17*REF(r,3)+16*REF(r,4)+15*REF(r,5)
+14*REF(r,6)+13*REF(r,7)+12*REF(r,8)+11*REF(r,9)+10*REF(r,10)+9*REF(r,11)
+8*REF(r,12)+7*REF(r,13)+6*REF(r,14)+5*REF(r,15)+4*REF(r,16)+3*REF(r,17)
+2*REF(r,18)+REF(r,20))/210,COLORRED;
三分线:(3*操盘线+2*DKX)/5,COLORYELLOW;
LXX:(3.618*DKX+1.382*MA(DKX,60))/5,COLORAAAA00,LINETHICK2;
PARTLINE(R>LXX,LXX),COLORFFC0FF,LINETHICK2;
通达信源码.
均价:=(2*C+(C+H+L+O)/4+O)/4;
R:=(2*L+3*均价)/5;
操盘线:(5*r+4*REF(r,1)+3*REF(r,2)+2*REF(r,3)+1*REF(r,4))/(5+4+3+2+1),COLORWHITE;
DKX:(20*r+19*REF(r,1)+18*REF(r,2)+17*REF(r,3)+16*REF(r,4)+15*REF(r,5)
+14*REF(r,6)+13*REF(r,7)+12*REF(r,8)+11*REF(r,9)+10*REF(r,10)+9*REF(r,11)
+8*REF(r,12)+7*REF(r,13)+6*REF(r,14)+5*REF(r,15)+4*REF(r,16)+3*REF(r,17)
+2*REF(r,18)+REF(r,20))/210,COLORRED;
三分线:(3*操盘线+2*DKX)/5,COLORYELLOW;
LXX:(3.618*DKX+1.382*MA(DKX,60))/5,COLORAAAA00,LINETHICK2;
IF(R>LXX,LXX,DRAWNULL),COLORFFC0FF,LINETHICK2;