My TRO EAs

Moderator: moderators

User avatar
newschool
rank: 150+ posts
rank: 150+ posts
Posts: 489
Joined: Fri Aug 21, 2009 2:26 am
Reputation: 0
Gender: Male

My TRO EAs

Postby newschool » Fri Sep 11, 2009 2:08 am

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--
Last edited by newschool on Tue Sep 22, 2009 1:53 am, edited 7 times in total.

Please add www.kreslik.com to your ad blocker white list.
Thank you for your support.

User avatar
newschool
rank: 150+ posts
rank: 150+ posts
Posts: 489
Joined: Fri Aug 21, 2009 2:26 am
Reputation: 0
Gender: Male

Postby newschool » Sun Sep 13, 2009 7:00 am

You need to be logged to download this post's attachments.

Don't post the codes on other forums.
Attachments
3_Level_ZZ_Semaforea.mq4
Indicator needed for the latest version of sema EA.
(8.22 KiB) Downloaded 255 times
sema-version10dragon-eu.mq4
(17.09 KiB) Downloaded 174 times
rat-EA-version1.mq4
(11.25 KiB) Downloaded 207 times
popular expert advisors.txt
a link where you can download some widely known EAs
(46 Bytes) Downloaded 171 times
buzzard.mq4
(12.41 KiB) Downloaded 138 times
csbueno.mq4
(10.42 KiB) Downloaded 134 times
various indicators EA.mq4
For those who wanna play with stochastics,rsi,macd,bollingers,etc...
(they are all included in the code, you need to play with the source)
(12.72 KiB) Downloaded 156 times
sema-version5.mq4
(14.13 KiB) Downloaded 296 times
sema-version4.mq4
(13.64 KiB) Downloaded 161 times
Last edited by newschool on Thu Nov 12, 2009 8:44 pm, edited 15 times in total.

User avatar
PTG
rank: 500+ posts
rank: 500+ posts
Posts: 645
Joined: Thu Jan 08, 2009 2:24 pm
Reputation: 2
Gender: Male
Contact:

Re: My TRO EAs

Postby PTG » Sun Sep 13, 2009 10:54 am

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 ?
This is my new signature: "new signature".

User avatar
newschool
rank: 150+ posts
rank: 150+ posts
Posts: 489
Joined: Fri Aug 21, 2009 2:26 am
Reputation: 0
Gender: Male

Re: My TRO EAs

Postby newschool » Sun Sep 13, 2009 6:39 pm

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 ;)

User avatar
forexbob
rank: 150+ posts
rank: 150+ posts
Posts: 247
Joined: Mon Apr 20, 2009 9:52 am
Reputation: 2
Location: Planet Earth
Gender: None specified

Postby forexbob » Sun Sep 13, 2009 7:12 pm

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.
The highest Forex rebates: http://www.cashbackforex.info

Please add www.kreslik.com to your ad blocker white list.
Thank you for your support.

User avatar
newschool
rank: 150+ posts
rank: 150+ posts
Posts: 489
Joined: Fri Aug 21, 2009 2:26 am
Reputation: 0
Gender: Male

Postby newschool » Mon Sep 14, 2009 7:32 pm

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

User avatar
Patch
rank: 500+ posts
rank: 500+ posts
Posts: 941
Joined: Sat Jan 06, 2007 6:13 pm
Reputation: 0
Location: Virginia
Real name: Jeff
Gender: Male
Contact:

Postby Patch » Mon Sep 14, 2009 9:00 pm

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
ENOUGH being a Yalie for me Back to the Sea. "What i can lose, i can win" "YES YOU CAN" - dragon33 -"Pick one method and one pair and stick with them until you master it. "The choice is yours - success or failure." TRO

User avatar
forexbob
rank: 150+ posts
rank: 150+ posts
Posts: 247
Joined: Mon Apr 20, 2009 9:52 am
Reputation: 2
Location: Planet Earth
Gender: None specified

Postby forexbob » Mon Sep 14, 2009 9:05 pm

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.
The highest Forex rebates: http://www.cashbackforex.info

User avatar
newschool
rank: 150+ posts
rank: 150+ posts
Posts: 489
Joined: Fri Aug 21, 2009 2:26 am
Reputation: 0
Gender: Male

Postby newschool » Tue Sep 15, 2009 12:13 am

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.

User avatar
Patch
rank: 500+ posts
rank: 500+ posts
Posts: 941
Joined: Sat Jan 06, 2007 6:13 pm
Reputation: 0
Location: Virginia
Real name: Jeff
Gender: Male
Contact:

Postby Patch » Tue Sep 15, 2009 8:02 pm

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
Last edited by Patch on Wed Sep 16, 2009 1:58 am, edited 1 time in total.
ENOUGH being a Yalie for me Back to the Sea. "What i can lose, i can win" "YES YOU CAN" - dragon33 -"Pick one method and one pair and stick with them until you master it. "The choice is yours - success or failure." TRO

Please add www.kreslik.com to your ad blocker white list.
Thank you for your support.


Return to “MetaTrader”