♥ 0 |
Hi. I have just started working with ThinkScript, thanks to Hahn-Tech, so thank you all for that. I started with a VWAP crossover script, modified it to detect VWAP at upper/lower bands. What I would like to learn how to do next is write a script that alerts only after several conditions have occured. For instance: require price to cross over VWAP, price to cross over upper/lower VWAP band and then price to cross back across VWAP upper/lower band. How would this be done? I can see how to do it with a more-traditional programming language, by using a boolean array and then setting the array values to true as they occur and checking the values but when it comes to ThinkScript I have no idea. A pointer to a script that does something similar would be a great help. Thank you.
Marked as spam
|
Please log in to post questions.