设为首页加入收藏

微信关注
官方微信号:71712643
加关注获取每日精选资讯
股票入门欢迎您加入
广告服务联系我们网站地图

飞狐rsi带未来的周顶底指标公式源码   飞狐指标公式大全

2015-9-1 16:36:32 股票入门 http://rumen.southmoney.com

飞狐rsi带未来的周顶底指标公式源码   飞狐指标公式大全

WRAP: break-word; WHITE-SPACE: normal; LETTER-SPACING: normal; COLOR: rgb(51,51,51); WORD-SPACING: 0px; PADDING-TOP: 0px; -webkit-text-stroke-width: 0px">RSI带未来的周顶底

LC := REF(CLOSE,1);
RSI1:SMA(MAX(CLOSE-LC,0),5,1)/SMA(ABS(CLOSE-LC),5,1)*100,linethick2,colorwhite;
RSI2:=SMA(MAX(CLOSE-LC,0),15,1)/SMA(ABS(CLOSE-LC),15,1)*100;
RSI3:=SMA(MAX(CLOSE-LC,0),25,1)/SMA(ABS(CLOSE-LC),25,1)*100;

入点10: if(ZIG(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)<REF(ZIG(3,10),2),20,0),linethick1,colorgreen;
卖点10: if(ZIG(3,10)<REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)>REF(ZIG(3,10),2),85,100),linethick1,colorred;

入点15:if(ZIG(3,15)>REF(ZIG(3,15),1) AND REF(ZIG(3,15),1)<REF(ZIG(3,15),2),30,0),linethick2,colorffb9cc;
卖点15:if(ZIG(3,15)<REF(ZIG(3,15),1) AND REF(ZIG(3,15),1)>REF(ZIG(3,15),2),75,100),linethick2,coloryellow;

FZ:=PEAK(3,5,1);
FW:=PEAKBARS(3,5,1);
GZ:=TROUGH(3,5,1);
GW:=TROUGHBARS(3,5,1);
DRAWSL(Fw=0,RSI1,0,15,3),colorred,linethick2;
DRAWSL(GW=0,RSI1,0,15,3),color336699,linethick2;
fzh:=HHV(RSI1,25);
zh:=LLV(RSI1,25);
stickline(fzh and Fw=0,RSI1-5,RSI1+8,3,0),colorred;
stickline(zh and GW=0,RSI1-10,RSI1+8,3,0),color336699;
drawtext(fzh and Fw=0,RSI1+10,'红线是RSI周顶'),colorred;
drawtext(zh and gw=0,RSI1-4,'棕线是RSI周底'),color336699;

      

  更多飞狐指标公式相关资讯请关注南方财富网

股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。