logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Mr. Bungle  
#1 Posted : Saturday, March 21, 2009 3:59:05 PM(UTC)
Mr. Bungle

Rank: Newbie

Groups: Registered, Registered Users
Joined: 3/21/2009(UTC)
Posts: 3

Hello,
I would like to backtest a simple Moving-Average-system manually, klicking one bar / one day forward through the chart history. The SMAs should be centered.
My concern is:
Example: I have a 20-day SMA, I center it, so it plots 10 bars to the left (in Metastock : "Horizontal shift -10 " )
Is it possible, in the middle of the chart, to eliminate the next 10 SMA-computations of the centered MA?
This way I would have a centered SMA, only computed from the last price data, while plotted 10 bars to the left, without the look on the next 10 SMA-computations - which would mean looking in the future while backtesting manually.
This procedure should update with every click forward in the chart.
Is something like this possible in Metastock ?

best regards

Mr.Bungle

wabbit  
#2 Posted : Tuesday, April 14, 2009 9:10:30 PM(UTC)
wabbit

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers, Unverified Users
Joined: 10/28/2004(UTC)
Posts: 3,111
Location: Perth, Western Australia

Was thanked: 16 time(s) in 16 post(s)
It is impossible to trade on the last bar if using a forward referenced indicator such as the centred MA as the indicator is undefined at the time; this also makes it impossible to obtain reliable backtesting results.

There has been plenty posted on centred MAs on the forum. The little search box in the top-right corner will assist you.


Hope this helps.

wabbit [:D]

Users browsing this topic
Guest (Hidden)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.