how modify this EA work in different broker - page 2

 
deVries:


Place the script in your MetaTrader platform of your other broker

and also place there in the include directory IBFX - Quick Scripts.mqh

and use your MetaTrader Editor to compile ....


I did as your instucttion but it did not work with other broker. Do i need to rename or change anything? thanks for your advise
 
taichifx:

I did as your instucttion but it did not work with other broker. Do i need to rename or change anything? thanks for your advise


The script is .mq4

The include .mqh

If you do it right then it works....

Tested already now...

Place immediately a sell trade

with SL

 
deVries:


The script is .mq4

The include .mqh

If you do it right then it works....

Tested already now...

Place immediately a sell trade

with SL


Thanks Let me retry it
 
taichifx:

Thanks Let me retry it


I did everything but keep getting alert message : " Quick Buy invalid lots"

I did't change anything on the script. do you know what could be wrong?

thanks

 
taichifx:


I did everything but keep getting alert message : " Quick Buy invalid lots"

I did't change anything on the script. do you know what could be wrong?

thanks

Try using a trade size that isn't invalid . . . i.e. too big for your account size and that is bigger than the minimum trade size for the instrument you are trying to trade . . .
 

Post Updated

Open the script in MetaEditor

Change

//+-------------------------------------------------------------------------+
//|                                                   IBFX - Quick Sell.mq4 |
//|                                       Copyright © 2010, InterbankFX LLC |
//|                                                     http://www.ibfx.com |
//+-------------------------------------------------------------------------+
#property copyright "Copyright © 2010, Interbank FX LLC"
#property link "http://www.ibfx.com"
#include <IBFX - Quick Scripts.mqh>





extern double Lots = 1.0;

extern double Risk = 1.0;

void start() { /*+-------------------------------------------------------------------------+ Because these scripts are meant to execute fast there are no user external inputs. Make sure to modify the settings below, then compile the script before assigning a hot key to it and using it. The magicNumber HAS TO TO BE THE SAME ON ALL SCRIPTS if you change it here make sure to change it on all scripts!!! Do not forget to click on COMPILE once your changes have been made!!! +-------------------------------------------------------------------------+*/ int MagicNumber = 915; // double Lots = 1.0; /* If you want to use a static lots value change this value! */ // double Risk = 1.0; /* If you want the script to use % of your account to calculate                        Lots to trade make sure Lots is set to 0.0 */

Place // before


double Lots into ==> // double Lots.....

double Risk into ==> // double Risk....

And place above void start()

two lines

extern double Lots = 1.0;

extern double Risk = 1.0;

Then modify the script

By opening the script on your chart you can then choose the lotsize or the risk you wanna trade