• Home
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • User/Email: Password:
  • 11:46am
  • Search
Menu
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • 11:46am
Search
Sister Sites
  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Options

Search
Search
Search

Bookmark Thread

First Page First Unread Last Page Last Post

Printable Version

Similar Threads

Semafor Trend Trading 82 replies

Hit and Run, Semafor Combo system 38 replies

Point pivot trend line and fibo system (Semafor included) 14 replies

Reading peak semafor points 4 replies

#4X 3 Semafor Alert HELP!!! 1 reply

  • Platform Tech
  • /
  • Reply to Thread
  • Subscribe
  • 64
Attachments: EA for a 3_Level_ZZ_ Semafor / Trend Tool Combo
Exit Attachments

EA for a 3_Level_ZZ_ Semafor / Trend Tool Combo

  • Last Post
  •  
  • Page 1 2345 6
  • Page 1 234 6
  •  
  • Post #1
  • Quote
  • First Post: Edited Jan 15, 2010 2:57pm Jan 12, 2010 11:03am | Edited Jan 15, 2010 2:57pm
  •  mt2414
  • | Joined Aug 2009 | Status: Member | 23 Posts
I am looking for an EA utilizing three indicators: 1) 3_Level_ZZ_ Semafor and 2) the NonLagMA_v7.1, and 3) Stoch (21,5,3).

The entry is based on the following criteria:

1. Wait for the 3_Level_ZZ_Semafor indicator #3 to appear (Period 1 = 0, Period 2 = 0, Period 3 = 34).

2. Wait for NonLagMA to match the direction of the trade.

3. Wait for the Stoch fast line >20 for a long and <80 for a short.

Stop = use the low of the 3_Level_ZZ_ Semafor candle for a long, minus 10 pips, and use the high of the candle for a short, plus 10 pips. Also, the ability to move the stop to breakeven after a +25 pip move.

Target = the opposite 3_Level_ZZ_ Semafor appearing.


Of course, the 3_Level_ZZ_ Semafor repaints which prevents reliable backtesting, but I have been maually paper trading with much success using multiple currency pairs on the H1 MetaTrader chart.


Thanks in advance for your consideration... steve
Attached Files
File Type: mq4 3_Level_ZZ_Semafor.mq4   8 KB | 12,625 downloads
File Type: mq4 NonLagMA_v7.1.mq4   6 KB | 8,147 downloads | Uploaded Jan 15, 2010 2:57pm
File Type: mq4 Stochastic.mq4   4 KB | 4,935 downloads | Uploaded Jan 15, 2010 2:57pm
  • Post #2
  • Quote
  • Edited at 12:01pm Jan 12, 2010 11:59am | Edited at 12:01pm
  •  tgiambarberee
  • | Joined Jul 2006 | Status: Confluence of events , S/R , Trend | 140 Posts
Quoting mt2414
Disliked
I am looking for an EA utilizing two indicators: 1) 3_Level_ZZ_ Semafor and 2) the Trend Tool - based on the following criteria:

1. Wait for the 3_Level_ZZ_Semafor indicator #3 to show up (Period 1 = 0, Period 2 = 0, Period 3 = 34).

2. Enter a trade as soon as the Trend Tool (length = 21) matches the direction of the trade.

Stop = use the low of the 3_Level_ZZ_ Semafor candle for a long, minus 10 pips, and use the high of the candle for a short, plus 10 pips.


Target = when the opposite 3_Level_ZZ_ Semafor shows up.


Of course, the 3_Level_ZZ_...
Ignored
thats dosnt look too safe sinse a 3 did not show up in the opposite direction if you look at the last e/u 1h . Im thinking the trend line should change color it looks safer .
  • Post #3
  • Quote
  • Jan 12, 2010 12:09pm Jan 12, 2010 12:09pm
  •  tgiambarberee
  • | Joined Jul 2006 | Status: Confluence of events , S/R , Trend | 140 Posts
Attached Image (click to enlarge)
Click to Enlarge

Name: eu.gif
Size: 25 KB
  • Post #4
  • Quote
  • Jan 12, 2010 1:51pm Jan 12, 2010 1:51pm
  •  hayseed
  • Joined Nov 2006 | Status: Member | 3,222 Posts
hey, that's neat...... someone has altered the code so now it does not repaint..... but also now the 3's won't always come in pairs so you might end up hanging.....

there will be a risk of multiple buy/sell signals before the 'opposite 3' buy/sell signal comes along..... as seen in the picture below.....

both original and altered versions shown in the picture...... the original 3 level zz semafor is plotting the magenta 3's and the indicator posted above is plotting the yellow 3's....

both 3 level zz's at this point are telling me to close my shorts and prepare to go long..... but do i trust it now, after the previous 6 yellow 3's did not maximize the move.......

will give the ea idea some thought.... it should be an easy code......h
Attached Image (click to enlarge)
Click to Enlarge

Name: 3level.gif
Size: 58 KB
to trade and code, keep both simple... no call to impress....h
  • Post #5
  • Quote
  • Jan 12, 2010 3:49pm Jan 12, 2010 3:49pm
  •  hayseed
  • Joined Nov 2006 | Status: Member | 3,222 Posts
aha, now i remember who altered the code.... the altered indicator is from tsd forum years ago..... if you set the delta to 0, it plots like the original 3level zz semaphor...... thought something was familar about it.....h
to trade and code, keep both simple... no call to impress....h
  • Post #6
  • Quote
  • Jan 12, 2010 4:47pm Jan 12, 2010 4:47pm
  •  LongBar
  • | Joined Oct 2008 | Status: Member | 219 Posts
Just to note that the Trend Tool is indeed the NonLagMA indicator as far as I could see - so better off using the NonLagMA as the mq4 is available for that one.

Also note that the NonLagMA repaints itself, kinda cheating a bit. When the colour change (trend change) has been confirmed then it repaints itself at the bar(s) where the transition took place. This gives the illusion that the indicator knew/gave change trigger upfront, however it was repainted after the event...
See the BackColor parameter of the NonLagMA, which is set to 1 and made hidden for the Trend Tool indi.

Longbar
  • Post #7
  • Quote
  • Jan 12, 2010 8:48pm Jan 12, 2010 8:48pm
  •  tgiambarberee
  • | Joined Jul 2006 | Status: Confluence of events , S/R , Trend | 140 Posts
Quoting hayseed
Disliked
aha, now i remember who altered the code.... the altered indicator is from tsd forum years ago..... if you set the delta to 0, it plots like the original 3level zz semaphor...... thought something was familar about it.....h
Ignored
Your absolutely right . I remember that indi too . I have it somewhere in my pile of indicators . Now i wish id paid more attention too it . Looks like it could be really profitable . Im really glad you were checking out the forum especially this thread . Thanks !
  • Post #8
  • Quote
  • Jan 12, 2010 9:52pm Jan 12, 2010 9:52pm
  •  mt2414
  • | Joined Aug 2009 | Status: Member | 23 Posts
Thanks Longbar - it looks like the NonLagMA_v7.1 mirrors the Trend Tool, so please utilize if that works better for you...
  • Post #9
  • Quote
  • Edited at 10:19pm Jan 12, 2010 9:55pm | Edited at 10:19pm
  •  bit9ret
  • | Joined Jan 2009 | Status: bit9ret | 370 Posts
Yes, "Trend tool" is actually the nonlag ma (not other way round). Good catch, LongBar.

It just repaints backwards by one bar as the default. Won't do much damage, or you can set it to 0 repaint.

Semaphors of course are mega repainters, but I see the idea here is to at least confirm them with a fast/robust MA turn. Good concept, mt2414.

Maybe MTF semaphors will help. I found some code for them, but it doesn't work. Maybe Hayseed, etc., can fix it. Just an idea.

Another idea: don't make it an SAR (stop and reverse/always in the market) EA, but put an exit stop at just below/above swing low/hi of last confirmed Semaphor (the one with a nonlag ma turn). You'll have quite few losers, as Hayseed's chart above shows, but not huge losers and the system won't turn into a glorified Martingale system of burying yourself fading a giant trend that keeps running against you before it turns.

It will just have to be used on a ranging pair/timeframe, or if caught by a big trend day, hope (LOL) that the low accuracy of the system will be offest by one big counterswing or end-of-trend trade/big reversal.

Misc. one more thought: another possible way of looking at a system like this is that it could perhaps be seen as a nonlag ma turn system, but one where the turn in the MA is only taken when prices (qua the yellow semaphor) are overbought/oversold (this ma is fast enough that this is viable). So the nonlag MA could be seen as the primary focus, with the Semaphors as a filter, LOL. Kind of turning things on their head, but the systems are logically equivalent.
Attached File
File Type: mq4 3_Level_ZZ_Semafor_MTF.mq4   8 KB | 5,682 downloads
  • Post #10
  • Quote
  • Jan 12, 2010 11:29pm Jan 12, 2010 11:29pm
  •  hayseed
  • Joined Nov 2006 | Status: Member | 3,222 Posts
hey bit9ret..... asystem2000 over on the tsd forum wrote the original 3level zz a few years ago.... he had a thread about it.... i modified it on that same thread to not repaint.... my version has delta as the first input..... the original does not have a delta setting.....

the mtf version you posted is calling asystem2000's original version.... if you have my version and not his, the settings will be thrown off....

we can make your mtf indicator work with both.... and also make it not repaint..... we should offset the different dots.... otherwise they will all stack on top each other......

i've modified yours, example included..... will put the finishing touches and post things later.....

not sure if asystem2000 ever got a working ea, but he had intended on creating one......h
Attached Image (click to enlarge)
Click to Enlarge

Name: 3level mtf.gif
Size: 48 KB
to trade and code, keep both simple... no call to impress....h
  • Post #11
  • Quote
  • Jan 13, 2010 2:08am Jan 13, 2010 2:08am
  •  tommbstone
  • | Joined Dec 2009 | Status: Member | 722 Posts
Quoting mt2414
Disliked
I am looking for an EA utilizing two indicators: 1) 3_Level_ZZ_ Semafor and 2) the Trend Tool - based on the following criteria:

1. Wait for the 3_Level_ZZ_Semafor indicator #3 to show up (Period 1 = 0, Period 2 = 0, Period 3 = 34).

2. Enter a trade as soon as the Trend Tool (length = 21) matches the direction of the trade.

Stop = use the low of the 3_Level_ZZ_ Semafor candle for a long, minus 10 pips, and use the high of the candle for a short, plus 10 pips.


Target = when the opposite 3_Level_ZZ_ Semafor shows up.


Of course, the 3_Level_ZZ_...
Ignored
I'm not sure I understand the rules so let me see if i'm off:
when the 3zz appears on the bottome of the PA, go long when the trend tool line turns blue. Is that correct?
  • Post #12
  • Quote
  • Jan 13, 2010 8:19am Jan 13, 2010 8:19am
  •  mt2414
  • | Joined Aug 2009 | Status: Member | 23 Posts
Tombstone and others,

When the 3zz #3 (Period 3 = 34) appears, wait for the Trend Tool (or NonLagMA) to change to match the direction (counter-trend) and enter - e.g., if the 3zz appears below the candle in a downtrend, wait for the Trend Tool (or NonLagMA) to turn to its "go long" color and enter long.

Concerning repaint, I may be wrong from and EA standpoint, but it seems to me that it doesn't matter if the 3zz #3 repaints, as long as the EA code can read when it appears, and then enter and exit on the appearance. If it repaints and the entry parameters are not met, it should wait for the next 3zz #3 appearance and continuously check for Trend Tool (or NonLagMA) compliance for entry.

Exits should simply be when the opposite 3zz #3 appears. So it shouldn't matter if it repaints to a higher/lower level because the EA exit will happen on the first appearance. And then if it does repaint, you're automatically out of your long trade for instance, and it won't enter a short trade until Trend Tool (or NonLagMA) compliance in the opposite direction.

Thanks for your interest. By the way, there were some fantastic big pip trades on multiple currencies overnight (EST)...
  • Post #13
  • Quote
  • Jan 13, 2010 8:51am Jan 13, 2010 8:51am
  •  tgiambarberee
  • | Joined Jul 2006 | Status: Confluence of events , S/R , Trend | 140 Posts
I see one on the e/u now 15m can you follow and let me know if its tradeable soon
  • Post #14
  • Quote
  • Jan 13, 2010 4:46pm Jan 13, 2010 4:46pm
  •  tgiambarberee
  • | Joined Jul 2006 | Status: Confluence of events , S/R , Trend | 140 Posts
Quoting tgiambarberee
Disliked
I see one on the e/u now 15m can you follow and let me know if its tradeable soon
Ignored
I geuss so !
  • Post #15
  • Quote
  • Jan 14, 2010 10:20am Jan 14, 2010 10:20am
  •  Jefftrader
  • | Joined Oct 2009 | Status: Member | 565 Posts
I have had the best results using Periods 23/38/69 instead of 5/12/34.


Also I know someone that trades the Daily using this technique.

Rules are pretty simple:

Wait for semafor
Wait for non lag to change (I should mention the non lag length is different on each TF)
Wait for arrow
Enter trade
Attached Image (click to enlarge)
Click to Enlarge

Name: mychart 14_jan.gif
Size: 19 KB
  • Post #16
  • Quote
  • Jan 14, 2010 2:18pm Jan 14, 2010 2:18pm
  •  mt2414
  • | Joined Aug 2009 | Status: Member | 23 Posts
Thanks for sharing Jefftrader.
Can you tell us what the arrow indicator is?
Also, any idea if there is an EA for this strategy?
  • Post #17
  • Quote
  • Feb 11, 2010 12:57pm Feb 11, 2010 12:57pm
  •  pippimp
  • | Joined Jul 2009 | Status: Member | 20 Posts
Hi Guys

Jeff - Can u tell us what the Nonlag settings are for each time frame?

Hayseed - Can you post the updated 3 ZZ semaphor MTF that does not repaint?

Thanks
Theo
  • Post #18
  • Quote
  • Feb 11, 2010 5:40pm Feb 11, 2010 5:40pm
  •  Jefftrader
  • | Joined Oct 2009 | Status: Member | 565 Posts
I only had the .ex4 for the arrows- a couple of ema crosses probably could find similar on here...IIRC it was posted on forexnirvana last year.

The pdf explains the indicator settings
But basically its:

16 on M1/M5/M15
18 on M30
20 on H4/D1

You'll have to play around, just remember that you need the color change on the suns and not the arrows
Attached File
File Type: zip non Lag.zip   565 KB | 6,848 downloads
  • Post #19
  • Quote
  • Feb 11, 2010 7:15pm Feb 11, 2010 7:15pm
  •  hayseed
  • Joined Nov 2006 | Status: Member | 3,222 Posts
Quoting pippimp
Disliked
Hi Guys
Hayseed - Can you post the updated 3 ZZ semaphor MTF that does not repaint?
Ignored
hey theo.... the 3 level zz in the first post is the the i fixed ..... it's the one with 'delta' as the first input.... the original indicator will not have that variable....


i've never worked on the mtf version.... will look at the code and see whats possible.....

there might be some more info on the tsd forum..... look for asystem2000's thread concerning it.......h
to trade and code, keep both simple... no call to impress....h
  • Post #20
  • Quote
  • Feb 12, 2010 9:45am Feb 12, 2010 9:45am
  •  pippimp
  • | Joined Jul 2009 | Status: Member | 20 Posts
Hayseed,

Are your settings saved in the 3 level ZZ Indi posted in the 1st post of the thread?

If not what are your settings for the 3 level ZZ that you use?

Thanks Hayseed.

Thanks Jeff for the settings. Much appreciated!

Theo
Thread Tools Search this Thread
Show Printable Version Show Printable Version
Email This Thread Email This Thread
Search this Thread:

Advanced Search

  • Platform Tech
  • /
  • EA for a 3_Level_ZZ_ Semafor / Trend Tool Combo
  • Reply to Thread
    • Page 1 2345 6
    • Page 1 234 6
0 traders viewing now
  • More
Top of Page
  • Facebook
  • Twitter
About FF
  • Mission
  • Products
  • User Guide
  • Media Kit
  • Blog
  • Contact
FF Products
  • Forums
  • Trades
  • Calendar
  • News
  • Market
  • Brokers
  • Trade Explorer
FF Website
  • Homepage
  • Search
  • Members
  • Report a Bug
Follow FF
  • Facebook
  • Twitter

FF Sister Sites:

  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Forex Factory® is a brand of Fair Economy, Inc.

Terms of Service / ©2019