联系方式 Contact

云指标公式网

淘宝:zb-mart.taobao.com

电话:18020657357

微信:18020657357

Q Q:396950280

点击这里给我发消息

网址:www.yzhibiao.com

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

MA-大多头

2015-9-22 20:17:07点击:

TJ1:=BACKSET(ISLASTBAR,LLVBARS(LOW,N)+1);

TJ2:=COUNT(TJ1,0);
ZZ1:=TJ2=1 OR TJ2=3 OR TJ2=5 OR TJ2=8 OR TJ2=13 OR TJ2=21 OR TJ2=34 OR TJ2=55 OR TJ2=89 OR TJ2=144 OR TJ2=233 OR TJ2=377 OR TJ2=610 OR TJ2=987 OR TJ2=1597 OR TJ2=2584;
VERTLINE(ZZ1),POINTDOT,LINETHICK0,colorFFFF00;
DRAWNUMBER(ZZ1,HIGH*1.02,TJ2,0),ALIGN4,colorFFFF00;
TJ3:=BACKSET(ISLASTBAR,LLVBARS(LOW,0)+1);
TJ4:=COUNT(TJ3,0);
ZZ2:=TJ4=1 OR TJ4=3 OR TJ4=5 OR TJ4=8 OR TJ4=13 OR TJ4=21 OR TJ4=34 OR TJ4=55 OR TJ4=89 OR TJ4=144 OR TJ4=233 OR TJ4=377 OR TJ4=610 OR TJ4=987 OR TJ4=1597 OR TJ4=2584;
VERTLINE(ZZ2),POINTDOT,LINETHICK2,colorFFFF00;
DRAWNUMBER(ZZ2,HIGH*1.02,TJ4,0),ALIGN5,colorFFFF00;
M21:MA(CLOSE,21);
M233:MA(CLOSE,233);
PARTLINE((COUNT(M233>REF(M233,1),21))>11 AND CLOSE>M21*0.95 AND (COUNT(M21>M233,21))>5,M233),LINETHICK2,colorFF;
上1:(REF(MA(CLOSE,1)*1.02,8)+REF(MA(CLOSE,1)*1.02,13)+REF(MA(CLOSE,1)*1.02,21)+REF(MA(CLOSE,1)*1.02,34)+REF(MA(CLOSE,1)*1.02,55)+REF(MA(CLOSE,1)*1.02,89)+REF(MA(CLOSE,1)*1.02,144)+REF(MA(CLOSE,1)*1.02,233))/8,LINETHICK2;