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

Notification

Icon
Error

Options
Go to last post Go to first unread
Staggie  
#1 Posted : Monday, March 1, 2010 7:20:33 AM(UTC)
Staggie

Rank: Newbie

Groups: Registered, Registered Users, Subscribers
Joined: 3/1/2010(UTC)
Posts: 1

I am trying to use the Enhanced system tester to run the following:

Buy when 14 period CCI above 100 and the last trade broke the upper Keltner band

Sell when the 14 period CCI below -100 and the last trade broke the lower Ketlner band.

How do i programme this into the system tester?

Any help would be greatly appreciated

johnl  
#2 Posted : Monday, March 1, 2010 6:48:03 PM(UTC)
johnl

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 11/7/2005(UTC)
Posts: 602

Here is an indicator you can start with:

p1:=Fml("CCI-STD cs");
p2:=FmlVar("Keltner & Bollinger Bands","KBTOP")
;
p3:=FmlVar("Keltner & Bollinger Bands","KBBOT") ;
{------------------------------}
abuy:=(p1>100)*(Cross(C,p2));
asel:=(p1<-100)*(Cross(p3,C));
abuy;asel

Modify or replace functions as need be.


Users browsing this topic
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.