stevehopwoodforex.com
https://www.stevehopwoodforex.com/phpBB3/
Print view

TMP_iZones
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=4331
Page 3 of 5
Author:  Shoddy [ Tue Jul 21, 2015 3:30 pm ]
Post subject:  iZones

AnotherBrian » Tue Jul 21, 2015 4:13 pm wrote:
Shoddy » Tue Jul 21, 2015 5:57 am wrote:
AnotherBrian » Mon Jul 20, 2015 10:56 pm wrote:
Shoddy » Mon Jul 20, 2015 4:35 pm wrote:Interesting, I trade Supply and Demand manually, have tried to code it but failed, hope you'll do better, I've set it on H4 demo. Great!

I'm interested to know what you think about the levels it is finding. Would you have picked the same levels?
Well, they look quite good, better than I could code, do you have checks for gaps? Couldn't find any zones showing gaps.

You missed some zones, I checked GBPUSD H4 and for example you missed a DBR at the start of june that later was revisited june 5. And also on GBPUSD the whole down trend on H4 from 25/5 down to 1/6, you have this sawtooth behaviour where you have a drop and approx 5-10 bars later a revisit, no zones there, can that be tweaked?

Also, I always look at the higher time frames when trading, eg. if my trigger TF is H4 and price is dropping into a H4 demand zone then before going long I always check D1, W and M to make sure I'm not trading long into a HTF supply zone. That has bit me a couple of times already. Check the H4 trend with the higher timeframes, do they match up? Do you really want to go long H4 when the D1 or W are trending down? Better to wait until you reach a strong D1/W supply zone and go short instead of taking a counter trend trade. Won't be as many trades but I want to have as many odds as possible stacked in my favor before pulling the trigger.
//R
You can play around with the bar settings, maybe try using the 1.02 iZones (not the EA)
See what different zones are shown.

As for gap zones, the code isn;t really looking for that. I guess I should explain how this thing finds the zones? Then we can discuss how that should be done. When I started out I wanted to "score" the zones.

I agree on your higher time frame approach. I was thinking of showing one higher timeframe zones in grey colour, might be some heavy lifting for the coding though, thoughts? The alternative is to just switch TF on the chart if you use this manually. How should the EA do this?
Yes I used the 1.02 to see the zones, and played around with some parameters.
Maybe just using trend lines on H4, D, W and M would work, as long as the trend lines on higher time frames are not broken we take trades on pullbacks into S/D zones? E.g H4 asc trend line is broken, D1 and up are holding, then we wait for pullback to lower supply zone and go long from there.
It is hard to code this, need experience to know when a zone is good or not.
//R
Author:  Lowphat [ Tue Jul 21, 2015 3:39 pm ]
Post subject:  Multipair iZones (MiZ)

AnotherBrian » Mon Jul 20, 2015 11:53 am wrote:Multipair iZones (MiZ)

Also - I plan to load iZones, SSSR, and SupDem on a chart and see how similar / different the zones are. This would be interesting.
here is another one you can use to compare. a nice feature on this one is after price pushes through a level with supply changing to demand it will change color.
Author:  DocT [ Wed Jul 22, 2015 7:33 am ]
Post subject:  Multipair iZones (MiZ)

Lowphat » Tue Jul 21, 2015 3:39 pm wrote:
AnotherBrian » Mon Jul 20, 2015 11:53 am wrote:Multipair iZones (MiZ)

Also - I plan to load iZones, SSSR, and SupDem on a chart and see how similar / different the zones are. This would be interesting.
here is another one you can use to compare. a nice feature on this one is after price pushes through a level with supply changing to demand it will change color.
Lowphat

Looking at this, it is quite different from Brian's - it catches more the "tails" of price rather than true supply/demand where price accelerates away from.

Useful for those who trade Rob Hoffman's way - accumulation/distribution.

Who thought there could be so many definitions of supply & demand?

Doc
Author:  AnotherBrian [ Wed Jul 22, 2015 1:15 pm ]
Post subject:  iZones

Shoddy » Tue Jul 21, 2015 10:30 am wrote:
Yes I used the 1.02 to see the zones, and played around with some parameters.
Maybe just using trend lines on H4, D, W and M would work, as long as the trend lines on higher time frames are not broken we take trades on pullbacks into S/D zones? E.g H4 asc trend line is broken, D1 and up are holding, then we wait for pullback to lower supply zone and go long from there.
It is hard to code this, need experience to know when a zone is good or not.
//R
I agree, very hard to program but a good way to trade. Hard to code confluence, when a bunch of things all line up such as trendline and zones - yikes. Then I think of PPoS and how simple the strategy is. Can this EA use zones and be just as simple?

I was thinking to use violations of zones for trend detection, but even this has problems. The joy is that since this is a mulipair trader, we can come up with several versions or settings and run them on the same platform, and the CPU load is very low (uses a timer to execute).

BTW - if you put this on a 15M chart and let it site for 5 minutes it will send all the trades. Then switch to a H1 chart and let site for 5 minutes. Then switch to an H4....
On the weekend I hope to set up a new demo like this - just to see the win/loss ratio and the profit factor as well as how many trades per time frame trigger.

One thing AI need to fix is the zone(s) that are sending pendings. Right now it doesn't send the closest zone to price.... but at least its functioning and I'm testing the BE right now. The target and BE have inputs for a multiplier of the zone width. I'll post the demo link once it's set up. Now sure where any of this will go....
Author:  Lowphat [ Wed Jul 22, 2015 4:25 pm ]
Post subject:  iZones

thx for the tip on Hoffman i will check him out
Author:  AnotherBrian [ Thu Jul 23, 2015 3:35 am ]
Post subject:  iZones EA MyFxBook

UPDATE: The first demo account I set up had low leverage and the platform didn't allow any trades. I've set it up again and corrected the link below.

Here's demo I set-up.
Check the "General" tab on MyFxBook for settings. Click the chart below to go to the page.

For now, the settings are:
Start - BE@1, Target@3,Trail@300,Risk@1%
MinBars@3,MaxBars@5
Starting balance $10,000

I let pending orders be placed for D1, H4, and H1, and M15.
I'll continue to modify the EA as this account trades. There are bugs that are related to the zones it enters as trades, it doesn't capture all of them, but I'm working on it!

The trade comment tells you about the zone.
S=Supply
D=Demand
D240_R0.68 means Demand, 240TF (H4), and the zone range is 0.68 pips. The range is included in the comment so the EA can adjust stops, targets all based on the zone width.

To see the performance of zones on different time frames, filter by comments on the analysis page of MtFxBook.

Will be interesting...
Author:  AnotherBrian [ Wed Aug 05, 2015 2:01 pm ]
Post subject:  iZones

The demo account is fixed, see post above for details.
Author:  AnotherBrian [ Thu Aug 06, 2015 3:26 am ]
Post subject:  iZones

It's performing as I expected, horrible. Before you gang-bangers hang this EA out to dry, note that at this point it is an experiment only. I want to see how the different time frame respect the levels. I've visually went over a bunch of charts with the indi and noted that H4 and above look OK and could be profitable, but below that there are many more losers than winners.
So after a week or two I'll use MFxBook and runs some stats. It looks like the lower time frames will use the levels for breakout trades instead of reversals. We shall see. One thing of for sure, there's no shortage of pending trades!
Author:  Shoddy [ Sun Aug 09, 2015 7:09 am ]
Post subject:  iZones

AnotherBrian » Thu Aug 06, 2015 4:26 am wrote:It's performing as I expected, horrible. Before you gang-bangers hang this EA out to dry, note that at this point it is an experiment only. I want to see how the different time frame respect the levels. I've visually went over a bunch of charts with the indi and noted that H4 and above look OK and could be profitable, but below that there are many more losers than winners.
So after a week or two I'll use MFxBook and runs some stats. It looks like the lower time frames will use the levels for breakout trades instead of reversals. We shall see. One thing of for sure, there's no shortage of pending trades!
Hi,
In my experience going under H4 will not really work, S/D works better on the higher timeframes. Try to check for confluence between H4, D and Weekly, when they're all pointing in the same direction we take the trades. E.g. you don't wanna go short into a weekly demand zone, it's low probability. The W demand zone will take out the H4 supply zone with no problems at all!

//R
Author:  AnotherBrian [ Tue Dec 01, 2015 5:53 pm ]
Post subject:  TMP_iZones

Updated EA.

Multi-pair EX
Run on 1 hour or 4 hour chart. It will remove itself on any other time frames.

OOTB it will find zones that have shot out 0.5 times the width. If you change the setting to 2, the zone will probably be stronger. No Guarantee.

Uses all the symbols in the MarketWatch window.

Example
Demand zone
For a demand zone, entry is the top of the zone.
Profit target is the zone width times the profit target multiplier (input)
Stop loss is the bottom of the zone but can be adjusted using the stop loss multiplier (input). It is set at 1 so the stop will be the bottom of the zone. The make the stop larger, use a larger number. If you use 2 the stop will be the zone width times 2 from the entry.
After you attach it, pending orders are created. It will delete these on Friday and when you re-attach the EA.
MagicNumber is 966 and it only looks at it's own trades.
There is no basket profit function yet, this would only be useful if the target was set higher anyways.
Have fun.
All times are UTC Page 3 of 5