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

Notification

Icon
Error

Options
Go to last post Go to first unread
Michel79  
#1 Posted : Sunday, November 6, 2011 4:54:10 AM(UTC)
Michel79

Rank: Member

Groups: Registered, Registered Users
Joined: 11/5/2011(UTC)
Posts: 14

Hi, Another question. I'am exploring the system test function, but it gives some odd results for the indices i test. Any system test give me a linear 45 degree line upwards, which cant be correct of course. It seems to only calculate interest rates and it doesnt show any taken or sold positions when plotting the graph. Can't i test indices like AEX? Would be a bummer...(BTW: i dont have stock packages so i cant test on them if stocks do work in system)tests Thanks for any clues. grtz Michel
jjstein  
#2 Posted : Sunday, November 6, 2011 11:17:29 AM(UTC)
jjstein

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 5/13/2005(UTC)
Posts: 715
Location: Midwest, USA

Was thanked: 1 time(s) in 1 post(s)
I'd guess your system isn't generating any buy signals. Look at the reports more closely.


Michel79  
#3 Posted : Sunday, November 6, 2011 2:19:09 PM(UTC)
Michel79

Rank: Member

Groups: Registered, Registered Users
Joined: 11/5/2011(UTC)
Posts: 14

The thing is that the standard tests (like macd) generate just linear lines for AEX, Nasdaq, Hangseng, and for some other products it shows some decent results with more believable lines (fluctuating). For these latter products i also get to see the buy moments on the chart. So question is why the indices cant be tested. grtz Michel
jjstein  
#4 Posted : Sunday, November 6, 2011 3:55:14 PM(UTC)
jjstein

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 5/13/2005(UTC)
Posts: 715
Location: Midwest, USA

Was thanked: 1 time(s) in 1 post(s)
There's no reason the indices can't be tested, unless your formula uses volume -- most data sources do not have it for indices.

You'll have to post your code, if you want anyone to spot the problem.

Michel79  
#5 Posted : Monday, November 7, 2011 1:16:58 PM(UTC)
Michel79

Rank: Member

Groups: Registered, Registered Users
Joined: 11/5/2011(UTC)
Posts: 14

When i test the formula we spoke about in the other topic (sum of ROC's) i dont get the right results. Theres no volumes included that one.
jjstein  
#6 Posted : Monday, November 7, 2011 3:06:47 PM(UTC)
jjstein

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 5/13/2005(UTC)
Posts: 715
Location: Midwest, USA

Was thanked: 1 time(s) in 1 post(s)
The following settings worked for me:
-----------------------------------------------
BUY:
FmlVar("_Test","Signal")=1;

SELL:
FmlVar("_Test","Signal")=-1;

DATES is set to 12 years (3024 periods), LONG only, DEFAULT SIZE is 95% of Available Equity, all other parameters at their default.

UserPostedImage

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.