Help Please... Need a candle counter
-
Hello and Thank you in advance.. I need to build something very simple. I need to be able to a certain number of candles into the future and then execute an order. Im having problems figuring out if every future candle is always going to be candle 0 how can I get it to be a number I want to assign to it. For example. In 3 candles from now do (X) task. I know there is a simple solution.. Im just missing it. Thanks for your help everyone..
Dazza -
@dazmed9 This loop counts candles from the x above and below of a ma, the same prinible can be used for other conditions, put the conditions in your buy & sell tree and when candle count matches any action can be taken.
-
https://fxdreema.com/shared/Hun9n4D4d
Jstap You rock!! THanks for your help... Ok this is what I am trying to do but I don't seem to be linking it up correctly. Can you have a peek at this and tell me what Im doing wrong?
-
@dazmed9 the idea if this loop is that it compares a condition on a candle then adds 1 and checks the next, so constants cant be used where you have them, if you have the loop returning what's wanted then have a separate tree with conditions to check loop you can use many options, as a general rule I have loops returning values I can use, then separately use the data.