Forex Zone - Forex Forum

Trio

Discussion started on MT4 / MT5 EAs

  • Sr. Member
  • Posts: 352
  • Points: 71
  • Likes Received: 150
  • Reputation: +11/-0
Hi All
As a thank you to this forum, I decided to code an EA on a relatively successful trading system I personally use.
True thanks to Admin and CrazyProg for helping with the ever so annoying coding questions.
This EA used 3 MA's, but instead of just entering a trade when all the MA's are in the right direction, we wait for a retracement , ( it sends fewer signals this way, but your stops etc can be tighter now).
You can adjust the MA price and methods, so a suggestion is to run optimizer to get the right values for each pair.
A few more things:
You can hide your SL and TP from your broker, in which case the EA will not only close the orders when the prices are reached, but it will draw lines on your chart so you can see where your levels are.
Also you can choose trading times, (very basic, as I am not that skilled in coding yet to include days and minutes etc), it will only open trades between the times specified if set to "true", it will not open new trades outside the times, but it will still manage open trades if SL and TP are hidden from the broker.

Please enjoy, and any feedback will be appreciated.



Linkback: https://www.forex.zone/mt4-mt5-eas/7/trio/582/
#1 - December 05, 2018, 10:08:07 PM
Attachments:
« Last Edit: July 27, 2024, 03:30:43 PM by Admin »

Administrator
  • Hero Member
  • Posts: 5114
  • Points: 29361
  • Likes Received: 5122
  • Reputation: +220/-14
Thanks for your EA. I did some back tests and it didn't do bad. I also didn't see a lot of errors generated. So good job.
#2 - December 05, 2018, 11:10:57 PM

Trio in MT4 / MT5 EAs_topic=585

  • Sr. Member
  • Posts: 352
  • Points: 71
  • Likes Received: 150
  • Reputation: +11/-0
Maybe not many errors because I don't use the GetLastError? ;)
Do you suggest I include it?
I only use it when I am busy coding to see where I made a mistake
#3 - December 06, 2018, 02:18:25 PM

Administrator
  • Hero Member
  • Posts: 5114
  • Points: 29361
  • Likes Received: 5122
  • Reputation: +220/-14
Maybe not many errors because I don't use the GetLastError? ;)
Do you suggest I include it?
I only use it when I am busy coding to see where I made a mistake
I meant actual errors given by the MT4 and not printed from the EA. For example, if invalid stops are used then there will be an error 130. That error will occur regardless if GetLastError() is used or not.
#4 - December 06, 2018, 02:23:36 PM

  • Full Member
  • Posts: 244
  • Points: 363
  • Likes Received: 140
  • Reputation: +16/-1
Hi. I like it. Don't stop.


Maybe not many errors because I don't use the GetLastError? ;) 

Most likely you did it correctly. In any case always think - would you like to pay for your work at least $500? ;)

Good luck!
#5 - December 06, 2018, 02:32:36 PM

  • Starter
  • Posts: 1
  • Points: 0
  • Likes Received: 0
  • Reputation: +0/-0
Without  back  test  how  marked  as  good  one
#6 - December 06, 2018, 04:40:20 PM

Administrator
  • Hero Member
  • Posts: 5114
  • Points: 29361
  • Likes Received: 5122
  • Reputation: +220/-14
Without  back  test  how  marked  as  good  one
Even with a good back test, it doesn't mean an EA is good or not. Back tests are just meant for general testing and real testing is what matters.

When I said "Good job" before, I meant he did a good job in coding the EA. He is a new coder and he is sharing one of his first EAs here. Considering he is a new coder, it's a good job in my opinion.
#7 - December 06, 2018, 04:44:12 PM

  • Sr. Member
  • Posts: 352
  • Points: 71
  • Likes Received: 150
  • Reputation: +11/-0
Hi. I like it. Don't stop.


Maybe not many errors because I don't use the GetLastError? ;)

Most likely you did it correctly. In any case always think - would you like to pay for your work at least $500? ;)

Good luck!
For sure.
If I can make extra money, why not?
#8 - December 07, 2018, 04:03:35 PM

  • Full Member
  • Posts: 114
  • Points: 0
  • Likes Received: 15
  • Reputation: +0/-80
Hi All
As a thank you to this forum, I decided to code an EA on a relatively successful trading system I personally use.
True thanks to Admin and CrazyProg for helping with the ever so annoying coding questions.
This EA used 3 MA's, but instead of just entering a trade when all the MA's are in the right direction, we wait for a retracement , ( it sends fewer signals this way, but your stops etc can be tighter now).
You can adjust the MA price and methods, so a suggestion is to run optimizer to get the right values for each pair.
A few more things:
You can hide your SL and TP from your broker, in which case the EA will not only close the orders when the prices are reached, but it will draw lines on your chart so you can see where your levels are.
Also you can choose trading times, (very basic, as I am not that skilled in coding yet to include days and minutes etc), it will only open trades between the times specified if set to "true", it will not open new trades outside the times, but it will still manage open trades if SL and TP are hidden from the broker.

Please enjoy, and any feedback will be appreciated.
Have you done the backtest sir? What pair is safe, sir? I want to try but there is no capital. Hehehe

8)
#9 - February 09, 2019, 01:03:53 PM

  • Sr. Member
  • Posts: 352
  • Points: 71
  • Likes Received: 150
  • Reputation: +11/-0
Then run back tests on strategy tester, and get the pair(s) and setting which suit you.
Strategy tester is free to run.
#10 - February 09, 2019, 09:44:05 PM

  • Sr. Member
  • Posts: 352
  • Points: 71
  • Likes Received: 150
  • Reputation: +11/-0
ea good .. can I know what you shared using what MA ? ??
The EA uses the MA settings you have in the EA inputs
#11 - February 10, 2019, 08:36:21 PM

  • Jr. Member
  • Posts: 69
  • Points: 0
  • Likes Received: 4
  • Reputation: +0/-0

I am somoyo I want to know a good robot
and accurate ... if there is yes I want to try
#12 - February 10, 2019, 10:12:11 PM

  • Sr. Member
  • Posts: 352
  • Points: 71
  • Likes Received: 150
  • Reputation: +11/-0
I am somoyo I want to know a good robot
and accurate ... if there is yes I want to try
Hi Somoyo

If you have a trading idea which you want to code to a robot (or EA) there are many coders here on the forum who can help you.
Post your trading idea in the "New EA Coding" section of the forum, and I (We) can have a look at it.
#13 - February 10, 2019, 10:19:55 PM

  • Hero Member
  • Posts: 742
  • Points: 338
  • Likes Received: 55
  • Reputation: +3/-6
Have you done the backtest sir? What pair is safe, sir? I want to try but there is no capital. Hehehe

8)
if in my opinion we better do our own backtest and the point is, we know better and understand how the EA works, besides that after knowing how it works we can determine how much safe capital
#14 - February 14, 2019, 05:55:06 AM

  • Full Member
  • Posts: 122
  • Points: 0
  • Likes Received: 12
  • Reputation: +1/-0
Hi All
As a thank you to this forum, I decided to code an EA on a relatively successful trading system I personally use.
True thanks to Admin and CrazyProg for helping with the ever so annoying coding questions.
This EA used 3 MA's, but instead of just entering a trade when all the MA's are in the right direction, we wait for a retracement , ( it sends fewer signals this way, but your stops etc can be tighter now).
You can adjust the MA price and methods, so a suggestion is to run optimizer to get the right values for each pair.
A few more things:
You can hide your SL and TP from your broker, in which case the EA will not only close the orders when the prices are reached, but it will draw lines on your chart so you can see where your levels are.
Also you can choose trading times, (very basic, as I am not that skilled in coding yet to include days and minutes etc), it will only open trades between the times specified if set to "true", it will not open new trades outside the times, but it will still manage open trades if SL and TP are hidden from the broker.

Please enjoy, and any feedback will be appreciated.
Indeed EA is very easy for traders to make transactions especially those who are busy. the important thing is that EA is always updated so as not to lose
#15 - February 14, 2019, 06:30:09 AM

Members:

0 Members and 1 Guest are viewing this topic.