I need someone to program an EA

 

hey guys,

first i'd like to say sorry if there are some mistakes, my english isn't perfect (not yet^^). I have no experience in programing but I'd like to test my trading strategy, so I need someone who can transcript my strategy in MQL. There are some companies which are programing your EA for at least 400€ (~$550) but this is too much for just testing my strategy. It's a very simple tradingsystem and I hope there's someone here who can help me. And that's my system:

It's based on the MACD. Buy-Positions shall be opened if the MACD generates a buy-signal, sell-trades if a sell-signal is generated. But the position shall be closed if the the MACD histogram decreases two times in a row. So imagine the EA ist trading on a 5 minutes chart, the position shall be closed if the MACD histogram is falling for 10 minutes. I know, the MACD is a trend-following indicator, so I decided to trade from 8am 'till 6pm (CET) because there is the highest volatility.

I hope everybody understands my aim and someone can help me.

greets from Germany :)

 

hello..

u want open position in macd touch the condition and close the open when 2 macd bar down, right...

this is the code:

extern double TakeProfit = 0;
extern double StopLose = 0;
extern double Lots = 0.1;

double Pip;


int init(){
Pip = Point;
if(Digits==3||Digits==5)Pip*=10;
TakeProfit *= Pip;
StopLose *= Pip;
}

int start()
{ 

int ticket;


  double ma1=iCustom(NULL,0,"macd",0,1);
  double ma2=iCustom(NULL,0,"macd",0,2);

if(New_Bar()){
if (ma2<0 && ma1 >0.1 && Hour()>8 && Hour()< 18)
{
ticket=OrderSend(Symbol(),OP_BUY,Lots,NormalizeDouble(Ask,4),3,NormalizeDouble(Ask-StopLose,Digits),NormalizeDouble(Ask+TakeProfit,Digits),0,Green) ;
}
for(int pos = OrdersTotal()-1; pos >= 0 ; pos--) 
if ( OrderSelect(pos, SELECT_BY_POS) )
{
if (OrderType() == OP_BUY && ma2>ma1 ){ 
           OrderClose(OrderTicket(), OrderLots(),MarketInfo(OrderSymbol(), MODE_BID), 5, Red );
}

}
}
return(0);
}



bool New_Bar()
{
static datetime New_Time=0;
if(New_Time!=Time[0]){
New_Time=Time[0];
return(true);
}
return(false);
}
 
hardyyanto:

hello..

u want open position in macd touch the condition and close the open when 2 macd bar down, right...

this is the code:


i don't know where you got this code. but:

1) signals are not valid

2) only long trades are implemented

3) not trade management

4) no error handling

so in total, unusable code!

 

hehe..

ya zzuegg...

i only give example for some help.. and not full coding..

because he said that just begin study ea, so i gave this more simple...

if he replied, i will gave improvement coding..

if give full code, will confusion..

if we can coding the long trade. so the sell is easy, only opposite coding..

hehe..

thx..

 
hardyyanto:

hehe..

ya zzuegg...

i only give example for some help.. and not full coding..

because he said that just begin study ea, so i gave this more simple...

if he replied, i will gave improvement coding..

if give full code, will confusion..

if we can coding the long trade. so the sell is easy, only opposite coding..

hehe..

thx..

you think realy your code would help him? if he is unexpirienced with programming EA's why should a code help that doesn't even work?


//z

 
demika:

hé fiúk,

Először azt szeretném mondani, sajnálom, ha van néhány hibát, az angol tudásom nem tökéletes (még nem ^ ^ ) . Nincs tapasztalatom a programozás, de szeretném kipróbálni a kereskedési stratégia, úgyhogy kell valaki, aki forgatókönyvét én stratégia MQL . Vannak olyan vállalatok, amelyek programozás az EA legalább 400 € ( ~ $ 550), de ez túl sok csak kipróbáltam a stratégiámat . Ez egy nagyon egyszerű tradingsystem és remélem van itt valaki, aki tud segítsen nekem . És ez a rendszer :

Ez alapján az MACD . Keres- pozíció kell nyitni, ha az MACD generál egy buy - jel, eladás- kereskedelem, ha eladja - jelet generál . De a helyzetet kell zárni, ha az az MACD hisztogram csökken kétszer egymás után . Így elképzelhető az EA ist kereskedés 5 perces chart, a pozíció be kell zárni, ha az MACD hisztogram alá 10 percig . Tudom, az MACD egy trend - követő indikátor, ezért úgy döntöttem, hogy a kereskedelem reggel 8-tól "-ig 18:00 ( CET ), mert ott a legmagasabb volatilitási .

Remélem mindenki érti a célom, és valaki tud segítsen nekem .

köszönti Németország : )


Hello! Strategy is perfect for me, but so far no one has helped me to be able to write to the EA
 

fia, ha tud segítsen nekem a program ?

 
hardyyanto:

hehe ..

ya zzuegg ...

Csak hogy példát egy kis segítség .. és nem teljes kódolás ..

mert azt mondta, hogy csak kezd tanulmány ea, tehát én adta ezt egyszerűbb ...

Ha azt felelte, én is adtam javító kódolás ..

ha teljes mértékben kódot, majd zavart ..

ha tudjuk kódoló a hosszú kereskedelmet. így a könnyű eladni, csak ellenkező kódolás ..

hehe ..

thx ..


you can be programmed so well?
 
tutisanyi:

fia, ha tud segítsen nekem a program ?


Apa, miért van nem egy programozó
 
qjol:

Apa, MIÉRT van tartózkodás mellett EGY programozó

speaks little English
EA can you help me write?
 

I have a suggestion for you, try http://sufx.core.t3-ism.net/ExpertAdvisorBuilder/

Reason: