比特币通信协议 - 币圈消息

比特币通信协议篇11、二、TURN简介。在典型的情况下,TURN客户端连接到内网中,并且通过一个或者多个NAT到 详细

非常好的一个指标

  [复制链接]
1105 13
jiangyongjiu 发表于 2018-1-11 13:40:24 | 只看该作者 |阅读模式 打印 上一主题 下一主题
我在520FX下载个非常好的一个指标,可惜了加载后不能显示,有技术的帮忙解决下上传给广大520的坛友们,谢谢!我的MT4平台是5.0.0版本的。
收藏
收藏0
转播
转播
分享
分享
分享
淘帖0

精彩评论13

跳转到指定楼层
沙发
yuhongjun 发表于 2018-1-11 15:10:12 | 只看该作者
是不是指标需要重新编译
板凳
yuhongjun 发表于 2018-1-11 16:37:25 | 只看该作者
指标一加载就死机啊
地板
啄木鸟 发表于 2018-1-11 18:01:44 | 只看该作者
这个看起来还不错
5#
 楼主| jiangyongjiu 发表于 2018-1-11 19:19:56 | 只看该作者

所以啊就是不能正常显示我才发上来,让520有编程技术的改一下啊
6#
 楼主| jiangyongjiu 发表于 2018-1-11 19:41:16 | 只看该作者
这是导出来的编码不知道是哪里有问题,请版主或者有编程技术的帮忙解决下分享给大家。
/*
   Generated by ex4-to-mq4 decompiler (forex-warez.com) 4.0.509.5
   Website: w w w.fO RE x- w a R E Z .c o m
   E-mail :  A nDReYb B R v @ gMAi L.CO M
*/
#property copyright "Copyright ?2010 Robert Dee"
#property link      "www.forexfactory.com/robdee"
#property indicator_chart_window
#property indicator_buffers 8
#property indicator_color1 DodgerBlue
#property indicator_color2 OrangeRed
#property indicator_color3 LimeGreen
#property indicator_color4 LimeGreen
#property indicator_color5 DodgerBlue
#property indicator_color6 OrangeRed
#property indicator_color7 DodgerBlue
#property indicator_color8 OrangeRed
extern string Notes = "15pip RangeBars Basic Setup";
extern int ZigZagDepth = 1;
extern double RetraceDepthMin = 0.4;
extern double RetraceDepthMax = 1.0;
extern bool ShowAllLines = TRUE;
extern bool ShowAllBreaks = TRUE;
extern bool ShowTargets = FALSE;
extern double Target1Multiply = 1.5;
extern double Target2Multiply = 3.0;
extern bool HideTransitions = TRUE;
double G_ibuf_136[];
double G_ibuf_140[];
double G_ibuf_144[];
double G_ibuf_148[];
double G_ibuf_152[];
double G_ibuf_156[];
double G_ibuf_160[];
double G_ibuf_164[];
double Gd_unused_168;
double Gd_unused_176;
double G_icustom_184;
double G_icustom_192;
double G_icustom_200;
double G_icustom_208;
double Gd_216;
double Gd_224;
datetime Gt_unused_232;
datetime Gt_unused_236;
datetime G_time_240;
datetime G_time_244;
datetime G_time_248;
datetime G_time_252;
int Gi_256;
datetime G_time_260;
int Gi_264;
int init() {
   for (int index_0 = 0; index_0 = 0; Li_60--) {
      G_ibuf_136[Li_60] = G_ibuf_136[Li_60 + 1];
      G_ibuf_140[Li_60] = G_ibuf_140[Li_60 + 1];
      G_ibuf_144[Li_60] = G_ibuf_144[Li_60 + 1];
      G_ibuf_148[Li_60] = G_ibuf_148[Li_60 + 1];
      G_ibuf_160[Li_60] = EMPTY_VALUE;
      G_ibuf_164[Li_60] = EMPTY_VALUE;
      icustom_0 = iCustom(NULL, 0, "ZigZag", ZigZagDepth, 5, 3, 0, Li_60);
      if (icustom_0 == High[Li_60]) {
         G_ibuf_136[Li_60] = High[Li_60];
         Gd_unused_168 = G_icustom_200;
         Gt_unused_232 = G_time_248;
         G_icustom_200 = G_icustom_184;
         G_time_248 = G_time_240;
         G_icustom_184 = icustom_0;
         G_time_240 = Time[Li_60];
      }
      if (icustom_0 == Low[Li_60]) {
         G_ibuf_140[Li_60] = Low[Li_60];
         Gd_unused_176 = G_icustom_208;
         Gt_unused_236 = G_time_252;
         G_icustom_208 = G_icustom_192;
         G_time_252 = G_time_244;
         G_icustom_192 = icustom_0;
         G_time_244 = Time[Li_60];
      }
      icustom_24 = G_icustom_208;
      Li_48 = G_time_252;
      icustom_32 = G_icustom_184;
      time_52 = G_time_240;
      if (time_52 == Time[Li_60]) {
         icustom_32 = G_icustom_200;
         time_52 = G_time_248;
      }
      icustom_40 = G_icustom_192;
      time_56 = G_time_244;
      if (icustom_24 - icustom_32 != 0.0) Ld_16 = (icustom_40 - icustom_32) / (icustom_24 - icustom_32);
      if (Li_60 > 0) {
         if (Ld_16 > RetraceDepthMin) {
            if (Ld_16  G_ibuf_136[Li_60]) {
                        Ld_8 = MathAbs(icustom_32 - icustom_40);
                        G_ibuf_144[Li_60] = icustom_32 + Ld_8 * Target1Multiply;
                        G_ibuf_148[Li_60] = icustom_32 + Ld_8 * Target2Multiply;
                        G_ibuf_152[Li_60] = Low[Li_60] - (High[Li_60] - Low[Li_60]) / 3.0;
                        G_ibuf_160[iBarShift(NULL, 0, Li_48)] = icustom_24;
                        G_ibuf_160[iBarShift(NULL, 0, time_52)] = icustom_32;
                        G_ibuf_160[iBarShift(NULL, 0, time_56)] = icustom_40;
                        Gi_264 = 1;
                        Gi_256 = Time[Li_60];
                        Gd_216 = G_ibuf_152[Li_60];
                        Gd_224 = G_ibuf_136[Li_60];
                     }
                  }
               }
            }
         }
      }
      if (Li_60 > 0) {
         if (ShowAllBreaks == TRUE) {
            if (Gd_224 != G_ibuf_136[Li_60]) {
               if (Low[Li_60]  G_ibuf_136[Li_60]) {
                     Ld_8 = G_ibuf_136[Li_60] - G_ibuf_140[Li_60];
                     G_ibuf_144[Li_60] = G_ibuf_136[Li_60] + Ld_8 * Target1Multiply;
                     G_ibuf_148[Li_60] = G_ibuf_136[Li_60] + Ld_8 * Target2Multiply;
                     G_ibuf_152[Li_60] = Low[Li_60] - (High[Li_60] - Low[Li_60]) / 3.0;
                     Gi_264 = 1;
                     Gi_256 = Time[Li_60];
                     Gd_216 = G_ibuf_152[Li_60];
                     Gd_224 = G_ibuf_136[Li_60];
                  }
               }
            }
         }
      }
      icustom_24 = G_icustom_200;
      Li_48 = G_time_248;
      icustom_32 = G_icustom_192;
      time_52 = G_time_244;
      if (time_52 == Time[Li_60]) {
         icustom_32 = G_icustom_208;
         time_52 = G_time_252;
      }
      icustom_40 = G_icustom_184;
      time_56 = G_time_240;
      if (icustom_24 - icustom_32 != 0.0) Ld_16 = (icustom_40 - icustom_32) / (icustom_24 - icustom_32);
      if (Li_60 > 0) {
         if (Ld_16 > RetraceDepthMin) {
            if (Ld_16  G_ibuf_140[Li_60]) {
                     if (Close[Li_60]  0) {
         if (ShowAllBreaks == TRUE) {
            if (Gd_224 != G_ibuf_140[Li_60]) {
               if (High[Li_60] > G_ibuf_140[Li_60]) {
                  if (Close[Li_60]  G_ibuf_144[Li_60]) G_ibuf_144[Li_60] = EMPTY_VALUE;
         if (Low[Li_60] > G_ibuf_148[Li_60]) G_ibuf_148[Li_60] = EMPTY_VALUE;
      }
      if (Gi_264 == 2) {
         if (High[Li_60] < G_ibuf_144[Li_60]) G_ibuf_144[Li_60] = EMPTY_VALUE;
         if (High[Li_60] < G_ibuf_148[Li_60]) G_ibuf_148[Li_60] = EMPTY_VALUE;
      }
      if (HideTransitions == TRUE) {
         if (G_ibuf_136[Li_60] != G_ibuf_136[Li_60 + 1]) G_ibuf_136[Li_60 + 1] = EMPTY_VALUE;
         if (G_ibuf_140[Li_60] != G_ibuf_140[Li_60 + 1]) G_ibuf_140[Li_60 + 1] = EMPTY_VALUE;
         if (G_ibuf_144[Li_60] != G_ibuf_144[Li_60 + 1]) G_ibuf_144[Li_60 + 1] = EMPTY_VALUE;
         if (G_ibuf_148[Li_60] != G_ibuf_148[Li_60 + 1]) G_ibuf_148[Li_60 + 1] = EMPTY_VALUE;
      }
   }
   StatusMessage();
   return (0);
}
int deinit() {
   for (int index_0 = 0; index_0 < Bars; index_0++) {
      G_ibuf_136[index_0] = EMPTY_VALUE;
      G_ibuf_140[index_0] = EMPTY_VALUE;
      G_ibuf_144[index_0] = EMPTY_VALUE;
      G_ibuf_148[index_0] = EMPTY_VALUE;
      G_ibuf_152[index_0] = EMPTY_VALUE;
      G_ibuf_156[index_0] = EMPTY_VALUE;
      G_ibuf_160[index_0] = EMPTY_VALUE;
      G_ibuf_164[index_0] = EMPTY_VALUE;
   }
   Comment("");
   return (0);
}
7#
GOLDSYS 发表于 2018-1-11 20:56:30 | 只看该作者
谢谢分享
8#
ffj781212 发表于 2018-1-11 22:14:18 | 只看该作者
谢谢分享
9#
金色十月 发表于 2018-1-11 23:08:46 | 只看该作者
这个看起来还不错
10#
你把我灌醉 发表于 2018-1-11 23:30:20 | 只看该作者
这个看起来还不错
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

发布主题
阅读排行更多+

Powered by 顺水鱼MT4外汇EA网! X3.2© 2001-2017 顺水MT4外汇EA公司.( 陕ICP备17014341号-1