Discussions
»
Product and Service Development
»
Formula Assistance
»
How do I combine these two in experts C>Mov(C,36,E) (condition 1) & C <(HHV(H,20)+2*ATR(10) (condition 2)
Rank: Newbie
Groups: Registered, Registered Users, Subscribers Joined: 3/9/2012(UTC) Posts: 3
|
I need to combine these two conditions so that they both need to happen before the symbol is
placed above the current price.
However, with condition 2, only have the symbol created at the start, not continuously as conditon 2 is progressing.
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 5/13/2005(UTC) Posts: 715 Location: Midwest, USA
Was thanked: 1 time(s) in 1 post(s)
|
Try the CROSS() function.
|
|
|
|
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)
|
Code:
test:=C>Mov(C,36,E) AND C <(HHV(H,20)+2*ATR(10));
{plot}
test and alert(test=0,2);
wabbit [:D]
|
|
|
|
Rank: Newbie
Groups: Registered, Registered Users, Subscribers Joined: 3/9/2012(UTC) Posts: 3
|
Thats fantastic...works well.
|
|
|
|
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)
|
No problems.... but you still have to do more homework by reading the MS User Manual and then do the exercises in the formula primer.
wabbit [:D]
P.S. ahem.... thread status?!
|
|
|
|
Users browsing this topic |
Guest (Hidden)
|
Discussions
»
Product and Service Development
»
Formula Assistance
»
How do I combine these two in experts C>Mov(C,36,E) (condition 1) & C <(HHV(H,20)+2*ATR(10) (condition 2)
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.