顺水外汇EA交易网MT4
标题:
非常好的一个指标
[打印本页]
作者:
jiangyongjiu
时间:
2018-1-11 13:40
标题:
非常好的一个指标
我在520FX下载个非常好的一个指标,可惜了加载后不能显示,有技术的帮忙解决下上传给广大520的坛友们,谢谢!我的MT4平台是5.0.0版本的。
作者:
yuhongjun
时间:
2018-1-11 15:10
是不是指标需要重新编译
作者:
yuhongjun
时间:
2018-1-11 16:37
指标一加载就死机啊
作者:
啄木鸟
时间:
2018-1-11 18:01
这个看起来还不错
作者:
jiangyongjiu
时间:
2018-1-11 19:19
所以啊就是不能正常显示我才发上来,让520有编程技术的改一下啊
作者:
jiangyongjiu
时间:
2018-1-11 19:41
这是导出来的编码不知道是哪里有问题,请版主或者有编程技术的帮忙解决下分享给大家。
/*
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);
}
作者:
GOLDSYS
时间:
2018-1-11 20:56
谢谢分享
作者:
ffj781212
时间:
2018-1-11 22:14
谢谢分享
作者:
金色十月
时间:
2018-1-11 23:08
这个看起来还不错
作者:
你把我灌醉
时间:
2018-1-11 23:30
这个看起来还不错
作者:
pypy
时间:
2018-1-12 00:09
指标一加载就死机
作者:
52011
时间:
2018-1-12 01:40
[attach]19816[/attach]
[attach]19817[/attach]
[attach]19818[/attach]
[attach]19819[/attach]
[attach]19820[/attach]
好东东必须大家一起分享,
[attach]19821[/attach]
[attach]19822[/attach]
[attach]19823[/attach]
[attach]19824[/attach]
[attach]19825[/attach]
继续努力了哟
[attach]19826[/attach]
[attach]19827[/attach]
[attach]19828[/attach]
[attach]19820[/attach]
[attach]19829[/attach]
作者:
dkforex
时间:
2018-1-12 02:33
好东东必须大家一起分享,
继续努力了哟
作者:
dkforex
时间:
2018-1-12 03:01
努力学习中!
欢迎光临 顺水外汇EA交易网MT4 (http://waterforex.com/)
Powered by Discuz! X3.2