Need Help With Goldminer EA

koky_2006

Trader
Feb 5, 2013
3
0
17
hey guys, i have found goldminer EA somewhere on internet, it's based on goldminer1 and goldminer2 indicators
the problem is it don't work fine with me so i think it needs alittle modification

it will be better for me if it only based on goldminer1 only as it make buy when the buy arrow appear and close it and make a sell when the sell arrow appear... etc

i will be grateful if anyone make this modification for me
here are the indicatiors and the old EA

thanks alot and waiting for your reply

[link removed]
 

Attachments

  • Goldminer System EA.mq4
    15.8 KB · Views: 91
  • goldminer1.ex4
    5.7 KB · Views: 76
  • goldminer2.ex4
    4.2 KB · Views: 75

Enivid

Administrator
Staff member
Nov 30, 2008
18,614
1,366
144
Odesa
www.earnforex.com
It's a rather complex EA. Do you want it to retain all of its current features, like MM, hedging, trailing stop, etc.? Because if not, it would be easier to write an expert advisor from scratch to trade on goldminer1 arrows using simple buy/sell rules.
 

koky_2006

Trader
Feb 5, 2013
3
0
17
thanks for reply

first i wanna thank you for your reply
second i just want the expert advisor very simple just buy and sell with the arrows of goldminer1
and take profit and stop loss options! that's it
 

hayseed

Master Trader
Jul 27, 2010
1,046
262
149
usa
digits

hey enivid.... do you code in to adjust for digits.... if i don't, i'll screw up the inputs everytime......h

edit
//

and are perhaps the signals reversed.....h

//---

Code:
int init()
  {
//----
   
   if(Digits == 3 || Digits == 5)
   {
   ProfitTarget      =   ProfitTarget*10;   
   Stoploss           = Stoploss*10;
   }   
   else 
   {
   ProfitTarget      =      ProfitTarget;
   Stoploss           =    Stoploss;
   } 
//----
   return(0);
  }
 
Last edited:

Enivid

Administrator
Staff member
Nov 30, 2008
18,614
1,366
144
Odesa
www.earnforex.com
hey enivid.... do you code in to adjust for digits.... if i don't, i'll screw up the inputs everytime......h

No, sorry. I've came to a conclusion that the inputs are better left in raw broker's pips. Adjusting digits inside the code confuses a lot of people and prevents normal functioning with non-standard trading instruments.

and are perhaps the signals reversed.....h

Why? It sells on magenta (down) arrows and buys on yellow (up) arrows.