MQL4 - automated forex trading   /  

Forum

experienced MQL4 programmer offering help

Back to topics list  | 1 2 3 4 5 6 To post a new topic, please log in or register

avatar
179
tradeigel 2008.10.31 23:49 
Hi fellow traders,

I hope you all had a successful trading week.
Some of you might know me already - I can look back upon a "Forex Career" of 2.5 years.

In these two years, I've been trading and heavily developing MQL4 programs such as EAs and Scripts.
I know of many traders who are in need of a high-quality custom programming which is rare in the Forex industry.
Also, most newcomers are lost in terms of broker choice etc. looking for help from experienced Forex traders.

So if you're looking for individual advice or programming, please do not hesitate to leave your eMail or IM contacts, I'll reply as soon as possible.

I'd be more than happy to help you.

best regards,

Daniel.
article

One Server Outage

One of the servers, on which the client terminals and Expert Advisors of the Championship Participants are working, failed last Saturday. For this reason 20 Expert Advisors did not work on Monday. All Expert Advisors have become able to continue their competition by 12 a.m. on Tuesday.


avatar
55
TheRumpledOne 2008.11.01 00:01 

Feel free to contact me if you don't want to lose anymore.


Or you can google, "NEVER LOSE AGAIN" TheRumpledOne


and you find my posts.





avatar
13
nicefella31 2008.11.01 01:09 
tradeigel wrote >>
Hi fellow traders,

I hope you all had a successful trading week.
Some of you might know me already - I can look back upon a "Forex Career" of 2.5 years.

In these two years, I've been trading and heavily developing MQL4 programs such as EAs and Scripts.
I know of many traders who are in need of a high-quality custom programming which is rare in the Forex industry.
Also, most newcomers are lost in terms of broker choice etc. looking for help from experienced Forex traders.

So if you're looking for individual advice or programming, please do not hesitate to leave your eMail or IM contacts, I'll reply as soon as possible.

I'd be more than happy to help you.

best regards,

Daniel.

Hello Daniel,

I hope all is well with everyone and the recent volatility in the forex and stock has been favorable to you all.I have not been too lucky but I don't intend to to give up.

I need help with an EA am trying to develop.it is a very smal program involving displaced moving averages. unfortunately I am struggling in programming hence I would be imensely grateful if some one can help me look at the code below and fix it for me.Its seem t be a good strategy but i I have been having problems with vision bcoss of sitting too long by the computer trading hence I want it as an Ea

As can been seen in the code below(I hope it is clear enough).the idea is based on using a displaced simple moving average with a period of 5 and positive shift of 2.

for buy signals, the the difference between the dma value and the closing price of the security should be less than or equl toa certain number(for now I am experimenting with 22) and for sell signal, the diference ahould be greater than or equal that number.the maximum number open position should not exceed one.this should be part of the criteria for opening a postion.

An open buy trade should be closed when conditions for a sell trade(as mention above) exists conversely,a sell tposition should be closed when conditions for buy trade exists

I have difficulty in writting the following codes snipet for the EA:

1) code for verifying that an opnem position exist

2)code for closing an open postion

3)code for opening a positons when the conditions are met.

I will be very greatfull if you can help me look at the code below and fix /help me out of this difficulty that is giving me sleepless nite and worry.I really need help.

Looking forward to getting help from you.

cheers,

malachy

//+------------------------------------------------------------------+
//| DMA
//| Copyright © 2008, malachy
//|
//+------------------------------------------------------------------+


extern double Lots = 0.1;

e
//+------------------------------------------------------------------+
//| |
//+------------------------------------------------------------------+
int start()
{
double ma_val; // value of displaced moving simple moving average

int total; // max order
int ticket;

ma_val=iMA( NULL,0,5,2,0,0,0)

total=OrdersTotal();

if (total >= 1 && ma_value - PRICE_CLOSE >= +22)

{
OrderClose(order_id,1,Ask,5,Red);
return(0);
} //close buy trade

if (total >= 1 && ma_value - PRICE_CLOSE <= -22)

{
OrderClose(order_id,1,Bid,5,Red);
return(0);

}

//close sell trade

if (total <= 0 && ma_value - PRICE_CLOSE <= -22) // check for long possibility
{
OrderSend( string symbol, OP_BUY,1,Ask, 5,0,0,NULL, 9055500, 0,Green)
}

// buy!
if (total >= 0 && ma_value - PRICE_CLOSE >= +22) // check for short possibility

{
ticket=OrderSend( string symbol, OP_SELL, 1, Bid, 5,0,0,NULL, 9103525,0,Green)
}

//sell!

return(0);
}
// the end.



avatar
13
nicefella31 2008.11.01 01:20 
tradeigel wrote >>
Hi fellow traders,

I hope you all had a successful trading week.
Some of you might know me already - I can look back upon a "Forex Career" of 2.5 years.

In these two years, I've been trading and heavily developing MQL4 programs such as EAs and Scripts.
I know of many traders who are in need of a high-quality custom programming which is rare in the Forex industry.
Also, most newcomers are lost in terms of broker choice etc. looking for help from experienced Forex traders.

So if you're looking for individual advice or programming, please do not hesitate to leave your eMail or IM contacts, I'll reply as soon as possible.

I'd be more than happy to help you.

best regards,

Daniel.

My email address is nicefella31@yahoo.com

thank you,

Malachy


avatar
13
nicefella31 2008.11.01 03:20 
TheRumpledOne wrote >>

Feel free to contact me if you don't want to lose anymore.


Or you can google, "NEVER LOSE AGAIN" TheRumpledOne


and you find my posts.

Hello rumpled one,

I hope all is well with everyone and the recent volatility in the forex and stock has been favorable to you all.I have not been too lucky but I don't intend to to give up.

I need help with an EA am trying to develop.it is a very smal program involving displaced moving averages. unfortunately I am struggling in programming hence I would be imensely grateful if some one can help me look at the code below and fix it for me.Its an ida I have I hope to test demotrade ans see the output ..

As can been seen in the code below(I hope it is clear enough).the idea is based on using a displaced simple moving average with a period of 5 and positive shift of 2.

for buy signals, the the difference between the dma value and the closing price of the security should be less than or equl toa certain number(for now I am experimenting with 22) and for sell signal, the diference ahould be greater than or equal that number.the maximum number open position should not exceed one.this should be part of the criteria for opening a postion.

An open buy trade should be closed when conditions for a sell trade(as mention above) exists conversely,a sell tposition should be closed when conditions for buy trade exists

I have difficulty in writting the following codes snipet for the EA:

1) code for verifying that an opnem position exist

2)code for closing an open postion

3)code for opening a positons when the conditions are met.

I will be very greatfull if someone can help me look at the code below and fix help me out of this difficulty that is giving me sleepless nite and worry.I really need help.

Looking forward to getting help frpom any kind heatted person out there.

cheers,

malachy

My email address is:nicefella31@yahoo.com

//+------------------------------------------------------------------+
//| DMA
//| Copyright © 2008, malachy
//|
//+------------------------------------------------------------------+


extern double Lots = 0.1;

e
//+------------------------------------------------------------------+
//| |
//+------------------------------------------------------------------+
int start()
{
double ma_val; // value of displaced moving simple moving average

int total; // max order
int ticket;

ma_val=iMA( NULL,0,5,2,0,0,0)

total=OrdersTotal();

if (total >= 1 && ma_value - PRICE_CLOSE >= +22)

{
OrderClose(order_id,1,Ask,5,Red);
return(0);
} //close buy trade

if (total >= 1 && ma_value - PRICE_CLOSE <= -22)

{
OrderClose(order_id,1,Bid,5,Red);
return(0);

}

//close sell trade

if (total <= 0 && ma_value - PRICE_CLOSE <= -22) // check for long possibility
{
OrderSend( string symbol, OP_BUY,1,Ask, 5,0,0,NULL, 9055500, 0,Green)
}

// buy!
if (total >= 0 && ma_value - PRICE_CLOSE >= +22) // check for short possibility

{
ticket=OrderSend( string symbol, OP_SELL, 1, Bid, 5,0,0,NULL, 9103525,0,Green)
}

//sell!

return(0);
}
// the end.




avatar
24
kwng 2008.11.01 05:14 
tradeigel wrote >>
Hi fellow traders,

I hope you all had a successful trading week.
Some of you might know me already - I can look back upon a "Forex Career" of 2.5 years.

In these two years, I've been trading and heavily developing MQL4 programs such as EAs and Scripts.
I know of many traders who are in need of a high-quality custom programming which is rare in the Forex industry.
Also, most newcomers are lost in terms of broker choice etc. looking for help from experienced Forex traders.

So if you're looking for individual advice or programming, please do not hesitate to leave your eMail or IM contacts, I'll reply as soon as possible.

I'd be more than happy to help you.

best regards,

Daniel.

I have an existing indicator want to convert it to EA, I wonder can you help?

Thanks.

my email: kwng111@myway.com


Regards,

K. W. Ng


avatar
65
11011980 2008.11.02 20:39 
tradeigel wrote >>
Hi fellow traders,

I hope you all had a successful trading week.
Some of you might know me already - I can look back upon a "Forex Career" of 2.5 years.

In these two years, I've been trading and heavily developing MQL4 programs such as EAs and Scripts.
I know of many traders who are in need of a high-quality custom programming which is rare in the Forex industry.
Also, most newcomers are lost in terms of broker choice etc. looking for help from experienced Forex traders.

So if you're looking for individual advice or programming, please do not hesitate to leave your eMail or IM contacts, I'll reply as soon as possible.

I'd be more than happy to help you.

best regards,

Daniel.

Hi tradeigel,

Thanks for your offer to help,my e-mail - willyjan11@yahoo.co.uk

please contact me, i have somethings to discuss with you. till then.

Williams


avatar
12
mtandk0614 2008.11.05 19:30 

Hello tradeigel and TheRumpledOne.

I am working on an EA that is very profitable. I manually trade the system, It is actually inspired by TheRumpledOne thread on "all you need to trade is teh horizontal line". I have all the codeing finished exect a matter that I am stumped on.

Basically, I want to use a Simple Moving Average, and have a trade opened everytime the SMA crosses any price line that ends with 00 or 50.

I will be happy to provide the code I have so far or if you are able to just assist with this section of the EA I would be most grateful.

If either of you would email me, I would really appericate it. mtandk0614@yahoo.com

Thank you both.


avatar
179
tradeigel 2008.11.06 00:28 
aren't you planning on pubslishing the code in the corresponding thread? I think that's where it belongs, isn't it?

avatar
12
mtandk0614 2008.11.06 07:11 

You Betcha :)

It does open some orders...but it does not do what I am tring to get accomplished.

As stated above, I want it to open an order every time the ShortEma crosses a price line that ends in 00 or 50.

Of course Buy when it crosses above, sell when it crosses below...you will also notice that with every open order..the next order will increase it lot size...

Think of it as a "hedging + Breakout" system :)

Edit Made: Code Removed.


avatar
34
Subgenius 2008.11.06 07:19 
tradeigel wrote >>
Hi fellow traders,

I hope you all had a successful trading week.
Some of you might know me already - I can look back upon a "Forex Career" of 2.5 years.

In these two years, I've been trading and heavily developing MQL4 programs such as EAs and Scripts.
I know of many traders who are in need of a high-quality custom programming which is rare in the Forex industry.
Also, most newcomers are lost in terms of broker choice etc. looking for help from experienced Forex traders.

So if you're looking for individual advice or programming, please do not hesitate to leave your eMail or IM contacts, I'll reply as soon as possible.

I'd be more than happy to help you.

best regards,

Daniel.

How do I email you? Anyway I have a strategy system that I want coded in mql.

Please email me as soon as possible, I have full documentation.

Regards.

Brian - Subgenius@inbox.com

Attached files:
  yHeiken_Ashi_Ma_20.mq4 (3.82 KB)
Back to topics list   | 1 2 3 4 5 6  

To add comments, please log in or register