i need help everyone,

 

thank you very much before.

I need help,
I need help from everyone to made simple EA for me.
im just a trader, im not understand EA programming.
is there anything that will help me for making a simple EA?
parameter that i will made ??EA are:
1. no use indicator parameters, just TP, SL, and lots Quantity.
2. start directly buy and sell simultaneously. (Hedging)
3. not open new positions eg; new buy / sell position, before all previous transactions in clear position. so, new open position if all transactions are clear.
4. TP = 50
5. SL = 100
6. Quantity buy and sell = 0.1 lots / transaction.
7. runs for 24 hours nonstop each a day

8. im using 5 digits broker mt4.


thanks a lot...., :)

 
almalik234:

thank you very much before.

I need help,
I need help from everyone to made simple EA for me.
im just a trader, im not understand EA programming.
is there anything that will help me for making a simple EA?
parameter that i will made ??EA are:
1. no use indicator parameters, just TP, SL, and lots Quantity.
2. start directly buy and sell simultaneously. (Hedging)
3. not open new positions eg; new buy / sell position, before all previous transactions in clear position. so, new open position if all transactions are clear.
4. TP = 50
5. SL = 100
6. Quantity buy and sell = 0.1 lots / transaction.
7. runs for 24 hours nonstop each a day

8. im using 5 digits broker mt4.


thanks a lot...., :)

Ask in job service on mql5.com, you have to register.
 
almalik234: I need help from everyone to made simple EA for me.
Since there are no slaves here, you have only three choices: Search for it, learn to code it, or pay someone. We're not going to code it FOR you. We are willing to HELP you when you post your attempt and the nature of your problem.
 
thanks for your kind attention.
 I am just only need help , I am [there] no intention of to enslave whoever.
 if me have some enough money,  I would have to pay for this. but, i dont have this.  important for all knowing, that I live in limited all environment. limited in many condition. I [do] not have expense for school, I am only elementary school finish, I [do] not have that better certificate from it. now I am only working as of vegetables seller in a cloistered countryside in small country.

Im just stupid person who do not have education. especially about EA language programing. I am not rich and not lucky like all of you. difficult to find a meal at my place, one cent in my place is extremely valuable. I know about trading from the people conversation on street. then I tried looking on the internet. I sure do not have enough money for forex trading and internet access costs. cost of internet at my place is expensive for us. so i want to use the EA.
funds that I use is a bonus, the bonus money is worth it for me to develop. I would like to have a little extra income for my family. so, forgive me if i troublesome for all of you . God surely repay for all of your goodnes.

I have tried to make it, it was able to buy and sell simultaneously.
but it was not as I expected. the problem is: break the rule of no 3, which is ("not open new positions eg; new buy / sell position, before all previous transactions in clear position. so, new open position if all transactions are clear.")
so this is still open the new position again if one position has been closed.
what I want is, will open a new position if both the buy and sell position is clear/close .
and again, this is not work on a live account. I use a 4-digit account mt4 cent.

this is dictionary in my language EA :
Nama_EA           : Ea name
Mulai_Jam         : start hour
Akhir_Jam         : end hour
"Sekarang Jam " : time now
jumlahorder       : OrdersTotal

help me, and this is a EA  which i will try to made---->>>

//+------------------------------------------------------------------+
//|                                                Hedge_Hendrik.mq4 |
//|                        Copyright 2013, MetaQuotes Software Corp. |
//|                                        http://www.metaquotes.net |
//+------------------------------------------------------------------+
#property copyright "Copyright 2013, MetaQuotes Software Corp."
#property link      "http://www.metaquotes.net"

extern string  Nama_EA                 = "Hedge_Hendrik";
extern bool    Trade_buy               = true;
extern bool    Trade_sell              = true;
extern int     Mulai_Jam               = 0;
extern int     Akhir_Jam               = 24;
extern int     TP                      = 50;
extern int     SL                      = 100;
extern double  Lots                    = 0.1;
extern int     Magic                   = 234;
//+------------------------------------------------------------------+
//| expert initialization function                                   |
//+------------------------------------------------------------------+
int init()
  {
//----
//----
   return(0);
  }
//+------------------------------------------------------------------+
//| expert deinitialization function                                 |
//+------------------------------------------------------------------+
int deinit()
  {
//----
 
//----
   return(0);
  }
//+------------------------------------------------------------------+
//| expert start function                                            |
//+------------------------------------------------------------------+
int start()
  {
//----

Comment("Mulai_Jam :",Mulai_Jam,"  Akhir_Jam : ", Akhir_Jam, "Sekarang Jam ", Hour());

if(Jam_trade()==1){
  if(jumlahorder(0)==0 && Trade_buy) {OrderSend(Symbol(),OP_BUY,Lots,Ask,3,Ask-SL*dpt(), Ask+TP*dpt(),Nama_EA,Magic,0,Blue);}
  if(jumlahorder(1)==0 && Trade_sell) {OrderSend(Symbol(),OP_SELL,Lots,Bid,3,Bid+SL*dpt(), Bid-TP*dpt(),Nama_EA,Magic,0,Red);}
 }
//----
   return(0);
  }
//+------------------------------------------------------------------+
double dpt()

{
double pt=0;
 if(Digits==3 || Digits==5) pt=10*Point;   else   pt=Point;
 return(pt);

}



int Jam_trade()
{
   bool trade = false;
   if(Mulai_Jam > Akhir_Jam){
     if (Hour() >= Mulai_Jam || Hour() < Akhir_Jam) trade = true;
   } else
     if (Hour() >= Mulai_Jam && Hour() < Akhir_Jam) trade = true;
 
   return (trade);
}

int jumlahorder( int tipe)
{
int total=0;
for(int i=0; i<OrdersTotal(); i++)
  {
      OrderSelect(i,SELECT_BY_POS,MODE_TRADES);
      if(OrderSymbol()!=Symbol() || OrderMagicNumber()!=Magic || OrderType()!=tipe) continue;
     total++;
  }

return(total);
}
//+------------------------------------------------------------------+
 

Please edit your post and use SRC button when you post code.


 

almalik234:

the problem is: break the rule of no 3, which is ("not open new positions eg; new buy / sell position, before all previous transactions in clear position.

I want is, will open a new position if both the buy and sell position is clear/close .
  if(jumlahorder(0)==0 && Trade_buy) {OrderSend(Symbol(),OP_BUY, ..
  if(jumlahorder(1)==0 && Trade_sell) {OrderSend(Symbol(),OP_SELL ..

  1. Play video
    Please edit your post.
    For large amounts of code, attach it.

  2. Where are you checking for both buy and sell counts being zero before opening.
  3. Check your return codes. What are Function return values ? How do I use them ? - MQL4 forum