论坛全局菜单下方 - TICKMILL 285X70论坛全局菜单下方 - ThinkMarkets285X70论坛全局菜单下方 - 荔枝返现285X70论坛全局菜单下方 -  icmarkets285X70
查看:1369回复:4
草龙
注册时间2004-12-17
[MT4指标]cci天使Angle指标
楼主发表于:2014-10-07 05:33只看该作者倒序浏览
1楼 电梯直达
电梯直达
附图指标,cci天使Angle指标 mt4指标类型:趋势指标 是否能用在mt4手机版上:否 是否含有未来函数:无 [backcolor=rgb(245, 245, 245)]你[/backcolor]
[backcolor=rgb(245, 245, 245)]可以使用[/backcolor]
[backcolor=rgb(245, 245, 245)]这个指标[/backcolor]
[backcolor=rgb(245, 245, 245)]时,[/backcolor]
[backcolor=rgb(245, 245, 245)]LSMA[/backcolor]
[backcolor=rgb(245, 245, 245)]角度[/backcolor]
[backcolor=rgb(245, 245, 245)]来衡量[/backcolor]
[backcolor=rgb(245, 245, 245)]|[/backcolor]
[backcolor=rgb(245, 245, 245)] [/backcolor]
[backcolor=rgb(245, 245, 245)]/[/backcolor]
[backcolor=rgb(245, 245, 245)]/[/backcolor]
[backcolor=rgb(245, 245, 245)]|[/backcolor]
[backcolor=rgb(245, 245, 245)]“[/backcolor]
[backcolor=rgb(245, 245, 245)]接近于零[/backcolor]
[backcolor=rgb(245, 245, 245)]”[/backcolor]
[backcolor=rgb(245, 245, 245)]。[/backcolor]
[backcolor=rgb(245, 245, 245)] [/backcolor]
[backcolor=rgb(245, 245, 245)]AngleTreshold[/backcolor]
[backcolor=rgb(245, 245, 245)]决定当[/backcolor]
[backcolor=rgb(245, 245, 245)]角度[/backcolor]
[backcolor=rgb(245, 245, 245)]为[/backcolor]
[backcolor=rgb(245, 245, 245)]|[/backcolor]
[backcolor=rgb(245, 245, 245)] [/backcolor]
[backcolor=rgb(245, 245, 245)]/[/backcolor]
[backcolor=rgb(245, 245, 245)]/[/backcolor]
[backcolor=rgb(245, 245, 245)]|[/backcolor]
[backcolor=rgb(245, 245, 245)] [/backcolor]
[backcolor=rgb(245, 245, 245)]LSMA[/backcolor]
[backcolor=rgb(245, 245, 245)]是“关于[/backcolor]
[backcolor=rgb(245, 245, 245)]零”[/backcolor]
[backcolor=rgb(245, 245, 245)]:[/backcolor]
[backcolor=rgb(245, 245, 245)]这是当[/backcolor]
[backcolor=rgb(245, 245, 245)]值[/backcolor]
[backcolor=rgb(245, 245, 245)]之间[/backcolor]
[backcolor=rgb(245, 245, 245)]|[/backcolor]
[backcolor=rgb(245, 245, 245)] [/backcolor]
[backcolor=rgb(245, 245, 245)]/[/backcolor]
[backcolor=rgb(245, 245, 245)]/[/backcolor]
[backcolor=rgb(245, 245, 245)]|[/backcolor]
[backcolor=rgb(245, 245, 245)][[/backcolor]
[backcolor=rgb(245, 245, 245)]-[/backcolor]
[backcolor=rgb(245, 245, 245)]AngleTreshold[/backcolor]
[backcolor=rgb(245, 245, 245)],[/backcolor]
[backcolor=rgb(245, 245, 245)]AngleTreshold[/backcolor]
[backcolor=rgb(245, 245, 245)]][/backcolor]
[backcolor=rgb(245, 245, 245)]([/backcolor]
[backcolor=rgb(245, 245, 245)]或当[/backcolor]
[backcolor=rgb(245, 245, 245)]直方图是[/backcolor]
[backcolor=rgb(245, 245, 245)]红色)[/backcolor]
[backcolor=rgb(245, 245, 245)]。[/backcolor]
[backcolor=rgb(245, 245, 245)] [/backcolor]
[backcolor=rgb(245, 245, 245)]|[/backcolor]
[backcolor=rgb(245, 245, 245)] [/backcolor]
[backcolor=rgb(245, 245, 245)]/[/backcolor]
[backcolor=rgb(245, 245, 245)]/[/backcolor]
[backcolor=rgb(245, 245, 245)]|[/backcolor]
[backcolor=rgb(245, 245, 245)] [/backcolor]
[backcolor=rgb(245, 245, 245)]LSMAPeriod[/backcolor]
[backcolor=rgb(245, 245, 245)]:[/backcolor]
[backcolor=rgb(245, 245, 245)]LSMA[/backcolor]
[backcolor=rgb(245, 245, 245)]期[/backcolor]
[backcolor=rgb(245, 245, 245)]|[/backcolor]
[backcolor=rgb(245, 245, 245)] [/backcolor]
[backcolor=rgb(245, 245, 245)]/[/backcolor]
[backcolor=rgb(245, 245, 245)]/[/backcolor]
[backcolor=rgb(245, 245, 245)]|[/backcolor]
[backcolor=rgb(245, 245, 245)] [/backcolor]
[backcolor=rgb(245, 245, 245)]AngleTreshold[/backcolor]
[backcolor=rgb(245, 245, 245)]:[/backcolor]
[backcolor=rgb(245, 245, 245)]角度值[/backcolor]
[backcolor=rgb(245, 245, 245)]是“关于[/backcolor]
[backcolor=rgb(245, 245, 245)]零”[/backcolor]
[backcolor=rgb(245, 245, 245)]时,它是[/backcolor]
[backcolor=rgb(245, 245, 245)]|[/backcolor]
[backcolor=rgb(245, 245, 245)] [/backcolor]
[backcolor=rgb(245, 245, 245)]/[/backcolor]
[backcolor=rgb(245, 245, 245)]/[/backcolor]
[backcolor=rgb(245, 245, 245)]|[/backcolor]
[backcolor=rgb(245, 245, 245)]的值之间[/backcolor]
[backcolor=rgb(245, 245, 245)][[/backcolor]
[backcolor=rgb(245, 245, 245)]-[/backcolor]
[backcolor=rgb(245, 245, 245)]AngleTreshold[/backcolor]
[backcolor=rgb(245, 245, 245)],[/backcolor]
[backcolor=rgb(245, 245, 245)]AngleTreshold[/backcolor]
[backcolor=rgb(245, 245, 245)]][/backcolor]
[backcolor=rgb(245, 245, 245)]。[/backcolor]
[backcolor=rgb(245, 245, 245)] [/backcolor]
[backcolor=rgb(245, 245, 245)]|[/backcolor]
[backcolor=rgb(245, 245, 245)] [/backcolor]
[backcolor=rgb(245, 245, 245)]/[/backcolor]
[backcolor=rgb(245, 245, 245)]/[/backcolor]
[backcolor=rgb(245, 245, 245)]|[/backcolor]
[backcolor=rgb(245, 245, 245)] [/backcolor]
[backcolor=rgb(245, 245, 245)]StartLSMAShift[/backcolor]
[backcolor=rgb(245, 245, 245)]:起点[/backcolor]
[backcolor=rgb(245, 245, 245)]计算[/backcolor]
[backcolor=rgb(245, 245, 245)]|[/backcolor]
[backcolor=rgb(245, 245, 245)] [/backcolor]
[backcolor=rgb(245, 245, 245)]/[/backcolor]
[backcolor=rgb(245, 245, 245)]/[/backcolor]
[backcolor=rgb(245, 245, 245)]|[/backcolor]
[backcolor=rgb(245, 245, 245)]角[/backcolor]
[backcolor=rgb(245, 245, 245)]。[/backcolor]
[backcolor=rgb(245, 245, 245)]这是一个[/backcolor]
[backcolor=rgb(245, 245, 245)]移值[/backcolor]
[backcolor=rgb(245, 245, 245)]到左边[/backcolor]
[backcolor=rgb(245, 245, 245)]的[/backcolor]
[backcolor=rgb(245, 245, 245)]|[/backcolor]
[backcolor=rgb(245, 245, 245)] [/backcolor]
[backcolor=rgb(245, 245, 245)]/[/backcolor]
[backcolor=rgb(245, 245, 245)]/[/backcolor]
[backcolor=rgb(245, 245, 245)]|[/backcolor]
[backcolor=rgb(245, 245, 245)]观察点[/backcolor]
[backcolor=rgb(245, 245, 245)]。[/backcolor]
[backcolor=rgb(245, 245, 245)]应该是[/backcolor]
[backcolor=rgb(245, 245, 245)]StartEMAShift[/backcolor]
[backcolor=rgb(245, 245, 245)]>[/backcolor]
[backcolor=rgb(245, 245, 245)] [/backcolor]
[backcolor=rgb(245, 245, 245)]EndEMAShift[/backcolor]
[backcolor=rgb(245, 245, 245)]。[/backcolor]
[backcolor=rgb(245, 245, 245)] [/backcolor]
[backcolor=rgb(245, 245, 245)]|[/backcolor]
[backcolor=rgb(245, 245, 245)] [/backcolor]
[backcolor=rgb(245, 245, 245)]/[/backcolor]
[backcolor=rgb(245, 245, 245)]/[/backcolor]
[backcolor=rgb(245, 245, 245)]|[/backcolor]
[backcolor=rgb(245, 245, 245)] [/backcolor]
[backcolor=rgb(245, 245, 245)]EndLSMAShift[/backcolor]
[backcolor=rgb(245, 245, 245)]:[/backcolor]
[backcolor=rgb(245, 245, 245)]结束点[/backcolor]
[backcolor=rgb(245, 245, 245)]来计算[/backcolor]
[backcolor=rgb(245, 245, 245)]|[/backcolor]
[backcolor=rgb(245, 245, 245)] [/backcolor]
[backcolor=rgb(245, 245, 245)]/[/backcolor]
[backcolor=rgb(245, 245, 245)]/[/backcolor]
[backcolor=rgb(245, 245, 245)]|[/backcolor]
[backcolor=rgb(245, 245, 245)]角[/backcolor]
[backcolor=rgb(245, 245, 245)]。[/backcolor]
[backcolor=rgb(245, 245, 245)]这是一个[/backcolor]
[backcolor=rgb(245, 245, 245)]移值[/backcolor]
[backcolor=rgb(245, 245, 245)]到左边[/backcolor]
[backcolor=rgb(245, 245, 245)]的[/backcolor]
[backcolor=rgb(245, 245, 245)]|[/backcolor]
[backcolor=rgb(245, 245, 245)] [/backcolor]
[backcolor=rgb(245, 245, 245)]/[/backcolor]
[backcolor=rgb(245, 245, 245)]/[/backcolor]
[backcolor=rgb(245, 245, 245)]|[/backcolor]
[backcolor=rgb(245, 245, 245)]观察点[/backcolor]
[backcolor=rgb(245, 245, 245)]。[/backcolor]
[backcolor=rgb(245, 245, 245)]应该是[/backcolor]
[backcolor=rgb(245, 245, 245)]StartEMAShift[/backcolor]
[backcolor=rgb(245, 245, 245)]>[/backcolor]
[backcolor=rgb(245, 245, 245)] [/backcolor]
[backcolor=rgb(245, 245, 245)]EndEMAShift[/backcolor]
[backcolor=rgb(245, 245, 245)]。[/backcolor]
//+------------------------------------------------------------------+ //| CCI_Angle.mq4 | //| MrPip | //| | //| You can use this indicator to measure when the LSMA angle is | //| \"near zero\". AngleTreshold determines when the angle for the | //| LSMA is \"about zero\": This is when the value is between | //| [-AngleTreshold, AngleTreshold] (or when the histogram is red). | //| LSMAPeriod: LSMA period | //| AngleTreshold: The angle value is \"about zero\" when it is | //| between the values [-AngleTreshold, AngleTreshold]. | //| StartLSMAShift: The starting point to calculate the | //| angle. This is a shift value to the left from the | //| observation point. Should be StartEMAShift > EndEMAShift. | //| EndLSMAShift: The ending point to calculate the | //| angle. This is a shift value to the left from the | //| observation point. Should be StartEMAShift > EndEMAShift. | //| | //| Modified by MrPip from EMAAngle by jpkfox | | //| Red for down | //| Yellow for near zero | //| Green for up | //| | //| Modified to do CCI Angle | //+------------------------------------------------------------------+ #property copyright \"Robert L. Hill aka MrPip\" //---- indicator settings #property indicator_separate_window #property indicator_buffers 3 #property indicator_color1 LimeGreen #property indicator_color2 Yellow #property indicator_color3 FireBrick //---- indicator parameters extern int CCIPeriod=14; extern double AngleTreshold=15.0; extern int PrevShift=4; extern int CurShift=0; //---- indicator buffers double UpBuffer; double DownBuffer; double ZeroBuffer; //+------------------------------------------------------------------+ //| Custom indicator initialization function | //+------------------------------------------------------------------+ int init() { //---- 2 additional buffers are used for counting. IndicatorBuffers(3); //---- drawing settings SetIndexStyle(0,DRAW_HISTOGRAM,STYLE_SOLID,2); SetIndexStyle(1,DRAW_HISTOGRAM,STYLE_SOLID,2); SetIndexStyle(2,DRAW_HISTOGRAM,STYLE_SOLID,2); IndicatorDigits(MarketInfo(Symbol(),MODE_DIGITS)+2); //---- 3 indicator buffers mapping if(!SetIndexBuffer(0,UpBuffer) && !SetIndexBuffer(1,DownBuffer) && !SetIndexBuffer(2,ZeroBuffer)) Print(\"cannot set indicator buffers!\"); //---- name for DataWindow and indicator subwindow label IndicatorShortName(\"CCI_Angle(\"+CCIPeriod+\",\"+AngleTreshold+\",\"+PrevShift+\",\"+CurShift+\")\"); //---- initialization done return(0); } //+------------------------------------------------------------------+ //| The angle for LSMA | //+------------------------------------------------------------------+ int start() { double fCur, fPrev; double fAngle, mFactor; int nLimit, i; int nCountedBars; double angle; int ShiftDif; if(CurShift >= PrevShift) { Print(\"Error: CurShift >= PrevShift\"); PrevShift = 6; CurShift = 0; } nCountedBars = IndicatorCounted(); //---- check for possible errors if(nCountedBars<0) return(-1); //---- last counted bar will be recounted if(nCountedBars>0) nCountedBars--; nLimit = Bars-nCountedBars; mFactor = 1.0; ShiftDif = PrevShift-CurShift; mFactor /= ShiftDif; //---- main loop for(i=0; i AngleTreshold) UpBuffer = fAngle; else if (fAngle < -AngleTreshold) DownBuffer = fAngle; else ZeroBuffer = fAngle; } return(0); } //+------------------------------------------------------------------+
TK29帖子1楼右侧xm竖版广告90-240
个性签名

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

广告
TK30+TK31帖子一樓廣告
TK30+TK31帖子一樓廣告
尘缘在此
注册时间2016-03-13
发表于:2016-06-23 07:56只看该作者
2楼
指标很灵敏,指示性也很强
qihangxx
注册时间2016-06-29
发表于:2016-06-30 03:20只看该作者
3楼
怎么弄啊
Pzxzx
注册时间2017-08-06
我很烦
注册时间2018-02-04
发表于:2018-02-20 14:59只看该作者
5楼
外汇交易社区
个性签名

韬客社区www.talkfx.co

本站免责声明:

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

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

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

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

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

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