Rank: Newbie
Groups: Registered, Registered Users, Subscribers Joined: 7/30/2008(UTC) Posts: 9
|
Would like to make indicator that gives 1 when close is higher then close 1 and three bars ago. Bar number 2 is ignored
Same short should be when close is lower then close 1 and 3 bars ago. Bar number 2 is ignored again
I tried this
C > Ref(C,-1) AND C > Ref(C,-3) but does not lookcorrect.
Please help
|
|
|
|
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)
|
Your code meets the definition, so if the chart doesn't look "correct" then I would suggest that something else is wrong? Perhaps your definition of "correct" is not what you thought it was?
If you post an annotated chart, then perhaps we could be of more help?
wabbit [:D]
|
|
|
|
Rank: Newbie
Groups: Registered, Registered Users, Subscribers Joined: 7/30/2008(UTC) Posts: 9
|
Thanks a lot will try to double check it and if I need more help will contact you again
|
|
|
|
Rank: Newbie
Groups: Registered, Registered Users, Subscribers Joined: 2/13/2009(UTC) Posts: 2
|
Hallo Icko
Try modifying your code as such: {test -> check out chart in link the difference between the two is shown} C > Ref(C,-1) AND C> Ref(C,-2) AND C > Ref(C,-3) http://www.sharechat.co.za/index.php/fa/885/
|
|
|
|
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.