PureBytes Links
Trading Reference Links
|
Using historical data to get your settings in the ball park is an OK
starting place but using current data for the final calculations will
keep you system in the groove.
Instead of setting your program to function in the past why not set
your stops dynamically with up-to-date data by calculating a stop
offset using something like ATR. In my opinion it is dangerous to use
optimized results of past market action to set trade parameters for
future markets. Calculate them with current, live data.
Barry
--- In amibroker@xxxxxxxxxxxxxxx, "gonzagags" <gonzagags@xxx> wrote:
>
> Hello
> I use very much the walk forward optimization, and I think that only
> out-of-sample data are useful data to know how your system behaves.
> So, I want to add to my system's code, both the two variables I
> optimize, changing their value as the date change.
> e.g, from 1-1-1999 to 3-31-1999, stoploss must be 5% and stopprofit,
> 3%. And, from 4-1-1999 to 6-30-1999, the values must change, 4.5% and
> 2%, for example.. and so on..
> I suppose using the switch command and some kind of variables I could
> change my stoploss and stopprofit parameters when the date change, but
> I haven't seen any similar example..
> Any idea?
> Thanks
>
------------------------------------
**** IMPORTANT ****
This group is for the discussion between users only.
This is *NOT* technical support channel.
*********************
TO GET TECHNICAL SUPPORT from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
*********************
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
For other support material please check also:
http://www.amibroker.com/support.html
*********************************
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/amibroker/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:amibroker-digest@xxxxxxxxxxxxxxx
mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx
<*> To unsubscribe from this group, send an email to:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|