I have a script that works well, but looking to try to compare it to the first bar as well. I can compare it to the bar prior to it (has to be 50% or less) but finding it hard to compare it to the first bar I want (the 9:30 bar).
I am going to write 2 scripts. One to compare it to the bar prior to it (which is already done) and if does then do an action, second efs is compare the same bar but compare it to the 9:30 bar (has also to be <50% to get an action or can this be done in one script)??. The bar to be compared to is the (0) bar.
Also, how do I add a requirement that the bar(0) has to be green (UP) in this script. So far I have close(0)>open(0) to do this.
Thank you
I am going to write 2 scripts. One to compare it to the bar prior to it (which is already done) and if does then do an action, second efs is compare the same bar but compare it to the 9:30 bar (has also to be <50% to get an action or can this be done in one script)??. The bar to be compared to is the (0) bar.
Also, how do I add a requirement that the bar(0) has to be green (UP) in this script. So far I have close(0)>open(0) to do this.
Thank you
Comment