NexusFi: Find Your Edge


Home Menu

 





Continuous Walk Forward Analysis (CWFA)


Discussion in MultiCharts

Updated
      Top Posters
    1. looks_one quantarb with 3 posts (4 thanks)
    2. looks_two augustco with 1 posts (0 thanks)
    3. looks_3 Jura with 1 posts (0 thanks)
    4. looks_4 shanemcdonald28 with 1 posts (0 thanks)
    1. trending_up 3,855 views
    2. thumb_up 4 thanks given
    3. group 3 followers
    1. forum 5 posts
    2. attach_file 0 attachments




 
Search this Thread

Continuous Walk Forward Analysis (CWFA)

  #1 (permalink)
 quantarb 
Wayne, NJ USA
 
Experience: Intermediate
Platform: Multicharts, Deltix DCS
Broker: Interactive Brokers/IQ Feed
Trading: ETF Options
Posts: 41 since Oct 2012
Thanks Given: 7
Thanks Received: 38

Hi guys,

I created a thread on Continuous Walk Forward Analysis (CWFA) at the Multicharts forums. I described many of its advantages versus traditional Walk Forward Analysis (WFA), and how to implement the process in Multicharts. I'm unable to fully automated the process due to certain restrictions in Multicharts.

The CWFA I did takes using time flags to the extreme as my trading strategy uses over 120 different optimal parameter sets! Would love to know what you guys think, and hopefully we can get enough support to convince Multicharts to create a fully automated version of this feature.

Thread on CWFA
MultiCharts: Trading Software for Automated Trading and [AUTOLINK]Backtesting[/AUTOLINK] ? View topic - Continuous Walk Forward Analysis (CWFA)

Project Management for CWFA
https://www.multicharts.com/pm/viewissue ... no=MC-1479

Started this thread Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
Better Renko Gaps
The Elite Circle
MC PL editor upgrade
MultiCharts
ZombieSqueeze
Platforms and Indicators
Trade idea based off three indicators.
Traders Hideout
Increase in trading performance by 75%
The Elite Circle
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Just another trading journal: PA, Wyckoff & Trends
27 thanks
Tao te Trade: way of the WLD
23 thanks
Diary of a simple price action trader
22 thanks
My NQ Trading Journal
14 thanks
GFIs1 1 DAX trade per day journal
9 thanks
  #2 (permalink)
 quantarb 
Wayne, NJ USA
 
Experience: Intermediate
Platform: Multicharts, Deltix DCS
Broker: Interactive Brokers/IQ Feed
Trading: ETF Options
Posts: 41 since Oct 2012
Thanks Given: 7
Thanks Received: 38

I figured out how to output the optimal parameter values for each out of sample day without having to refer to the WFO report. The problem is when I try to use ADE (All Data Everywhere) to store that output. For some reason, it won't store data when I asked so I can't figured out where I went wrong. Any help or suggestion would be greatly appreciated.

Input: Length(50), NumDevs(2), Optimization(True);
Variables:
varNumDevs(2), varLength(50),
Class(GetStrategyName), InfoMap(MapSN.New);

if Optimization = True then
begin
varLength = Length;
varNumDevs = NumDevs;

if LastBarOnChart and BarNumber <= 13 then
begin
Value1 = MapSN.Put(InfoMap, "Length", Length);
Value1 = MapSN.Put(InfoMap, "NumDevs", NumDevs);
Value1 = ADE.PutBarInfo(Class, GetSymbolName, 390, ADE.BarID, InfoMap);
end;
end else
begin
varLength = MapSN.Get(InfoMap, "Length");
varNumDevs = MapSn.Get(InfoMap, "NumDevs");
Value1 = ADE.GetBarInfo(Class, GetSymbolName, 390, ADE.BarID, InfoMap);
end;

if MarketPosition = 0 then
begin
Buy next bar at BollingerBand(Close, varLength, - varNumDevs) Limit;
end;

if MarketPosition = 1 then
begin
Sell next bar at BollingerBand(Close, varLength, varNumDevs) Limit;
end;

Started this thread Reply With Quote
  #3 (permalink)
 augustco 
madison,wisconsin
 
Experience: Intermediate
Platform: ninjatrader
Frequency: Daily
Duration: Hours
Posts: 36 since Jun 2011
Thanks Given: 20
Thanks Received: 21


I have a strategy that produces great net profits and good profit factors > 2.0. However the WFO I use is optimizing a 3 day period and using the optimized parameters for the next trading day.

First, I need to know if I am missing something. I assume that such short WFOs are valid. My profit factor falls off rapidly with longer periods of WFO but not going below 1.

My question is: if my WFO results are valid, does anyone have a way to update the parameters of the strategy from the WFO results without manually updating? I am looking for a sort of screen scraper that will continuously update my strategy parameters on a daily basis. I am sure someone on this forum has run across this problem.


Thanks

Reply With Quote
  #4 (permalink)
 quantarb 
Wayne, NJ USA
 
Experience: Intermediate
Platform: Multicharts, Deltix DCS
Broker: Interactive Brokers/IQ Feed
Trading: ETF Options
Posts: 41 since Oct 2012
Thanks Given: 7
Thanks Received: 38


augustco View Post
I have a strategy that produces great net profits and good profit factors > 2.0. However the WFO I use is optimizing a 3 day period and using the optimized parameters for the next trading day.

First, I need to know if I am missing something. I assume that such short WFOs are valid. My profit factor falls off rapidly with longer periods of WFO but not going below 1.

My question is: if my WFO results are valid, does anyone have a way to update the parameters of the strategy from the WFO results without manually updating? I am looking for a sort of screen scraper that will continuously update my strategy parameters on a daily basis. I am sure someone on this forum has run across this problem.


Thanks

I think your in-sample/training data should be longer than 3 days.

Started this thread Reply With Quote
Thanked by:
  #5 (permalink)
 
Jura's Avatar
 Jura   is a Vendor
 
Posts: 775 since Apr 2010
Thanks Given: 2,352
Thanks Received: 690


augustco View Post
My question is: if my WFO results are valid, does anyone have a way to update the parameters of the strategy from the WFO results without manually updating? I am looking for a sort of screen scraper that will continuously update my strategy parameters on a daily basis. I am sure someone on this forum has run across this problem.

One way to do this would be to recalculate the strategy for various inputs each day programmatically. By storing the statistic you base your WFO interpretation on (e.g., net profit) in a multiple-dimension array together with the input value, you could sort the array based on the statistic and pull the accompanying inputs from it.

Reply With Quote
  #6 (permalink)
shanemcdonald28
new york
 
Posts: 355 since Mar 2012
Thanks Given: 665
Thanks Received: 582

quantarb
Hi

Have you had any good results with your CWFA and Multicharts ?

Seems like a great idea you have.

Shane

Reply With Quote




Last Updated on September 27, 2014


© 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