Rank: Advanced Member
Groups: Registered, Registered Users, Unverified Users Joined: 1/13/2005(UTC) Posts: 87 Location: perth australia
|
Hi,
Can anybody help me. It seems simple enough but hard to do. :cry:
What I want for an entry condition is: if today is an up day (c>ref(c,-1)) and the volume for today is
greater than the last up day, set entry condition to be true.
Any help greatly appreciated
Cheers
Norman
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users Joined: 1/19/2005(UTC) Posts: 1,065 Location: Koh Pha-Ngan, Earth
Was thanked: 2 time(s) in 2 post(s)
|
Norman, try this:
[code:1:1768c76b30]UpDay:=C>Ref(C,-1);
UpDayVol:=ValueWhen(1,UpDay,V);
condition:=UpDay AND V>Ref(UpDayVol,-1);
condition
[/code:1:1768c76b30]
jose '-)
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Unverified Users Joined: 1/13/2005(UTC) Posts: 87 Location: perth australia
|
Jose, Thanks for that :D
Norman
|
|
|
|
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.