[MT4指标]sma+ema双趋势指标
附图指标,
mt4指标类型:趋势指标
是否能用在mt4手机版上:否
是否含有未来函数:无
//+------------------------------------------------------------------+
//|                                       i-GentorLSMA&EMA_v.1.0.mq4 |
//|                                                 FX Sniper, KimIV |
//|   2005.08.20 KimIV  v.0.0                                        |
//| 杨邃桧桦 ? LSMA ? EMA                                            |
//|   2005.08.20 KimIV  v.0.2                                        |
//| 谚眭痤龛玷痤忄? 眢戾疣鲨? 忮瘃栝 ? i-GentorCCIM_v.0.2.mq4        |
//|   2005.08.21 KimIV  v.1.0                                        |
//| 蔓礤? 忸 忭屮龛? 镟疣戾蝠 疣耨蝾?龛? 铗 眢?? 潆? 盘? ? LSMA      |
//+------------------------------------------------------------------+
#property copyright \"FX Sniper, KimIV\"
#property link      \"http://www.kimiv.ru\"
#property indicator_separate_window
#property indicator_buffers 4
#property indicator_color1 Yellow
#property indicator_color2 Blue
#property indicator_color3 Red      
#property indicator_color4 Lime
//------- 马屮龛? 镟疣戾蝠? ------------------------------------------
extern int EMAPeriod  = 34;     // 襄痂钿 盘?
extern int LSMAPeriod = 25;     // 襄痂钿 LSMA
extern int FromZero   = 3;      // 朽耨蝾?龛? 铗 眢脲忸泐 箴钼??
//------- 馏翦瘥 桧滂赅蝾疣 ------------------------------------------
double LineHighEMA;
double LineLowEMA;
double LSMABuffer1;
double LSMABuffer2;
//+------------------------------------------------------------------+
//| Custom indicator initialization function                         |
//+------------------------------------------------------------------+
void init() {
  IndicatorDigits(2);
  SetIndexBuffer(0, LineHighEMA);
  SetIndexLabel (0, \"EMA 恹  鲥睇\");
  SetIndexStyle (0, DRAW_LINE, STYLE_SOLID, 3);
  SetIndexBuffer(1, LineLowEMA);
  SetIndexLabel (1, \"EMA 龛驽 鲥睇\");
  SetIndexStyle (1, DRAW_LINE, STYLE_SOLID, 3);
  SetIndexBuffer(2, LSMABuffer1);
  SetIndexLabel (2, \"LSMA 恹  鲥睇\");
  SetIndexStyle (2, DRAW_LINE, STYLE_SOLID, 3);
  SetIndexBuffer(3, LSMABuffer2);
  SetIndexLabel (3, \"LSMA 龛驽 鲥睇\");
  SetIndexStyle (3, DRAW_LINE, STYLE_SOLID, 3);
  Comment(\"\");
}
//+------------------------------------------------------------------+
//| Custom indicator iteration function                              |
//+------------------------------------------------------------------+
int start() {
  double sum, lengthvar, tmp, wt;
  int i, shift, counted_bars = IndicatorCounted();
  int Draw4HowLong, loopbegin;
  if (counted_bars<0) return;
  if (counted_bars>0) counted_bars--;
  counted_bars = Bars - counted_bars;
  for (shift=0; shiftEmaValue) LineHighEMA[shift] = EMPTY_VALUE;
    if (Close[shift]=0; shift--) {
    sum = 0;
    for (i=LSMAPeriod; i>=1; i--) {
      lengthvar = LSMAPeriod + 1;
      lengthvar /= 3;
      tmp = 0;
      tmp = (i - lengthvar) * Close[LSMAPeriod-i+shift];
      sum+=tmp;
    }
    wt = sum * 6 / (LSMAPeriod * (LSMAPeriod + 1));
    LSMABuffer1[shift] = FromZero;
    LSMABuffer2[shift] = FromZero;
    if (wt>Close[shift]) LSMABuffer2[shift] = EMPTY_VALUE;
    if (wt  
发表于:2016-06-23 07:55只看该作者
2楼 
指标很灵敏,指示性也很强
韬客社区www.talkfx.co
发表于:2016-07-09 11:14只看该作者
3楼 
有图就好了
韬客社区www.talkfx.co
发表于:2016-07-10 07:03只看该作者
4楼 
方突然听见
韬客社区www.talkfx.co
发表于:2016-07-10 13:59只看该作者
5楼 
看图说话
韬客社区www.talkfx.co
发表于:2016-07-18 03:33只看该作者
6楼 
多谢分享
韬客社区www.talkfx.co
发表于:2016-07-28 16:57只看该作者
7楼 
下载看看是神马
韬客社区www.talkfx.co
发表于:2016-08-06 18:17只看该作者
9楼 
什么牙           
韬客社区www.talkfx.co
发表于:2016-08-09 14:36只看该作者
10楼 
非常感谢
韬客社区www.talkfx.co
发表于:2016-08-12 03:06只看该作者
11楼 
[backcolor=rgb(239, 243, 246)]sma+ema双趋势指标[/backcolor]
›[backcolor=rgb(239, 243, 246)]参与/回复主题[/backcolor]
›[backcolor=rgb(239, 243, 246)]参与/回复主题[/backcolor]
韬客社区www.talkfx.co
发表于:2016-08-12 03:06只看该作者
12楼 
[backcolor=rgb(239, 243, 246)]sma+ema双趋势指标[/backcolor]
›[backcolor=rgb(239, 243, 246)]参与/回复主题[/backcolor]
›[backcolor=rgb(239, 243, 246)]参与/回复主题[/backcolor]
韬客社区www.talkfx.co
发表于:2016-08-12 03:06只看该作者
13楼 
sma+ema双趋势指标› 参与/回复主题
韬客社区www.talkfx.co
发表于:2016-08-12 03:07只看该作者
14楼 
sma+ema双趋势指标› 参与/回复主题
韬客社区www.talkfx.co
发表于:2016-08-13 04:28只看该作者
16楼 
乱码有什么用!
韬客社区www.talkfx.co
发表于:2016-08-19 10:12只看该作者
17楼 
先看看,谢谢了
韬客社区www.talkfx.co
发表于:2016-08-25 07:46只看该作者
18楼 
太灵敏的指标会死人的,所以必须要加入过滤。至于怎么过滤,作者自己想了,我也就是点到为止了。
顺便拿分走人,说声谢谢
韬客社区www.talkfx.co
发表于:2016-08-26 07:45只看该作者
19楼 
谢谢,试用看看!
韬客社区www.talkfx.co
发表于:2017-08-08 09:10只看该作者
20楼 
通宝通宝
韬客社区www.talkfx.co

























