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 : Monday, September 21, 2020 5:10:46 PM(UTC)
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 : Tuesday, September 22, 2020 2:16:47 PM(UTC)
MS Support

Rank: Advanced Member

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

Thanks: 85 times
Was thanked: 154 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
Similar Topics
how to write formula to see the difference between high low in each bar (Formula Assistance)
by mymetaforum 10/21/2021 6:53:16 AM(UTC)
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.