Is there any programmer that can help. I need an EA to just initiate trades

Hello,

Is there anyone with simple MT4 programming skills.

I just need a simple EA that will initiate trades on a fixed timeframe.

Like I could choose a daily timeframe and it would just initiate buy or sells for a chosen number of currency pairs everyday.

There is no need to do anything else except initiate the trades together with a user defined stoploss and take profit.

Thanks for any help anyone can provide.

PS. Will pay for work done.

1 or 2 examples would be better. :slight_smile:

Hello… thanks for replying.

I did manage to get a script that could do what I wanted but only partially. What I want is for it to run as an EA and to place orders for 3 specific currency pairs.

I have been told it is just a simple modification.

The script is here.

#include <stdlib.mqh>
#include <WinUser32.mqh>

//±---------------------------------------------------------------------+
//| To modify Lotsize of script change value listed here, right now |
//| its set to 1.0 change that value if you desire different lotsize |
//| I have found that it is important to keep the decimal in place, |
//| but really dont know why yet, but fractional lots work too (ex… |
//| 0.1, 0.3, 1.12), you get the picture. |
//| AGAIN DONT FORGET TO SAVE AND COMPILE AFTER MAKING ANY MODIFICATIONS |
//±---------------------------------------------------------------------+
extern double Lots = 0.10; // change this number to change the lotsize
extern double stoploss = 100; // change this number to change the stoploss
extern double takeprofit = 100; // change this number to change the takeprofit

//±–Don’t forget to save and compile after changing the Lotsize--------+

//±-----------------------------------------------------------------+
//| Each of the following lines produces an individual order |
//| 3 lines produces 3 orders, to increase or decrease the number |
//| of individual orders either add, or take away identical lines |
//| within the parenthesis. Again dont forget to save and compile |
//| time you modify the code. |
//±-----------------------------------------------------------------+
int start()
{
OrderSend(Symbol(),OP_BUY,Lots,Ask,3,Bid-stoplossPoint,Bid+takeprofitPoint,“JMBUYER”,0,0,CLR_NONE);
OrderSend(Symbol(),OP_BUY,Lots,Ask,3,Bid-stoplossPoint,Bid+takeprofitPoint,“JMBUYER”,0,0,CLR_NONE);
OrderSend(Symbol(),OP_BUY,Lots,Ask,3,Bid-stoplossPoint,Bid+takeprofitPoint,“JMBUYER”,0,0,CLR_NONE);
OrderSend(Symbol(),OP_BUY,Lots,Ask,3,Bid-stoplossPoint,Bid+takeprofitPoint,“JMBUYER”,0,0,CLR_NONE);
OrderSend(Symbol(),OP_BUY,Lots,Ask,3,Bid-stoplossPoint,Bid+takeprofitPoint,“JMBUYER”,0,0,CLR_NONE);

}

//±-----------------------------------------------------------------+
//±-----------------------------------------------------------------+

I have been told I could have it specifically trade on EURUSD if I modified Symbol(EURUSD) which I did but the error came out as an undefined variable…what does that mean

I hope this one will help you.

I was developing a free EA to place 3 orders in 3 different pairs for a simple triangular arbitrage strategy.

I modify it to meet your requirement.

ziddu.com/download/8496251/EA-EGCFixed-BabyPips.zip.html

[QUOTE=fxmatics;167909]I hope this one will help you.

I was developing a free EA to place 3 orders in 3 different pairs for a simple triangular arbitrage strategy.

I modify it to meet your requirement.

ziddu.com/download/8496251/EA-EGCFixed-BabyPips.zip.html

Ah…yes.

Just exactly what I needed. Thanks.

Now I can set the inputs and backtest it for optimum levels.

I am trying to find the best levels statistically for the stoploss and profit levels.

Oh… I just need one more line of code.

I need to have a selectable timeframe like hourly or 4 hourly to initiate the order placing.