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 : 4 years ago
SAINI9466637986

Rank: Newbie

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

please tell  me how to write the formula for today bar is between the previous day high and low

MS Support  
#2 Posted : 4 years ago
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)
Originally Posted by: SAINI9466637986 Go to Quoted Post

please tell  me how to write the formula for today bar is between the previous day high and low

Basically you just need to compare data arrays (High/Low) using the Ref function. In this case you want today's high to be less than yesterday's high and today's low to be greater than yesterday's low:

Code:
H < Ref(H,-1) AND L > Ref(L,-1)

Users browsing this topic
Guest (Hidden)
Similar Topics
how to write formula to see the difference between high low in each bar (Formula Assistance)
by mymetaforum 3 years ago
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.

information You have 1 unread message(s) in your Inbox.