Unable to court-circuit the "start" function
emmett_brown:
Hello, I am frecnh and my english is no perfect and it will be pleasant to ignore it.
I have a problem with the "start" function"; it is run at every tick, yes?
But in my EA algorythm, ther is a function wich is waiting for a new candle and I do not want resarting the sart function at every tick every time, so, this is an example of what I am saying:
So, I use the busy variable to know if the "start" function must be execute or no but it seems to not work, could you help me anybody?
- Your code will not compile - newBar not defined
- detectbar is not called as the first thing in start()
Hello, I am frecnh and my english is no perfect and it will be pleasant to ignore it.
I have a problem with the "start" function"; it is run at every tick, yes?
But in my EA algorythm, ther is a function wich is waiting for a new candle and I do not want resarting the sart function at every tick every time, so, this is an example of what I am saying: