Code EA to use Goldminer1 And 2 indicator - page 2

 

Goldminer Indicator with Alert

Hello I would like to ask if it is possible to attach an alert sound to this powerful indicator:

4shared.com - online file sharing and storage - download goldminer1.zip

Its the goldminer indicator from the FOREX FUNNEL developers.

The best go long or short indicator I was able to find:

 
tradereight:
Hello I would like to ask if it is possible to attach an alert sound to this powerful indicator:

4shared.com - online file sharing and storage - download goldminer1.zip

Its the goldminer indicator from the FOREX FUNNEL developers.

The best go long or short indicator I was able to find:

goldminer 2 is under same name as FXTrend

it is same code, however same as goldminer do reprint.

for goldminer 1 this indicator might be same one as name Salha-Crossover Signal.

yes an alert would be nice for both indicators

 

Goldminer 1 & 2

Does anyone know is you can get goldminer in a .LUA extension file format

 

Goldminer Multi TimeFrame

I'm trying to set the indicator in M15 chart (since I work in such timeframe) but I want to visualize it calculating values in h1 timeframe.

I changed withing the code the timeframe to a external variable but without success.

Can you help me out?

here is the original code

#property indicator_separate_window

#property indicator_minimum 0.0

#property indicator_maximum 1.0

#property indicator_buffers 2

#property indicator_color1 DeepSkyBlue

#property indicator_color2 Red

#import "MT_PRO.dll"

string AccountMatch(string a0, string a1);

#import

string gs_unused_76 = "http://www.forexfunnel.com/mt_auth/serveme.php";

string gs_unused_84 = "ther\'s an error!";

string gs_unused_92 = "this is not registered account number!";

string gs_unused_100 = "this account does not match the registered account number!";

string gs_unused_108 = "trial period had been expired!";

string gs_unused_116 = "Good Account";

string gs_unused_124 = "";

bool gi_unused_132 = FALSE;

extern int SSP = 7;

extern double Kmax = 50.6;

extern int CountBars = 300;

extern string TimeFrame = "NULL";

double g_ibuf_152[];

double g_ibuf_156[];

double g_ibuf_160[];

double g_ibuf_164[];

int init() {

IndicatorBuffers(4);

SetIndexStyle(0, DRAW_HISTOGRAM, STYLE_SOLID, 2);

SetIndexBuffer(0, g_ibuf_160);

SetIndexStyle(1, DRAW_HISTOGRAM, STYLE_SOLID, 2);

SetIndexBuffer(1, g_ibuf_164);

SetIndexBuffer(2, g_ibuf_152);

SetIndexBuffer(3, g_ibuf_156);

Comment("goldminer");

IndicatorShortName("goldminer");

SetIndexLabel(0, "");

SetIndexLabel(1, "");

return (0);

}

int deinit() {

return (0);

}

int start() {

double ld_8;

double ld_16;

double ld_32;

if (CountBars >= Bars) CountBars = Bars;

SetIndexDrawBegin(0, Bars - CountBars + SSP);

SetIndexDrawBegin(1, Bars - CountBars + SSP);

int l_ind_counted_4 = IndicatorCounted();

if (Bars <= SSP + 1) return (0);

if (l_ind_counted_4 < SSP + 1) {

for (int li_0 = 1; li_0 <= SSP; li_0++) g_ibuf_152[CountBars - li_0] = 0.0;

for (li_0 = 1; li_0 <= SSP; li_0++) g_ibuf_156[CountBars - li_0] = 0.0;

}

for (li_0 = CountBars - SSP; li_0 >= 0; li_0--) {

ld_8 = High;

ld_16 = Low;

ld_32 = ld_8 - (ld_8 - ld_16) * Kmax / 100.0;

g_ibuf_152[li_0 - SSP + 6] = ld_32;

g_ibuf_156[li_0 - SSP - 1] = ld_32;

}

for (int li_40 = CountBars - SSP; li_40 >= 0; li_40--) {

if (g_ibuf_152[li_40] > g_ibuf_156[li_40]) {

g_ibuf_160[li_40] = 1;

g_ibuf_164[li_40] = 0;

} else {

g_ibuf_160[li_40] = 0;

g_ibuf_164[li_40] = 1;

}

}

return (0);

}

 

hi everybody ,

I want to change the color and number of bar shape of this nice indicator , as it has been written in old version of MT4 , I can not do it .

it gives warning ,

dear mladen or mrtools , would you please help .

and at last , is it repaint or recalculate ?

thanks in advanced .

Files:
 
macd&rsi:
hi everybody ,

I want to change the color and number of bar shape of this nice indicator , as it has been written in old version of MT4 , I can not do it .

it gives warning ,

dear mladen or mrtools , would you please help .

and at last , is it repaint or recalculate ?

thanks in advanced .

macd&rsi

That is a bit modified super signals indicator and it does repaint

PS: The warning message that you are getting is benign - it should not prevent it from running after compilation

 

if it is a repaint indicator , so it is a worthless indicator .

i should delete it .

thank you

Reason: