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

Supply & Demand EA
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=43
Page 3 of 7
Author:  Iamshakey [ Sun Nov 20, 2011 10:48 pm ]
Post subject:  Re: Supply & Demand EA

Ribelo wrote:
If the trade goes wrong, and price moves short, the EA opens another long trade at the next S&D box, at an increased lot size. This pattern continues.
At the next S&D box above ReEntry Line.

The rest is correct.
Got it, Thanks for this

Shake :D
Author:  Ribelo [ Mon Nov 21, 2011 1:35 am ]
Post subject:  Re: Supply & Demand EA

I have a problem ... a few problems.

I am trying to create a rule for ProbabilityEnhancer ... and do not know...

First

...How to define RBD (Rally Base Drop), or RBR? Technically.

Look at the area drawn by II_SubDem.

Is this when the zone is a candle which was the highest point of the range? Range of how many candles? How much lower must be the first and the last candle in the range?

Second

...How to measure "Time at Level"?

If you do not know what I talking about see the guide
Author:  DING [ Mon Nov 21, 2011 6:07 am ]
Post subject:  Re: Supply & Demand EA

Ribelo,

I don't know whether you have seen the II_SubDem indicator description ? For you reference.

-------------------------------------------------------------------------------------------------------------------------
Displays Supply and Demand zones more-or-less in accordance with Sam Seidens teachings.
You should only use the visibility inputs if you have II_SupDem loaded multiple times on a single chart and one of them has forced.tf set to 0
A weak zone "should" represent a rally-base-rally or drop-base-drop S/D zone
There are some styling issues with the HUD

inputs:
forced.tf : 0 for current timeframe, otherwise use a valid number to show other tf zones.
draw.zones : toggle drawing of the zones themselves
solid.zones : boxes or blocks
solid.retouch : make a retouched zone solid rather than a block
recolor.retouch : change color of a retouched zone
recolor.weak.retouch : change color of a retouched 'weak' zone
zone.strength : change color of 'weak' zones
no.weak.zones : do not draw 'weak' zones at all
draw.edge.price : shows the price of the 'leading edge' of a zone
zone.width : line width if zones are not solid
zone.fibs : fib levels between closest Supply/Demand zones
fib.style
HUD.on : show the HUD
timer.on : put a bartimer next to the HUD, HUD.on must be true for this to show
layer.zone : The higher the number the closer to the 'front' the indicator objects will be, lower numbers will be more 'background' effects zones
layer.HUD : The higher the number the closer to the 'front' the indicator objects will be, lower numbers will be more 'background' effects HUD
corner.HUD, pos.x, pos.y : where to put the HUD
alert.on : make a noise if price enters (or starts a new bar in) a zone
alert.popup : popup an alert box
alert.sound : the noise the alert makes
13 color inputs

<<< visibility >>>
limit.zone.vis : leave false unless you have multiple II_SupDems on a chart and one of them is set to 0
same.tf.vis : make the forced.tf = 0 II_SupDem visible
set the forced.tf = XX to be not visible on chart tf XX, and turn the rest on.
I probably could have made that nicer, but it fell into the same cbf category as the HUD prettiness
You do not have the required permissions to view the files attached to this post.


The zones are split into two types Strong and Weak, in essence a strong zone should be rally-base-fall (fall-base-rally), and weak zones should be rally-base-rally (fall-base-fall). Weak zones can be turned off.
there is also the option to recolor the zones if they have been retouched by price. All these colors are inputs that can be changed.

The indi probably draws too many zones, expecially if you leave the weak zones on, so you will beobably have to mentally ignore some of them.
Author:  ftbr [ Wed Nov 23, 2011 9:01 am ]
Post subject:  Re: Supply & Demand EA

Ribelo wrote:
If the trade goes wrong, and price moves short, the EA opens another long trade at the next S&D box, at an increased lot size. This pattern continues.
At the next S&D box above ReEntry Line.

The rest is correct.
Ribelo, thanks so much for sharing this EA. I really like Sam's stuff and your work is great!!!

Is it possible to have a stoploss option a couple of pips under/above the supply & demand areas, as per Sam's manual trading method? I'm worried that a strong move will come through many areas of supply or demand and blow up my account. Most systems fail eventually if lot size is increased after a bad trade. All it takes is a fundamentally driven move.

Thanks again for your efforts here!!!
Author:  Ribelo [ Wed Nov 23, 2011 9:39 pm ]
Post subject:  Re: Supply & Demand EA

I'll do it for you as soon as I find a moment. In general, I have a lot of ideas, but for now I'm busy doing SimpleBeast
Author:  aekok [ Sat Nov 26, 2011 9:48 pm ]
Post subject:  Re: Supply & Demand EA

Ribelo,

Just want to say thanks for your effort on this EA
I believe this will be Profitable EA....
The Sam methods is really great, and I hope we can disscuss more on this...
Hope can give some input regarding the EA soon...
Author:  garyfritz [ Sun Nov 27, 2011 4:53 pm ]
Post subject:  Re: Supply & Demand EA

Iamshakey wrote:3. If the trade goes wrong, and price moves short, the EA opens another long trade at the next S&D box, at an increased lot size. This pattern continues.
4. The Bot now has X number of losing trades open, and the final winner will cancel out the other losers, therefore accepting the smaller losses and keeping the bigger profit.

Seems logical to me that this should work. Sooner or later, price WILL break out in your favor.
Maybe, maybe not. And your account may not survive long enough to see it. This is just a type of Martingale strategy. It can make the equity curve look great, popping you right out of losses -- but it can also blow up. One strong fundamental-driven move could kill you.

At a minimum I would want to limit this to opening no more than a specified number of trades. If those continue going into the red, you should give up and close the positions. And it will hurt.
Author:  Iamshakey [ Sat Dec 03, 2011 3:47 am ]
Post subject:  Re: Supply & Demand EA

garyfritz wrote:
Iamshakey wrote:3. If the trade goes wrong, and price moves short, the EA opens another long trade at the next S&D box, at an increased lot size. This pattern continues.
4. The Bot now has X number of losing trades open, and the final winner will cancel out the other losers, therefore accepting the smaller losses and keeping the bigger profit.

Seems logical to me that this should work. Sooner or later, price WILL break out in your favor.
Maybe, maybe not. And your account may not survive long enough to see it. This is just a type of Martingale strategy. It can make the equity curve look great, popping you right out of losses -- but it can also blow up. One strong fundamental-driven move could kill you.

At a minimum I would want to limit this to opening no more than a specified number of trades. If those continue going into the red, you should give up and close the positions. And it will hurt.
I agree with you completely with problems with martingale, and also agree with your solutions of limit trade level and shirt protection.
When left unbridled it will leave you broke, and sitting in a dark corner with a half-empty bottle of scotch every time. The only success i have ever had martingale is by interfering manually. BUT, this is better than most. Closing or turning the EA off at selected times, might save it.

I have been trading this over the last week manually, Opening and closing the trades by the rules of the EA, but managing the trades manually as well. I have been doing this with several pairs, usually having 2-5 pairs going at once. Sometimes, I manually close the initial profit trades at 20-30 pips if I think it will return to BE or move to loss. Sometimes I close combinations of 2-3 pairs when the math shows a modest and overall profit. Sometimes, close the entire basket at once when profit is around 1% of account balance.
This is on 15 min time frame with Supp-Dem set with forced TF of 30 min. I have opened the traded pretty much as mechanically as possible according to the EA, but have skipped over some signal which "just didn't look ritht to me.
Also traded all Sessions (I have an odd schedule that allows me to trade each session a couple times a week). Have even had good result early Asia.

Here are this weeks results. (I can't post actual statement since this is a little live account, and I can't figure out how to remove account # etc).

Closed Trade P/L: 13.77

Details:
Gross Profit: 18.18
Gross Loss: 4.41
Total Net Profit: 13.77
Profit Factor: 4.12
Expected Payoff: 0.22
Absolute Drawdown: 0.00
Maximal Drawdown: 1.46 (0.87%)
Relative Drawdown: 0.87% (1.46)

Total Trades: 64
Short Positions (won %): 34 (70.59%) Long Positions (won %): 30 (83.33%)

Profit Trades (% of total): 49 (76.56%) Loss trades (% of total): 15 (23.44%)

Largest
profit trade: 1.94 loss trade: -0.97

Average
profit trade: 0.37 loss trade: -0.29

Maximum
consecutive wins ($): 11 (5.38) consecutive losses ($): 3 (-1.14)

Maximal
consecutive profit (count): 5.38 (11) consecutive loss (count): -1.14 (3)

Average
consecutive wins: 4 consecutive losses: 1

Trades were usually started with 0.01 lot. Usually escalated lot size by double, but occaisionally by only on additional base lot.

Traded mostly major crosses, with the AU, AJ, and UCan thrown in.
I think using multiple pairs at a time help the winners offset the losers. The most the martingale escalated (that I remember) was, 0.01 0.02 0.04 0.08

I used Steves MTMP set on basket mode with 5% acct balance to close entire basket in case of disaster (it will probably need 10% if too many orders get larger).

Also noticed that baskets seem to move together well.

I realize that such manual judgement is almost impossible to code. If it give Ribelo any food for thought, and would like more details, let me know. I will play around with this for awhile, and may trade this more seriously once I find out what the WCS (worst case scenario) is.

Shake
Author:  DING [ Sat Dec 03, 2011 4:12 am ]
Post subject:  Re: Supply & Demand EA

nice to here the self-auto trading experience , and you are trading on 15 min time frame with Supp-Dem set with forced TF of 30 min, these is interesting to try.

thanks your information,
Author:  Iamshakey [ Sun Dec 04, 2011 1:39 am ]
Post subject:  Re: Supply & Demand EA

DING wrote:nice to here the self-auto trading experience , and you are trading on 15 min time frame with Supp-Dem set with forced TF of 30 min, these is interesting to try.

thanks your information,
I traded the system itself as presented in the PDF for a week, just individual pairs. I noticed that nearly every trade, even the losers, tend to have you in some profit territory at some point. Some profits were pitifully small.

Using the forced tf at 30 seemed to eliminate a lot of the weak zones. Sometimes, after you have opened a position, you will look back and see that the signal zone has repainted and disappeared. I just ignored this. After all, you are already in. Sometimes opened trades by limit order, sometimes manually when price had closed inside the zone. Didn't seem to make any difference.

Another thing, if you enter a position, and you are looking for the next escalation entry (the next zone) but if was a long way away, say 60-100 pips, I would stretch the fib tool between the zones. Then I pick the fib level that looks to most agree with a support of resistance level, and enter the next escaltion when it gets there.

After another week or two, I may try using the EA for entries, and manually tradiing thereafter. I am also interested in seeing if the Sup_Dem indies can be applied to the offline basket charts they are using over on the T101, and the One Ball threads over on FF. Might be a great way to basket trade.

Sorry to go off subject, Ribelo, but the thread seems pretty quiet for the time being. I think this EA has a lot of potential.

Shake
All times are UTC Page 3 of 7