首页 > > 详细

定制开发金字塔策略公式、TB交易策略代做、提示K线主图指标公式指标公式

k线主图指标公式原理解析:
源码:

dat:=ISLASTBAR;
jia1:=100-100*(C-COST(1))/(COST(99)-COST(1));
jia2:=100*winner((2*c+h+l)/4);
jia:=jia2>=jia1;
DRAWNUMBER(dat=1,l*0.98,100*v/capital,2),coloryellow;
DRAWNUMBER(c>=ref(c,1) and dat,h*1.03,100*(c-ref(c,1))/ref(c,1),2),colorred;
DRAWNUMBER(c=o and jia=1,c,o,8,0),color0000ff;
STICKLINE(c>=o and jia=1,c,o,7,0),color0033ff;
STICKLINE(c>=o and jia=1,c,o,6,0),color0066ff;
STICKLINE(c>=o and jia=1,c,o,5,0),color0099ff;
STICKLINE(c>=o and jia=1,c,o,4,0),color00ccff;
STICKLINE(c>=o and jia=1,c,o,2,0),color00ffff;
STICKLINE(c>=o and jia=1,h,l,1,0),color00ffff;
STICKLINE(c
STICKLINE(c
STICKLINE(c
STICKLINE(c
STICKLINE(c
STICKLINE(c
STICKLINE(c
forcast(c,5);
forcast(c,10);
forcast(c,20);
dma(c,if(capital>0,v/capital,v/sum(v,120))),linethick1,colorffff00;
大盘涨跌:indexc-ref(indexc,1),linethick0,PRECISION2;
Var11:=winner(c);
Var21:=winner(o);
Var31:=winner(h);
Var41:=winner(l);
aa1:=1-ABS(sqrt((CLOSE-MA(CLOSE,15))/MA(CLOSE,5))),coloryelloow;
bb1:=winner(cost(100*aa1));
c11:=if(var11>=bb1,var11,bb1);
c21:=if(var21>=bb1,var21,bb1);
c31:=if(var31>=bb1,var31,bb1);
c41:=if(var41>=bb1,var41,bb1);
c1011:=max(c11,c21);
c1021:=max(c21,c31);
c1031:=max(c1011,c1021);
c2011:=min(c11,c21);
c2021:=min(c21,c41);
c2031:=min(c2011,c2021);
c3031:=BETWEEN(var11,1.0001,bb1) or BETWEEN(var21,1.0001,bb1) or BETWEEN(var31,1.0001,bb1) or BETWEEN(var41,1.0001,bb1);
STICKLINE(c3031=1,cost(100*c2031),cost(100*c1031),2,0),colorred;
Var1:=winner(c);
Var2:=winner(o);
Var3:=winner(h);
Var4:=winner(l);
aa:=1-ABS((CLOSE-MA(CLOSE,15))/MA(CLOSE,5)),coloryelloow;
bb:=winner(cost(100*aa));
c1:=if(var1>=bb,var1,bb);
c2:=if(var2>=bb,var2,bb);
c3:=if(var3>=bb,var3,bb);
c4:=if(var4>=bb,var4,bb);
c101:=max(c1,c2);
c102:=max(c2,c3);
c103:=max(c101,c102);
c201:=min(c1,c2);
c202:=min(c2,c4);
c203:=min(c201,c202);
c303:=BETWEEN(var1,1.0001,bb) or BETWEEN(var2,1.0001,bb) or BETWEEN(var3,1.0001,bb) or BETWEEN(var4,1.0001,bb);
STICKLINE(c303=1,cost(100*c203),cost(100*c103),3,0),colormagenta;
留意该价位:cost(100*aa),linethick0,PRECISION2,coloryellow;
%asymp;
:-100*(留意该价位-c)/c,,linethick0,PRECISION2,coloryellow;
STICKLINE(c303=1,1.001*cost(100*aa),0.999*cost(100*aa),14,0);
DRAWTEXT(c303=1 and dat=1 and c>=cost(100*aa),l,),colorred;
DRAWTEXT(c303=1 and dat=1 and c/(sum(c,6)-c)>ref(c/(sum(c,6)-c),1) and c>=cost(100*aa) ,l,),colorred;

联系我们 - QQ: 88652583
© 2014 www.93stock.com
代写选股公式网!
声明:警惕假冒分子冒充本站提供证券咨询服务,选股公式网为非证券咨询机构,本站不提供有关股评、投资分析报告、股市预测,证券咨询等服务。本站仅提供股票、期货、黄金、外汇的软件技术交流与分享。本站文章为互联网文章,其仅供参考,并不构成投资建议。