Thanks Monkeh. Gary is right the charts aren't as impressive in prior years but I think there is potential here....
I've been improving the indicator the last couple of days - fixing the email alert and working on a couple of ideas. I think I have found a way to backtest, despite the multipair limitation. I will post updates soon.
Jack
Trading the Basket Equity chart
-
jjaa
- Trader
- Posts: 17
- Joined: Sat Jul 07, 2012 10:42 am
Re: Trading the Basket Equity chart
I have updated the indicator. It's working better now but you still might have to switch timeframes occasionally. Post 1 is updated and I'll put v1.1 here too.
You do not have the required permissions to view the files attached to this post.
-
jjaa
- Trader
- Posts: 17
- Joined: Sat Jul 07, 2012 10:42 am
v1.2
After looking at some charts with 3-4 years data. it was clear "always in" would not have worked in 2011. I decided to consider a BasketStopLoss, move to BreakEven, and move to ProfitLock. The updated indicator shows these lines as shown below:
Since the BasketEquity is offset +-, the StopLoss lines are also offset, so that the StopLoss is hit if for a Long basket, the bottom green line touches the StopLoss line. For a Short basket, the StopLoss is hit if the top red line hits the StopLoss line.
I still believe we close a basket on a signal the opposite direction, and open the reverse. If the basket does not get Stopped at the SL, or BE or ProfitLock, we let it run until an opposite signal. If a chart goes parabolic, we could consider a close a top
: and wait for the next signal.
v1.2 attached
Jack
Since the BasketEquity is offset +-, the StopLoss lines are also offset, so that the StopLoss is hit if for a Long basket, the bottom green line touches the StopLoss line. For a Short basket, the StopLoss is hit if the top red line hits the StopLoss line.
I still believe we close a basket on a signal the opposite direction, and open the reverse. If the basket does not get Stopped at the SL, or BE or ProfitLock, we let it run until an opposite signal. If a chart goes parabolic, we could consider a close a top
v1.2 attached
Jack
You do not have the required permissions to view the files attached to this post.
-
jjaa
- Trader
- Posts: 17
- Joined: Sat Jul 07, 2012 10:42 am
Re: Trading the Basket Equity chart
Here's a look at CHF daily. The blue line is 200 ema. The other ma is a 21 ema applied to "First Indicator's Data" .
A possible trading plan:
Trade only in the direction of the trend, which is determined by the color of the basket equity lines.
Trade only if the 21 is above the 200 (for Long).
Wait for the bottom equity line to cross the 21 from below (for Long). To catch a pullback.
Exit when top equity line crosses the 21 from above (for Long).
Green arrow = Buy; Red = Sell, White = Exit.
A possible trading plan:
Trade only in the direction of the trend, which is determined by the color of the basket equity lines.
Trade only if the 21 is above the 200 (for Long).
Wait for the bottom equity line to cross the 21 from below (for Long). To catch a pullback.
Exit when top equity line crosses the 21 from above (for Long).
Green arrow = Buy; Red = Sell, White = Exit.
You do not have the required permissions to view the files attached to this post.
-
garyfritz
Re: Trading the Basket Equity chart
I'm not sure what you used for your bands in that experiment, but I tried whipping up a quick Tradestation test. I used 2.5*(average daily change) for my +/- offset.
My entries & exits don't look as good as yours because I acted at the daily close. If the basket equity crossed the EMA21, I entered or exited at the close. That simple system made about $1200 in 2012, $5000 in 2011, $750 in 2010, $8700 in 2008 -- but it lost $12000 in 2009! Ouch. A couple of whipsaws and a bad trade killed it in 2009.
I started out with that simple system because you can't set stops on the offsets. And in fact you can't really set entry stops on a basket at all. So the arrows you drew on your chart are a bit misleading, because that's not where the price is at that time. Maybe you could simulate that with a watch-every-tick EA -- I'm not sure.
But I pretended I could do it. If the high band crossed under the EMA21, that means the basket equity crossed under EMA21 - band. So I tried setting a short entry stops at EMA21-band, long entry stops at EMA21+band, and exiting at EMA21. That fairly closely approximates your chart, though I found I got much better results with tighter bands:
It still got killed in 2009, but it looks more promising:
It also works great on EUR and NZD, so-so on GBP and USD, not well on the others. Several currencies had huge runs in the last half of 2008 and then went sideways.
My entries & exits don't look as good as yours because I acted at the daily close. If the basket equity crossed the EMA21, I entered or exited at the close. That simple system made about $1200 in 2012, $5000 in 2011, $750 in 2010, $8700 in 2008 -- but it lost $12000 in 2009! Ouch. A couple of whipsaws and a bad trade killed it in 2009.
I started out with that simple system because you can't set stops on the offsets. And in fact you can't really set entry stops on a basket at all. So the arrows you drew on your chart are a bit misleading, because that's not where the price is at that time. Maybe you could simulate that with a watch-every-tick EA -- I'm not sure.
But I pretended I could do it. If the high band crossed under the EMA21, that means the basket equity crossed under EMA21 - band. So I tried setting a short entry stops at EMA21-band, long entry stops at EMA21+band, and exiting at EMA21. That fairly closely approximates your chart, though I found I got much better results with tighter bands:
It still got killed in 2009, but it looks more promising:
It also works great on EUR and NZD, so-so on GBP and USD, not well on the others. Several currencies had huge runs in the last half of 2008 and then went sideways.
You do not have the required permissions to view the files attached to this post.
-
jjaa
- Trader
- Posts: 17
- Joined: Sat Jul 07, 2012 10:42 am
Re: Trading the Basket Equity chart
Gary, thank-you for looking at this.
I have eliminated the StopLoss lines for now, and integrated the fastMovingAverageLine. Also a comment displays the settings., as shown below.
Version 1.3 attached, and a updated template.
Jack
I have eliminated the StopLoss lines for now, and integrated the fastMovingAverageLine. Also a comment displays the settings., as shown below.
Version 1.3 attached, and a updated template.
Jack
You do not have the required permissions to view the files attached to this post.
-
porseguro
- Trader
- Posts: 11
- Joined: Sat Dec 07, 2013 2:51 am
Re: Trading the Basket Equity chart
Hi Jack
Are you still trading this method?, I was going to give it a try but I can't get it to work on Empty4 build 600.
I was thinking of making up the basket of 5 pairs that have the most pips for the day at the start of London.
They normally retreat at London and you could pick up some good runs, worth watching for a few weeks if I could get it working. Ive updated all my files and they all work just fine.
Are you still trading this method?, I was going to give it a try but I can't get it to work on Empty4 build 600.
I was thinking of making up the basket of 5 pairs that have the most pips for the day at the start of London.
They normally retreat at London and you could pick up some good runs, worth watching for a few weeks if I could get it working. Ive updated all my files and they all work just fine.
-
jjaa
- Trader
- Posts: 17
- Joined: Sat Jul 07, 2012 10:42 am
Trading the Basket Equity chart
I looked at this for a while, but frankly lost interest.....I couldn't make money in demo or get the indicator to work properly. It would eventually get screwed up after several new bars and I would have to switch timeframes to fix it. I'm not a good enough programmer.
Jack
Jack
-
porseguro
- Trader
- Posts: 11
- Joined: Sat Dec 07, 2013 2:51 am
Trading the Basket Equity chart
OK, its a shame, looked very interesting, good look with your new projects.
I wish we could have got that indicator working.
I wish we could have got that indicator working.