Discussions
»
Product and Service Development
»
MetaStock
»
How to program condition B is only true if condition A has been triggered not more than X period ago?
Rank: Member
Groups: Registered, Registered Users Joined: 4/7/2012(UTC) Posts: 21 Location: California
|
I'd appreciate if someone can answer this question:
How to program condition B is only true if condition A has been triggered not more than X period ago.
I have a buy signal trigger, let's say it is called B, I'd like to have a filter on it to imporve its accurary, so I have another condition, let's say it is called A. I want these conditions to happen in this matter: A happens first, then within say 3 months, condition B also happens, then a buy signal is triggered (i.e., B qualifies as a buy signal). Suppose A happens, but more than 4 months has elapsed, and then B happens, no buy signal. How to program this?
Thanks very much!
|
|
|
|
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)
|
|
|
|
|
Rank: Member
Groups: Registered, Registered Users Joined: 4/7/2012(UTC) Posts: 21 Location: California
|
Thank you, Man! You are good! It works!
Another question, in the "Expert Advisor" -> "Symbols" -> "Graphic", how can I place a graphic under an indicator, instead of the price bars. I want to put an up arrow under a moving average crossover point, right now, the program put in right under the price bar when the MA crossover happens.
Thanks so much!
|
|
|
|
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)
|
Expert symbols are only attached to price.
wabbit [:D]
|
|
|
|
Rank: Member
Groups: Registered, Registered Users Joined: 4/7/2012(UTC) Posts: 21 Location: California
|
OK, I take it as it can't be done. Better to know the harsh reality than wasting my time going down a blind alley!
thank you very much!
|
|
|
|
Users browsing this topic |
Guest (Hidden)
|
Discussions
»
Product and Service Development
»
MetaStock
»
How to program condition B is only true if condition A has been triggered not more than X period ago?
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.