论坛全局菜单下方 - TICKMILL 285X70论坛全局菜单下方 - ThinkMarkets285X70论坛全局菜单下方 - 荔枝返现285X70论坛全局菜单下方 -  icmarkets285X70
查看:1265回复:2
草龙
注册时间2004-12-17
[MT4指标]BillWilliams_ATZ指标
楼主发表于:2014-02-08 17:43只看该作者倒序浏览
1楼 电梯直达
电梯直达
主图指标上显示的 atz的趋势指标 mt4指标类型:趋势指标 是否能用在mt4手机版上:否 是否含有未来函数:无 说明:
[backcolor=rgb(235, 239, 249)]根据比尔·威廉姆斯贸易在区域方法和鳄鱼和MACD,该指示灯会引发视觉和冗长的买入/卖出信号。 [/backcolor]
根据比尔·威廉姆斯买卖中的区域可以最大限度/双/三利时市场去自己的方式,即,当动力,加速度和价格确认您拥有强劲走势或加速期。
有了这些信息,你可以添加到位置aggresively。
然而,价格和动力是不够的,进入一个行业,而这也正是这一指标试图简化对你来说,通过消除虚假,排气或反潮流的信号。
请注意,这是一种反应指示器和信号被触发后的价格已经加速。
它可以被用来获得进入安全趋势或添加到仓aggresively。
[backcolor=rgb(245, 245, 245)]根据记录,它利用了以下内容: [/backcolor]
[backcolor=rgb(245, 245, 245)]鳄鱼来确定趋势 [/backcolor]
[backcolor=rgb(245, 245, 245)]交流和AO来确定贸易区[/backcolor]
//+------------------------------------------------------------------+ //| BillWilliams_ATZ.mq4 | //| Copyright ? Pointzero-indicator.com //+------------------------------------------------------------------+ #property copyright "Copyright ? Pointzero-indicator.com" #property link "http://www.pointzero-indicator.com" #property indicator_chart_window #property indicator_buffers 2 #property indicator_color1 Blue #property indicator_color2 Red #define OP_NOTHING 6 #define MACD_a 5 #define MACD_b 34 #define MACD_c 5 //------------------------------- // Input parameters: none //------------------------------- //------------------------------- // Buffers //------------------------------- double ExtMapBuffer1; double ExtMapBuffer2; //------------------------------- // Internal variables //------------------------------- int nShift; //+------------------------------------------------------------------+ //| Custom indicator initialization function | //+------------------------------------------------------------------+ int init() { // Buffers and style SetIndexStyle(0, DRAW_ARROW, 0, 1); SetIndexArrow(0, 233); SetIndexBuffer(0, ExtMapBuffer1); SetIndexStyle(1, DRAW_ARROW, 0, 1); SetIndexArrow(1, 234); SetIndexBuffer(1, ExtMapBuffer2); // Data window IndicatorShortName("Bill Williams ATZ"); SetIndexLabel(0, "Buy arrow"); SetIndexLabel(1, "Sell arrow"); Comment("Copyright ? http://www.pointzero-indicator.com"); // Chart offset calculation switch(Period()) { case 1: nShift = 1; break; case 5: nShift = 3; break; case 15: nShift = 5; break; case 30: nShift = 10; break; case 60: nShift = 15; break; case 240: nShift = 20; break; case 1440: nShift = 80; break; case 10080: nShift = 100; break; case 43200: nShift = 200; break; } return(0); } //+------------------------------------------------------------------+ //| Custor indicator deinitialization function | //+------------------------------------------------------------------+ int deinit() { //---- return(0); } //+------------------------------------------------------------------+ //| Custom indicator iteration function | //+------------------------------------------------------------------+ int start() { int limit; int counted_bars = IndicatorCounted(); // check for possible errors if(counted_bars < 0) return(-1); //last counted bar will be recounted if(counted_bars > 0) counted_bars--; limit = Bars - counted_bars; // Check the signal foreach bar for(int i = 0; i < limit; i++) { // Indicate the trend int ma_trend = OP_NOTHING; int a_trend = OP_NOTHING; // Bill williams zonetrade indicators to point detect early strenght int tz = tradezone(i); int tz1 = tradezone(i+1); // Open and close of the current candle to filter tz signals double CLOSE = iClose(Symbol(),0, i); double OPEN = iOpen(Symbol(),0, i); double HIGH = iHigh(Symbol(),0, i); double LOW = iLow(Symbol(),0, i); // Macd present and past double MACD_main = iMACD(NULL,0, MACD_a, MACD_b, MACD_c, PRICE_CLOSE, MODE_MAIN, i); double MACD_signal = iMACD(NULL,0, MACD_a, MACD_b, MACD_c, PRICE_CLOSE, MODE_SIGNAL, i); double MACD_main_last = iMACD(NULL,0, MACD_a, MACD_b, MACD_c, PRICE_CLOSE, MODE_MAIN, i+1); double MACD_signal_last = iMACD(NULL,0, MACD_a, MACD_b, MACD_c, PRICE_CLOSE, MODE_SIGNAL, i+1); // Alligator double a_jaw = iAlligator(Symbol(), 0, 13, 8, 8, 5, 5, 3, MODE_SMMA, PRICE_MEDIAN, MODE_GATORJAW, i); double a_teeth = iAlligator(Symbol(), 0, 13, 8, 8, 5, 5, 3, MODE_SMMA, PRICE_MEDIAN, MODE_GATORTEETH, i); double a_lips = iAlligator(Symbol(), 0, 13, 8, 8, 5, 5, 3, MODE_SMMA, PRICE_MEDIAN, MODE_GATORLIPS, i); // Calculate alligator trend if(a_lips > a_teeth && a_teeth > a_jaw) a_trend = OP_BUY; else if(a_lips < a_teeth && a_teeth < a_jaw) a_trend = OP_SELL; // Evaluate if going long or short is dangerous now bool long_dangerous = false; bool short_dangerous = false; if(CLOSE > a_lips && MACD_main < MACD_signal) long_dangerous = true; if(CLOSE < a_lips && MACD_main > MACD_signal) short_dangerous = true; // Long signal if((tz == OP_BUY && tz1 != OP_BUY && a_trend == OP_BUY && CLOSE > OPEN && long_dangerous == false)) { // Display only if signal is not repated ExtMapBuffer1 = Low - nShift*Point; // Throw Message //Print("[BILL WILLIAMS ATZ] Buy stop at "+ HIGH); } // Short signal if(tz == OP_SELL && tz1 != OP_SELL && a_trend == OP_SELL && CLOSE < OPEN && short_dangerous == false) { // Display only if signal is not repeated ExtMapBuffer2 = High + nShift*Point; // Throw Message //Print("[BILL WILLIAMS ATZ] Sell stop at "+ LOW); } } return(0); } /** * Returns bill williams trade zone for the candle received has parameter. * @param int shift * @return int */ int tradezone(int shift = 1) { // AC and AO for current and last candle double AC = iAC(Symbol(), 0, shift); double AC_last = iAC(Symbol(), 0, shift+1); double AO = iAO(Symbol(), 0, shift); double AO_last = iAO(Symbol(), 0, shift+1); // Returns action for this candle if(AO < AO_last && AC < AC_last) return(OP_SELL); if(AO > AO_last && AC > AC_last) return(OP_BUY); return(OP_NOTHING); } //+------------------------------------------------------------------+ BillWilliams_ATZ.jpgBillWilliams_ATZ.jpg
TK29帖子1楼右侧xm竖版广告90-240
个性签名

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

广告
TK30+TK31帖子一樓廣告
TK30+TK31帖子一樓廣告
紫竹青荷
注册时间2014-02-02
积极参与奖
发表于:2014-02-09 02:11只看该作者
2楼
看看看看看看看看。。。。
个性签名

韬客社区www.talkfx.co

广告
论坛谏言--外汇交易不应是你投资的全部,交易外汇也不应是你生活的全部
紫竹青荷
注册时间2014-02-02
积极参与奖
发表于:2014-02-09 02:11只看该作者
3楼
好指标。。。

本站免责声明:

1、本站所有广告及宣传信息均与韬客无关,如需投资请依法自行决定是否投资、斟酌资金安全及交易亏损风险;

2、韬客是独立的、仅为投资者提供交流的平台,网友发布信息不代表韬客的观点与意思表示,所有因网友发布的信息而造成的任何法律后果、风险与责任,均与韬客无关;

3、金融交易存在极高法律风险,未必适合所有投资者,请不要轻信任何高额投资收益的诱导而贸然投资;投资保证金交易导致的损失可能超过您投入的资金和预期。请您考虑自身的投资经验及风险承担能力,进行合法、理性投资;

4、所有投资者的交易帐户应仅限本人使用,不应交由第三方操作,对于任何接受第三方喊单、操盘、理财等操作的投资和交易,由此导致的任何风险、亏损及责任由投资者个人自行承担;

5、韬客不隶属于任何券商平台,亦不受任何第三方控制,韬客不邀约客户投资任何保证金交易,不接触亦不涉及投资者的任何资金及账户信息,不代理任何交易操盘行为,不向客户推荐任何券商平台,亦不存在其他任何推荐行为。投资者应自行选择券商平台,券商平台的任何行为均与韬客无关。投资者注册及使用韬客即表示其接受和认可上述声明,并自行承担法律风险。

版权所有:韬客外汇论坛 www.talkfx.com 联络我们:[email protected]