论坛全局菜单下方 - exness285X70 - 韬客社区论坛全局菜单下方 - 荔枝返现285X70 - 韬客社区论坛全局菜单下方 - ThinkMarkets285X70 - 韬客社区论坛全局菜单下方 - TICKMILL 285X70 - 韬客社区
查看:986回复:0
草龙韬客社区韬客社区
注册时间2004-12-17
[MT4指标]Dynamic Zone RSI指标
韬客社区
楼主发表于:2014-03-11 17:20只看该作者倒序浏览
1楼 电梯直达
电梯直达
附图指标, mt4指标类型:震荡指标 是否能用在mt4手机版上:否 是否含有未来函数:无 //+------------------------------------------------------------------+ //| Dynamic Zone RSI.mq4 | //| Copyright ? 2005, Pavel Kulko. | //| [email protected] | //+------------------------------------------------------------------+ #property copyright "Copyright ? 2005, Pavel Kulko" #property link "[email protected]" #property indicator_buffers 3 #property indicator_color1 Lime #property indicator_color2 SlateBlue #property indicator_color3 Orange #property indicator_separate_window extern int RSIPeriod = 5; extern int BandPeriod = 30; double RSIBuf,UpZone,DnZone; //+------------------------------------------------------------------+ //| Custom indicator initialization function | //+------------------------------------------------------------------+ int init() { //---- indicators SetIndexStyle(0,DRAW_LINE); SetIndexStyle(1,DRAW_LINE); SetIndexStyle(2,DRAW_LINE); SetIndexBuffer(0,RSIBuf); SetIndexBuffer(1,UpZone); SetIndexBuffer(2,DnZone); //---- return(0); } //+------------------------------------------------------------------+ //| Custor indicator deinitialization function | //+------------------------------------------------------------------+ int deinit() { //---- //---- return(0); } //+------------------------------------------------------------------+ //| Custom indicator iteration function | //+------------------------------------------------------------------+ int start() { double MA, RSI; ArrayResize(RSI,BandPeriod); int counted_bars=IndicatorCounted(); int limit = Bars-counted_bars-1; for(int i=limit; i>=0; i--) { RSIBuf = iRSI(NULL,0,RSIPeriod,MODE_CLOSE,i); MA = 0; for(int j=i; jDynamic%20Zone%20RSI(01SEP05).jpg
TK29帖子1楼右侧xm竖版广告90-240
个性签名

阅尽天下指标
搬砖开始,始于2014

广告
TK30+TK31帖子一樓廣告
TK30+TK31帖子一樓廣告
版权所有:韬客外汇论坛 www.talkfx.com 联络我们:[email protected]