Download MetaTrader 5
To add comments, please log in or register
Do you have idle PCs? Connect them to MQL5 Cloud Network and earn money!
Phipps and Sons Incorporated
170
Sherry Phipps 2010.10.27 22:20 

Would anyone be willing to code this EA to work at Smart Trade FX?

Here is the location where I downloaded it: https://www.mql5.com/go?link=http://www.fxstreet.com/metatrader/addons/ccde1717-6b80-4679-8fe2-639a8ee28547

Thank you! I very much appreciate it.

Sherry

raphael
75
raphael 2010.10.28 02:00  
adding a zero on the end of each take profit and stop would be a solution if you can't code it
qjol
3243
qjol 2010.10.28 02:42  
fxcourt:
adding a zero on the end of each take profit and stop would be a solution if you can't code it

also, u may need to send the order withouut TP & SL & use OrderModify() for SL & TP
FourX
1301
FourX 2010.10.28 10:47  
spatx:

I found 100 pips a day expert advisor by Metaquotes and it works great, except with 5 digit brokers. Would anyone be willing to code it for a 5 digit broker?

Here is the location where I downloaded it: https://www.mql5.com/go?link=http://www.fxstreet.com/metatrader/addons/ccde1717-6b80-4679-8fe2-639a8ee28547

Thank you! I very much appreciate it.

Sherry

Just add a zero onto the the TP & SL settings in the EA Sherry. Hence for 31, enter 310 etc.
Joao Rosas
391
Joao Rosas 2010.10.28 11:13  

The performance of the EA seems good, as shown in the picture:


However, the EA has no protective stop loss at all. Each trade goes on indefinitely loosing until it reaches the profit level, at which the trailing stop starts working.

Adding a variation of 3% in price as stop loss (that is, for a buy stop_loss= Ask – 0.03*Ask), and setting the lot to the minimum possible, the result is as shown in the picture:


My recommendation is that you test heavily any offered EAs in demo, as they are usually not profitable. Start with micro or Lots if you want to play with real money (in a regulated broker).

AB.
whroeder1
13644
whroeder1 2010.10.29 23:25  
You need to modify TP, SL and slippage.
//++++ These are adjusted for 5 digit brokers.
double  pips2points,    // slippage  3 pips    3=points    30=points
        pips2dbl;       // Stoploss 15 pips    0.0015      0.00150
int     Digits.pips;    // DoubleToStr(dbl/pips2dbl, Digits.pips)
int init(){
    if (Digits == 5 || Digits == 3){    // Adjust for five (5) digit brokers.
                pips2dbl    = Point*10; pips2points = 10;   Digits.pips = 1;
    } else {    pips2dbl    = Point;    pips2points =  1;   Digits.pips = 0; }
    // OrderSend(... Slippage.Pips * pips2points, Bid - StopLossPips * pips2dbl
Rohitravi
23
Rohitravi 2011.07.29 15:27  
WHRoeder:
You need to modify TP, SL and slippage.


can u please tell me were to paste this code in ea

whroeder1
13644
whroeder1 2011.07.29 16:33  
Somewhere at the beginning. Then modify the code where you convert pips to doubles or points. No Slaves here, learn to code or pay someone. We're not going to code it FOR you. We are willing to HELP you.
Elroch
143
Elroch 2011.08.26 01:21  
In my opinion, the equity graph matters a lot more than the balance graph, despite what some people think. I would assume that the EA under consideration is one of the many that suffer large equity drawdowns that are invisible in the balance graph because of high risk (or suicidal) money management. The main problem is that as well as a good chance of steady profits, there is very likely a sizeable chance of a margin call wiping out most of your account.
Ronald Kirby
185
Ronald Kirby 2011.08.26 05:35  
spatx:

Would anyone be willing to code this EA to work at Smart Trade FX?

Here is the location where I downloaded it: https://www.mql5.com/go?link=http://www.fxstreet.com/metatrader/addons/ccde1717-6b80-4679-8fe2-639a8ee28547

Thank you! I very much appreciate it.

Sherry


extern double Lots = 0.01;


// int init
double gdPoint;

int init()
{
//----

gdPoint = Point;
// check if we are on a 5 digit broker
if(Digits==3||Digits==5){
gdPoint = gdPoint*10;
Slippage =Slippage*10;
lTrailingStop= lTrailingStop*10;
}


//----
return(0);

}



put this in the ea from the line extern double Lots = 5;

so you replace this line with the new line at the top of this code

and that will load on any broker

Ronald Kirby
185
Ronald Kirby 2011.08.26 05:55  
Tradingjunky:

extern double Lots = 0.01;


// int init
double gdPoint;

int init()
{
//----

gdPoint = Point;
// check if we are on a 5 digit broker
if(Digits==3||Digits==5){
gdPoint = gdPoint*10;
Slippage =Slippage*10;
lTrailingStop= lTrailingStop*10;
}


//----
return(0);

}



put this in the ea from the line extern double Lots = 5;

so you replace this line with the new line at the top of this code

and that will load on any broker

and to add on you may need to replace Point with gdPoint every where in the code


/ /12
To add comments, please log in or register