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

Notification

Icon
Error

Options
Go to last post Go to first unread
gorachand  
#1 Posted : Sunday, May 29, 2016 2:21:15 PM(UTC)
gorachand

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 2/19/2012(UTC)
Posts: 106

Thanks: 1 times
Was thanked: 1 time(s) in 1 post(s)

Hello,

        I fashioned a moving average ribbon cross over indicator by taking a base moving average 10 day exponential and adding 7 others by increasing the time period by 10 upto 80.

I tried to fashion a buy exploration for the ribbon thus (see below) and got absolutely nowhere

(Alert(Cross(Mov(C,10,E),(Mov(C,20,E))),10) AND
(Alert(Cross(Mov(C,10,E),(Mov(C,30,E))),10) AND
(Alert(Cross(Mov(C,10,E),(Mov(C,40,E))),10) AND
(Alert(Cross(Mov(C,10,E),(Mov(C,50,E))),10) AND
(Alert(Cross(Mov(C,10,E),(Mov(C,60,E))),10) AND
(Alert(Cross(Mov(C,10,E),(Mov(C,70,E))),10) AND
(Alert(Cross(Mov(C,10,E),(Mov(C,80,E))),10))))))))

Can anybody help?

Regards,

Dr.Chatterjee

 

MS Support  
#2 Posted : Thursday, June 2, 2016 3:14:48 PM(UTC)
MS Support

Rank: Advanced Member

Groups: Moderators, Registered, Registered Users, Subscribers
Joined: 10/8/2010(UTC)
Posts: 1,960

Thanks: 92 times
Was thanked: 155 time(s) in 150 post(s)
The formula appears to function, although the conditions might be somewhat rare. The best suggestion I have is to plot the formula as an indicator in a chart to test functionality. Plotting your formula in a Daily chart of Apple, the condition seems to occur roughly 6 times (it stays true after triggering for 2 days typically). The last time it triggered was in November 2015. You would probably also want to ensure you are loading enough history (do not use Load Minimum Records with Exponential calculations). 200 records should be more than enough.
gorachand  
#3 Posted : Friday, June 3, 2016 2:54:58 PM(UTC)
gorachand

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 2/19/2012(UTC)
Posts: 106

Thanks: 1 times
Was thanked: 1 time(s) in 1 post(s)

Yes ---the formula is functional but I am not satisfied. What I want is a buy signal when the ribbon collapses on itself and regenerates anew.

I tried the following

X:=(Alert(Cross(Mov(C,10,E),(Mov(C,20,E))),10) AND
(Alert(Cross(Mov(C,10,E),(Mov(C,30,E))),10) AND
(Alert(Cross(Mov(C,10,E),(Mov(C,40,E))),10) AND
(Alert(Cross(Mov(C,10,E),(Mov(C,50,E))),10) AND
(Alert(Cross(Mov(C,10,E),(Mov(C,60,E))),10) AND
(Alert(Cross(Mov(C,10,E),(Mov(C,70,E))),10) AND
(Alert(Cross(Mov(C,10,E),(Mov(C,80,E))),10))))))));

Y:=Mov(C,10,E)>Mov(C,20,E) AND Mov(C,20,E)>Mov(C,30,E) AND Mov(C,30,E)>Mov(C,40,E) AND Mov(C,40,E)>Mov(C,50,E) AND Mov(C,50,E)>Mov(C,60,E) AND Mov(C,60,E)>Mov(C,70,E);

U:=Alert(X,16) AND Y;
{Plot}
U;

This is definitely better but still gives a few false signals. Perhaps tweaking the alert periods might do.

Can anybody help?

Regards,

Dr.Chatterjee

 

 

MS Support  
#4 Posted : Friday, June 3, 2016 3:35:00 PM(UTC)
MS Support

Rank: Advanced Member

Groups: Moderators, Registered, Registered Users, Subscribers
Joined: 10/8/2010(UTC)
Posts: 1,960

Thanks: 92 times
Was thanked: 155 time(s) in 150 post(s)
Hard to say, what do you consider a false signal? Any time you use the Alert function, the longer the time periods you use would reduce the precision of the condition.
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.