联系方式 Contact

云指标公式网

淘宝:zb-mart.taobao.com

电话:18020657357

微信:18020657357

Q Q:396950280

点击这里给我发消息

网址:www.yzhibiao.com

搜索 Search

同花顺宝塔线指标公式

2014-10-11 21:47:49点击:

            


B1:=CLOSE[1];
B2:=CLOSE[2];
SS:=IF(CLOSE>CLOSE[1] AND CLOSE[1]>=CLOSE[2],1,IF(CLOSE<CLOSE[1] AND CLOSE[1]<=CLOSE[2],-1,IF(CLOSE>CLOSE[2] AND CLOSE[2] >CLOSE[1],2,IF(CLOSE<CLOSE[2] AND CLOSE[2]<CLOSE[1],-2,0))));
SM:=IF(CLOSE[SS]<>0,CLOSE[SS],IF(CLOSE[SS-1]<>0,CLOSE[SS-1],IF(CLOSE[SS-2]<>0,CLOSE[SS-2],IF(CLOSE[SS-3]<>0,CLOSE[SS-3],IF (CLOSE[SS-4]<>0,CLOSE[SS-4],IF(CLOSE[SS-5]<>0,CLOSE[SS-4],0))))));
TOW1:=IF(CLOSE>CLOSE[1], CLOSE,CLOSE[1]),POINTDOT,colorwhite;
tow2:=IF((SS=-1 OR SS=-2) AND SM>0, B2,TOW1),POINTDOT,colorwhite;
TOWER:IF(tow1>tow2, tow1,TOW2),POINTDOT,colorgray;
STICKLINE(CLOSE>=REF(C,1),CLOSE,REF(C,1),9,1),colorred;
STICKLINE(CLOSE<REF(C,1),CLOSE,REF(C,1),9,0),colorgreen;
STICKLINE(REF(C,1)>=REF(C,2) AND CLOSE<REF(C,1),REF(C,1),MAX(REF(C,2),CLOSE),9,1),colorred;
STICKLINE(REF(C,1)<REF(C,2) AND CLOSE>=REF(C,1),REF(C,1),MIN(REF(C,2),CLOSE),9,0),colorgreen;


代理编写(对转)通达信 飞狐 同花顺 大智慧 文华财经 博易大师 依天财经等软件指标!