how modify this EA work in different broker

 

This script from IBFX I would like to use it with different broker. I know nothing about coding

Can some coder guru show me what need to make change

VERY MUCH APPRECIATED FOR YOUR HELP

//+-------------------------------------------------------------------------+
//| 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>

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 */
int Slippage = 3;
int StopLoss = 20; // Number in Pips ie: 50 for 50 pips.
int ProfitTarget = 30; // Number in Pips ie: 50 for 50 pips.
int MaxRetry = 10; // If the Order Fails - How many time do we retry?
string Commentary = "IBFX - Quick Sell ";

//+-------------------------------------------------------------------------+
//| DO NOT MODIFY ANYTHING BELOW THIS LINE!!! |
//+-------------------------------------------------------------------------+
Sym = Symbol();
SymPoints = MarketInfo( Sym, MODE_POINT );
SymDigits = MarketInfo( Sym, MODE_DIGITS );

if( SymPoints == 0.00001 ) { SymPoints = 0.0001; }
else if( SymPoints == 0.001 ) { SymPoints = 0.01; }

if( Lots <= 0.0 )
{
Lots = MM(Sym, Risk );
if( Risk <= 0 )
{
Alert( Commentary + "- Invalid Lots/Risk settings!" );
return;
}
}

Comment( "IBFX - QuickSell | Placing Short Order, please wait ..." );
EnterShrt( Sym, Lots, Commentary, StopLoss, ProfitTarget, MagicNumber, MaxRetry, Slippage );
Comment("");
return;
}
//+-------------------------------------------------------------------------+

 
Why do you think anything needs to be changed ?
 

  1. EnterShrt( ...
    How should we know when you don't post ALL the code.
 
WHRoeder:

  1. How should we know when you don't post ALL the code.
Its within IBFX - Quick Scripts.mqh
 
RaptorUK:
Its within IBFX - Quick Scripts.mqh


hi raptoruk

Whatever there is in the script from IBFX I copied and pasted it here. I don't see anything else in the script.

I want to use this script with other brokers it does not work. How can I make it work.

Thanks for your time to reply

 
taichifx:


Whatever there is in the script from IBFX I copied and pasted it here.

NOP u didn't there is a file with the name "IBFX - Quick Scripts.mqh"

 
qjol:

where can i find that file quickscripts.mqh. Look into script folder don't see any file with that name


only see this text file

1;39;;;Function "StopLong" is not referenced and will be removed from exp-file
1;39;;;Function "TakeLong" is not referenced and will be removed from exp-file
1;39;;;Function "CloseAll" is not referenced and will be removed from exp-file
1;39;;;Function "EnterLong" is not referenced and will be removed from exp-file

 
if you installed the package it comes in from IBFX, it will be in your include folder
 
taichifx:

where can i find that file quickscripts.mqh. Look into script folder don't see any file with that name

Look in experts/include

It's called . . . IBFX - Quick Scripts.mqh

 
RaptorUK:

Look in experts/include

It's called . . . IBFX - Quick Scripts.mqh


Thanks for showing me and here's the file

Files:
 
taichifx:


Thanks for showing me and here's the file


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 ....

Reason: