NexusFi: Find Your Edge


Home Menu

 





Fading the Open, backtesting


Discussion in Traders Hideout

Updated
    1. trending_up 1,825 views
    2. thumb_up 1 thanks given
    3. group 1 followers
    1. forum 7 posts
    2. attach_file 0 attachments




 
Search this Thread

Fading the Open, backtesting

  #1 (permalink)
 
MNSTrading's Avatar
 MNSTrading 
Grand Rapids, Michigan
 
Experience: None
Trading: Commodities and Russell
Posts: 158 since Nov 2015
Thanks Given: 59
Thanks Received: 336

Hi experienced traders! I am trying to find my edge through fading the open in the direction of the pre-open trend ( if it wasn't ranging). I trade NQ. Backtesting thorough October 2015 it worked extremely well, September, so-so. I can't go further because I can't find historical intraday data for NQU15 and previous, so 2 questions;

Any comments on my edge?

How would you choose a profit target?

What are my options for getting the historical data?

Thanks so much!

MNS.

Visit my NexusFi Trade Journal Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
REcommedations for programming help
Sierra Chart
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Exit Strategy
NinjaTrader
ZombieSqueeze
Platforms and Indicators
NexusFi Journal Challenge - May 2024
Feedback and Announcements
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Spoo-nalysis ES e-mini futures S&P 500
41 thanks
Just another trading journal: PA, Wyckoff & Trends
30 thanks
Tao te Trade: way of the WLD
24 thanks
Bigger Wins or Fewer Losses?
23 thanks
GFIs1 1 DAX trade per day journal
21 thanks
  #3 (permalink)
 hobart 
charlotte nc
 
Experience: Master
Platform: Sierra Chart, TOS, Tradestation, NinjaTrader
Trading: energy
Posts: 114 since Jul 2012
Thanks Given: 81
Thanks Received: 172


can you define your criteria more precisely? what platform are you using to do the backtest?

a lot of times for that sort of strategy, looking for a percentage of the overnight action would be a good start. most platforms would also let you run the strategy naked and then you could tabulate the mean and 1sd/2sd of your MFE over the past 200 entries, and use those as an input.

Reply With Quote
  #4 (permalink)
 
MNSTrading's Avatar
 MNSTrading 
Grand Rapids, Michigan
 
Experience: None
Trading: Commodities and Russell
Posts: 158 since Nov 2015
Thanks Given: 59
Thanks Received: 336

Here's a bit more detail. If there is a trend going into the open, I'm betting that trend will continue post open and buying the next (ten minute) candle after the trend resumes. If the open isn't countertrend I pass. I'm pretty much guaranteed momentum and if the trend resumes, it often does so with a vengeance. The win rate is 50/50 or less, but the constancy is quite high in my tests depending on my ticks. Winners can be 30 ticks or more.

So the questions are; is there a way to improve my win rate (like pass on long candles at the open for example)
and can I backtest manually or do I need to learn a platform and if so which one?
I was getting my data from barcharts.com which only goes to the beginning of the current contract.

Visit my NexusFi Trade Journal Started this thread Reply With Quote
  #5 (permalink)
 hobart 
charlotte nc
 
Experience: Master
Platform: Sierra Chart, TOS, Tradestation, NinjaTrader
Trading: energy
Posts: 114 since Jul 2012
Thanks Given: 81
Thanks Received: 172

what is a trend? define it specifically. if you are asking people to consider your strategy, you need to provide the exact details, almost like a flowchart or the code itself.

you also asked for where to get data, but did not answer what platforms you have access to. as you have already found, TWS isnt sufficient. some platforms like tradestation and sierra chart will let you easily backtest going very far back.

In general one thing you should consider is that your system is a mean reversion based trading system. You need a 2SPOOK4ME trigger so you dont step in front of crazy events. If i may recommend that you add a CCI 5, CCI 20 and CCI 50 to your system, and make note of which trades fail. You may find that there is a pattern you can use to avoid countertrend whipsaw. An example would be do not short if cci 50 is <-100 and CCI 5 > 75 because that is likely to snap back down and continue the trend.

Reply With Quote
Thanked by:
  #6 (permalink)
 
MNSTrading's Avatar
 MNSTrading 
Grand Rapids, Michigan
 
Experience: None
Trading: Commodities and Russell
Posts: 158 since Nov 2015
Thanks Given: 59
Thanks Received: 336


hobart View Post
what is a trend? define it specifically. if you are asking people to consider your strategy, you need to provide the exact details, almost like a flowchart or the code itself.

Yes! The million dollar question. Literally perhaps. By going back and taking out days that were in an obvious range pre-open, I was able to remove a bunch of losing trades and no winning ones. I had been too lenient/optimistic on the length of what I was considering trending. Thank you Thank you! I will end up trading less, but they all would have been losers anyway.

I will look at the CCI for losing trades and figure out a backtesting platform, but I'm pretty optimistic.


Visit my NexusFi Trade Journal Started this thread Reply With Quote
  #7 (permalink)
 hobart 
charlotte nc
 
Experience: Master
Platform: Sierra Chart, TOS, Tradestation, NinjaTrader
Trading: energy
Posts: 114 since Jul 2012
Thanks Given: 81
Thanks Received: 172

@MNSTrading i dont have time to explain how cci works, but here is the logic for the setups/conditions i find to be very predictive. I prefer them on 5min and daily.



float CCIdiff = abs(sc.Subgraph[0][sc.Index] - sc.Subgraph[2][sc.Index]); // Difference between 5 CCI and 50 CCI
float CCIdiff2 = abs(sc.Subgraph[0][sc.Index] - sc.Subgraph[1][sc.Index]); // Difference between 20 CCI and 50 CCI
//int poszoom = 0;
//int negzoom = 0;

/*if (sc.Subgraph[0][sc.Index] >= 100)
if (sc.Subgraph[1][sc.Index] >= 100)
if (sc.Subgraph[2][sc.Index] >= 100)
{poszoom = 1;
sc.SetAlert(7);
} // all CCI's in pos. zoom

if (poszoom = 1)
if (CCIdiff <= 20)
if (CCIdiff2 <= 20)
sc.SetAlert(30); // CCI Squeeze Positive Zoom Zone
*/

if (sc.Subgraph[0][sc.Index] >= 100)
if (sc.Subgraph[1][sc.Index] >= 100)
if (sc.Subgraph[2][sc.Index] >= 100)
{sc.SetAlert(7); // all CCI's in pos. zoom
if (CCIdiff <= 20)
if (CCIdiff2 <= 20)
sc.SetAlert(30); // CCI Squeeze Positive Zoom Zone
}

if (sc.Subgraph[0][sc.Index] <= -100)
if (sc.Subgraph[1][sc.Index] <= -100)
if (sc.Subgraph[2][sc.Index] <= -100)
{sc.SetAlert(8); // all CCI's in neg. zoom
if (CCIdiff <= 20)
if (CCIdiff2 <= 20)
sc.SetAlert(31); // CCI Squeeze Negative Zoom Zone }
}

/*if (sc.Subgraph[0][sc.Index] <= -100)
if (sc.Subgraph[1][sc.Index] <= -100)
if (sc.Subgraph[2][sc.Index] <= -100)
{negzoom = 1;
sc.SetAlert(8);
} // all CCI's in neg. zoom

if (negzoom = 1)
if (CCIdiff <= 20)
if (CCIdiff2 <= 20)
sc.SetAlert(31); // CCI Squeeze Negative Zoom Zone

negzoom = 0; // reset switches
poszoom = 0;
*/
if (sc.Subgraph[0][sc.Index] > sc.Subgraph[2][sc.Index])
if (sc.Subgraph[2][sc.Index] <= -100)
if (CCIdiff >= 150)
sc.SetAlert(9); // snap back down

if (sc.Subgraph[0][sc.Index] < sc.Subgraph[2][sc.Index])
if (sc.Subgraph[2][sc.Index] >= 100)
if (CCIdiff >= 150)
sc.SetAlert(10); // snap back UP

Reply With Quote
  #8 (permalink)
 
MNSTrading's Avatar
 MNSTrading 
Grand Rapids, Michigan
 
Experience: None
Trading: Commodities and Russell
Posts: 158 since Nov 2015
Thanks Given: 59
Thanks Received: 336

Thanks Hobart, I will look into those.
I am currently researching the possibility of trade signals as the 5 line crosses the 20.

My original fade premise does not work well enough over a range of market conditions (though it tested exceptionally well in October), but I have a modified one that I am testing now.

Visit my NexusFi Trade Journal Started this thread Reply With Quote




Last Updated on November 13, 2015


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts