Page 1 of 8

My TRO EAs

Posted: Fri Sep 11, 2009 2:08 am
by newschool
Not many coders here... its very easy though, I learned in 1 week.

Most recent = highest number

1. buzzard EA, this one works perfect, only problem it's hard to get positive with it ahaha. Basically I tried it but I think buzzard cannot be used alone.

2. EA based on the csbueno's method in H4, just made it today. It is BETA because sometimes the i-regr center line have a lower value than in reality, I dont know this indicator well so maybe repainting? I think it could be more successful in H1, I'll need the settings for that.

3. H1 Sema3 Reversal EA version 4, tested on E/U.
Many variables can be changed inside the code , I commented them.
Now with external inputs.

--Post your results/charts here after testing to help fine tuning the EAs--

Posted: Sun Sep 13, 2009 7:00 am
by newschool
You need to be logged to download this post's attachments.

Don't post the codes on other forums.

Re: My TRO EAs

Posted: Sun Sep 13, 2009 10:54 am
by PTG
newschool wrote:Already have a buzzard EA , will be posting very soon.

Now I am adding semas and having a little trouble with the iCustom function. Here is the non-working line:

Code: Select all

double sema = iCustom(NULL,0,"3_Level_ZZ_Semafor",false,"alert.wav",5,13,34,"1,3","8,5","13,8",140,141,142, 4,Current + 0);


I think all the the inputs are correct but please post if you notice something wrong, thanks.


In case you're still having this issue: I suspect that the commas in the "1,3" "8,5" "13,8" parameters are confusing the compiler because comma's are used as separators. Which error code do you get ?

Re: My TRO EAs

Posted: Sun Sep 13, 2009 6:39 pm
by newschool
PTG wrote:
In case you're still having this issue: I suspect that the commas in the "1,3" "8,5" "13,8" parameters are confusing the compiler because comma's are used as separators. Which error code do you get ?


Those are considered strings, in that case 2 values, and recognized by the mq4 editor because they are colored in blue vs the green integers.
I dont get any errors... the EA just load the sema indicator (successfully) but doesnt do anything... thats why it must be a very simple bug. It will work soon ;)

Posted: Sun Sep 13, 2009 7:12 pm
by forexbob
hi,
just thumbs up for the initiative.
me just an old 'lazy' coder, with 2 little time
(i know, when god created time, he made plenty of it :-) )

think many methods/systems have a discretionary part in it, and because
of this an EA does not work optimal.
But probably a part of it (ENTRY) can be automated.
further it can be a good tool to play a what/if for SL & TP

on the moment i am just doing some breakout trades from the 3clipz3 method.

just as this thread further develops, wise to attach all latests versions to the first message of the thread.

Posted: Mon Sep 14, 2009 7:32 pm
by newschool
Sema EA just worked.

Here is a small screenshot of my first version in H1, having repainting issues but it is still very positive...
More to come...

Image

Posted: Mon Sep 14, 2009 9:00 pm
by Patch
newschool

Great job building your Semafors EA !!! I really like how it basically trades from 3S to 3S.

Perhaps one way to deal with the slow, sideways time, is to put in time to trade and not to trade.

How does the EA handle the 3Sema redrawing.

Patch
In VA

Posted: Mon Sep 14, 2009 9:05 pm
by forexbob
interesting your sema ea, but think trading breakouts as in 3clipz3 system would be easier then doing the reversals. when too early going for a reversal you can get in a serious drawdown. but at least with an ea you can do whatif tests on historical data.

Posted: Tue Sep 15, 2009 12:13 am
by newschool
Patch,
what do you mean by "to put in time to trade and not to trade" ?
I already implemented a small function that basically delay the entry point by waiting for a gap between the last 3sema and the Bid, you can see it in the right first trade. But as you can also see, it doesnt protect completly from repainting, the multiple Entry points and s/l at 13:00 are due to 3sema constantly moving down.

forexbob,
you know this was my first testing so I am quite happy just to be positive.
But the 3clip's method is definitely on my list.

Posted: Tue Sep 15, 2009 8:02 pm
by Patch
newschool

For your first time out of the box, newschool, you did an amazing job programming your results. AWESOME !!! Wow I wish I could do a quarter as good.

To answer your question, if you built in times to enter trades and times not to enter trades, might improve your results. I think it would be an time to enter trade on or off check.

Delaying with the 3sema floating as price continues in its direction up or down, I haven't figured out yet.

I take it that on the chart you posted that there were multiple entry and exits as shown by the various arrow heads on the chart. We solve this puzzle, and we have a real winner.

Patch
Back from DC Mall
One of the 55 People that showed up
To VA