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

Notification

Icon
Error

Options
Go to last post Go to first unread
SAINI9466637986  
#1 Posted : Sunday, July 16, 2023 3:27:15 AM(UTC)
SAINI9466637986

Rank: Newbie

Groups: Registered, Registered Users, Subscribers
Joined: 7/10/2019(UTC)
Posts: 4
Location: HISAR

Sir,

can u help in the formula in which price closed above 50 EMA for the first time in 50 days but result should be only those stock which are first time only

MS Support  
#2 Posted : Monday, July 17, 2023 8:42:51 PM(UTC)
MS Support

Rank: Advanced Member

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

Thanks: 91 times
Was thanked: 155 time(s) in 150 post(s)
Originally Posted by: SAINI9466637986 Go to Quoted Post

Sir,

can u help in the formula in which price closed above 50 EMA for the first time in 50 days but result should be only those stock which are first time only

Hello,

You could look for the cross condition in addition to using the SUM function to check that the total sum of cross conditions over 50 days is equal to 1.

Code:
Cross(C,MOV(C,50,E)) AND Sum(Cross(C,MOV(C,50,E)),50)=1

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.