Rank: Newbie
Groups: Registered Users, Subscribers Joined: 9/28/2015(UTC) Posts: 7
Thanks: 1 times
|
I want to plot Monthly High/Low on 30 min chart.
Thank You.
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers, Unverified Users Joined: 10/28/2004(UTC) Posts: 3,111 Location: Perth, Western Australia
Was thanked: 16 time(s) in 16 post(s)
|
Define "monthly".
Do you mean, the high and low this calendar month? Or, last calendar month? Or, do you want to plot the high and low of the previous 28,29,30 or 31 calendar days (dependent on the number of days in this (or last) calendar month?
|
|
|
|
Rank: Newbie
Groups: Registered Users, Subscribers Joined: 9/28/2015(UTC) Posts: 7
Thanks: 1 times
|
1st to 31st January's High/low on 1 to 31 January's 30min chart(same for previous months). and For February 1 to till today's high/low.
Thank You.
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers, Unverified Users Joined: 10/28/2004(UTC) Posts: 3,111 Location: Perth, Western Australia
Was thanked: 16 time(s) in 16 post(s)
|
A really simple version would look for when the instance when the current Month() is not the same as Month() on the previous bar; ROC() will come in handy here. Save that trigger into a variable, and then use judiciously with HighestSince() and LowestSince() and voila.
Show your working if you get stuck.
|
|
|
|
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.