Forex Zone - Forex Forum

NEW EA Coding needed

Discussion started on New EA Coding

  • Sr. Member
  • Posts: 352
  • Points: 71
  • Likes Received: 150
  • Reputation: +11/-0
I need help with creating an EA.
I have the chart templates and indicators to use, the system work very well manually, now I want to let it auto trade.
Anyone who can help with writing it please




Linkback: https://www.forex.zone/new-ea-coding/26/new-ea-coding-needed/96/
#1 - July 20, 2018, 08:57:08 PM

Administrator
  • Hero Member
  • Posts: 5114
  • Points: 29361
  • Likes Received: 5122
  • Reputation: +220/-14
Please tell us exactly what you want done. For example, entry/exit rules and inputs needed. Also, attach the indicators to your next post. Then someone can understand what you want and help you.
#2 - July 20, 2018, 10:10:52 PM

NEW EA Coding needed in New EA Coding_topic=585

  • Sr. Member
  • Posts: 352
  • Points: 71
  • Likes Received: 150
  • Reputation: +11/-0
Apologies for the late reply.
I use three different ex4 indicators, 1 creates a grid, the other 2 are entry confirmation indicators. The files can't be decompiled to mq4. As these are 3 different EA's I bought and work together very well.
EG, if the grid indicator signals a down trend, the other 2 will enter sells on certain conditions, exit the trade at a set TP level with half the position and exit the rest at a trailing stop based on the trend indicator. 
The other system uses the same grid indicator, only on different time frames, enters the market on the smaller time frame based on the longer time frame direction.
I would prefer not to post the indicators, but would email it privately. The coder will have the benefit of also trading on these systems.
#3 - July 26, 2018, 08:58:25 AM

Administrator
  • Hero Member
  • Posts: 5114
  • Points: 29361
  • Likes Received: 5122
  • Reputation: +220/-14
You first said you have 3 different indicators and then you said 3 different EA's. Which is it? From what you describe, it sounds like you actually have 1 indicator and 2 EA's. Is this true?

In your first post you said you wanted to create an EA to autotrade the system for you, but now it seems you already have EA's that do this. So what is the reason you want a new EA created then? I'm just trying to understand all of what you said.
#4 - July 26, 2018, 11:40:35 AM

  • Sr. Member
  • Posts: 352
  • Points: 71
  • Likes Received: 150
  • Reputation: +11/-0
I have 3 custom indicators. All of which are in ex4 format. Let's call them IN1, IN2 and IN3.
IN1 is the grid and trend producing indicator, (also giving a trade signal when market moves through it in a up or down direction). IN 2 and 3 are the confirmation indicators for the trades
Sceanrio 1:
IN1 will give a trend on H1, EA must then enter trades (and manage trades) with the IN1 indicator on the M5 timeframe.  (So here EA must use IN1 on both H1 and M5 TF)
Eg: If IN1 on H1 is in an up trend, IN1 on M5 must enter buys at crossing the buy line and close the position when crossing the  sell line. (And vice versa for sells)
Scenario 2:
IN1 gives trend, IN2 and IN3 produce confirm signals and EA must enter and manage trades. Each timeframe has its own settings for IN2 and IN3
Hope this clears some of the confusion.
:-)
#5 - July 26, 2018, 12:05:48 PM

Administrator
  • Hero Member
  • Posts: 5114
  • Points: 29361
  • Likes Received: 5122
  • Reputation: +220/-14
It's a little clearer. So you do actually have 3 indicators. Why do you want a new EA coded if you already have 2 EA's that trade this system though? Do you have the MQL4 versions of the EA's? Maybe they can be modified if there is something small with them that doesn't meet your needs.

It's understood you don't want to share the indicators, but can you at least attach pictures of the indicators? That way, what you are saying is better understood.
#6 - July 26, 2018, 12:13:45 PM

  • Sr. Member
  • Posts: 352
  • Points: 71
  • Likes Received: 150
  • Reputation: +11/-0
There is no EA trading the system. I am trading it manually, the indicators are on the chart, and I trade on the signals, and manage the TP's and S/L's manually. I miss out on many trades, humans also need sleep :-) and there are good signals when I am not at my PC. 
I will make screen shots of each of the scenario's.
Can I send it by private message?
#7 - July 26, 2018, 12:30:10 PM

  • Sr. Member
  • Posts: 352
  • Points: 71
  • Likes Received: 150
  • Reputation: +11/-0
Here is IN1 system.
It consists of 2 trades in 1 EA.
Trade 1 as per the H1 image, only hourly trades
Trade 2 as per the M5 image, intra day trades to "scalp" the directional moves between retracements.
 
#8 - July 26, 2018, 03:42:28 PM
Attachments:

Administrator
  • Hero Member
  • Posts: 5114
  • Points: 29361
  • Likes Received: 5122
  • Reputation: +220/-14
I was just about to reply when I saw your new post with images. Yes, it would be better to post the images on the forum and thanks for doing that. That way, coders viewing the forum will have an idea of what needs done and you don't have to send the same information out multiple times later. You will get more interest from coders if some pictures can be seen too. I will review these then and get back to you with some thoughts.
#9 - July 26, 2018, 03:51:31 PM

Administrator
  • Hero Member
  • Posts: 5114
  • Points: 29361
  • Likes Received: 5122
  • Reputation: +220/-14
I have some questions about image 1. You can expect similar questions from whoever would make the EA, so I think it's best if they get answered. Here they are:

For #3, you said it remains in sell mode and that it closed down through orange. Wouldn't it be a buy signal with no confirmation? And wouldn't it be a close up through orange? That's what it looks like.

For #4, you said no new signal. Wouldn't this be a sell signal since the line crossed down through the blue line and there was a red down arrow within 3 candles of that?

For #5, you say it is a buy trade, but there is also a blue line at the same time as the red line. Is this blue line simply ignored in situations like this?
#10 - July 26, 2018, 06:08:31 PM

  • Sr. Member
  • Posts: 352
  • Points: 71
  • Likes Received: 150
  • Reputation: +11/-0
Please refer to attached image for explanation
Thanks
#11 - July 26, 2018, 09:20:44 PM
Attachments:

  • Sr. Member
  • Posts: 352
  • Points: 71
  • Likes Received: 150
  • Reputation: +11/-0
2 more things:
The arrows on the chart is from the MA CCI Indicator, file I downloaded from your site with custom setting. Each currency pair has it's own settings.
The M5 and H1 trades must stop trading, close all open positions at the next signal at a certain time, (15:00 GMT on M5) and only start trading again after a certain time (05:00 GMT on M5), again, all currencies have different time zones, eg, AUDUSD can only open new trades after 01:00 GMT, and not between 15:00 GMT and 01:00 GMT 
#12 - July 26, 2018, 11:25:58 PM

  • Sr. Member
  • Posts: 352
  • Points: 71
  • Likes Received: 150
  • Reputation: +11/-0
Sorry, I changed the IN2 to the MA RSI Arrows, and forgot.
The arrows on the chart are generated by your MA RSI Indicator
#13 - July 27, 2018, 09:34:24 AM

Administrator
  • Hero Member
  • Posts: 5114
  • Points: 29361
  • Likes Received: 5122
  • Reputation: +220/-14
I'll need some time to review everything some more. I'll get back to you about this EA soon.
#14 - July 27, 2018, 11:10:47 AM

Administrator
  • Hero Member
  • Posts: 5114
  • Points: 29361
  • Likes Received: 5122
  • Reputation: +220/-14
About your reply to #3: You said the market went up and closed on the line. Well, that is what you might see with your eyes, but the EA considers detailed values. You might know this already, but just making sure. For example, if the line is 1.50105 and the market price only went up to 1.50104 then it might look to you that the market closed on the line, but in reality the EA would consider the market still below the line. Even in the image, it looks like the value was below the line if you look closely. Then you said the next candle closed below the line. I do not see this. I see the next candle's black line clearly above the red line. So we have a black line that was below the red line and then it went above the red line the next candle. It seems the only new piece of information here that was not stated before is the direction of the black line. So it cannot simply cross as you said before, but the actual slope of the black line needs checked too.

About your reply to #5: I'm not sure what you mean, but the EA doesn't care what is visible to a human eye. It considers data such as if a value is present on a certain candle location or not. So it would see a value for a blue line at a certain candle location regardless as to whether or not you see it on the chart. The zoom level or window size or anything else hiding the blue line would not matter. I think the answer to my question is, yes, the EA would have to ignore the opposite direction line in this case.


Let me know your thoughts. It's becoming clearer:D
#15 - July 27, 2018, 02:06:13 PM

Members:

0 Members and 1 Guest are viewing this topic.