论坛全局菜单下方 - exness285X70 - 韬客社区论坛全局菜单下方 - 荔枝返现285X70 - 韬客社区论坛全局菜单下方 - ThinkMarkets285X70 - 韬客社区论坛全局菜单下方 - TICKMILL 285X70 - 韬客社区
查看:840回复:0
草龙韬客社区韬客社区
注册时间2004-12-17
[MT4指标]Begashole指标
韬客社区
楼主发表于:2014-01-29 19:39只看该作者倒序浏览
1楼 电梯直达
电梯直达
Begashole主图指标 mt4指标类型:趋势指标 是否能用在mt4手机版上:否 是否含有未来函数:无 //+------------------------------------------------------------------+ //| Begashole.mq4 | //| Copyright(c) 2010 Masaru Sasaki | //| youtarou.blogzine.jp | //+------------------------------------------------------------------+ // // 乽柶愑帠崁乿 // *偙偺僾儘僌儔儉偵婎偯偔峴堊偺寢壥敪惗偟偨忈奞丄懝幐側偳偵偮偄偰 // 挊嶌幰偼堦愗偺愑擟傪晧偄傑偣傫丅 // // 乽愢柧乿 // *儀僈僗曽幃偺儀僈僗僩儞僱儖傪僠儍乕僩忋偵昞帵偡傞 // 僀儞僕働乕僞乕偱偡丅 // // 嶲峫彂愋丗FX儊僞僩儗乕僟乕擖栧 (PanRolling) // FX儊僞僩儗乕僟乕幚慔僾儘僌儔儈儞僌 (PanRolling) // #property copyright "Copyright(c) 2010 Masaru Sasaki" #property link "youtarou.blogzine.jp" #property indicator_chart_window #property indicator_buffers 2 #property indicator_color1 Cyan #property indicator_color2 Cyan #property indicator_width1 1 #property indicator_width2 1 // 巜昗僶僢僼傽 double BufBegasHole1; double BufBegasHole2; // 儀僈僗儂乕儖偺堏摦暯嬒抣 extern int HOLE1_EMA_period = 144; extern int HOLE2_EMA_period = 169; //+------------------------------------------------------------------+ //| Custom indicator initialization function | //+------------------------------------------------------------------+ int init() { // 巜昗僶僢僼傽偺妱傝摉偰 SetIndexBuffer(0, BufBegasHole1); SetIndexBuffer(1, BufBegasHole2); // 巜昗僗僞僀儖偺愝掕 SetIndexStyle(0, DRAW_HISTOGRAM,STYLE_DOT); SetIndexStyle(1, DRAW_HISTOGRAM,STYLE_DOT); return(0); } //+------------------------------------------------------------------+ //| Custom indicator deinitialization function | //+------------------------------------------------------------------+ int deinit() { return(0); } //+------------------------------------------------------------------+ //| Custom indicator iteration function | //+------------------------------------------------------------------+ int start() { int counted_bars=IndicatorCounted(); int limit = Bars-counted_bars; for(int i=limit-1; i>=0; i-- ) { BufBegasHole1 = iMA(NULL, 0, HOLE1_EMA_period, 0, MODE_EMA, PRICE_CLOSE, i); BufBegasHole2 = iMA(NULL, 0, HOLE2_EMA_period, 0, MODE_EMA, PRICE_CLOSE, i); } return(0); } //+------------------------------------------------------------------+Begashole.jpgBegashole.jpg
TK29帖子1楼右侧xm竖版广告90-240
个性签名

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

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