Rank: Newbie
Groups: Registered, Registered Users, Subscribers Joined: 3/5/2009(UTC) Posts: 7
|
I need assistance to create an indicator that will plot an Horizontal line at the High of the 9am candle and to change on every new 9am candle.
Any ideas are really welcome.
Thanks in Advance
Renzo
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users Joined: 11/7/2005(UTC) Posts: 602
|
Can you do something like:
a1:=If(Hour()=9am,1,0); a2:=ValueWhen(1,a1=1,H); a2
Correct the syntax of "Hour()=9am" and replace "H" with whatever you are looking for.
|
|
|
|
Rank: Newbie
Groups: Registered, Registered Users, Subscribers Joined: 3/5/2009(UTC) Posts: 7
|
Hi Johnl,
It works exactly as I need it.
Thank very much.
Renzo
|
|
|
|
Rank: Newbie
Groups: Registered, Registered Users Joined: 10/6/2010(UTC) Posts: 9
|
You could also add this line (y:=...) on shorter time frames... x:=hour()=9; y;=minutes()=0; valuewhen(1,x and y,h)
Ron
|
|
|
|
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.