I'm trying to identify if a word comes up in a specific object on the screen.
OK, so check the datetime of the Object, check the OrderOpenTime() for the last Orders and if you have already opened an Order based on these Objects don't open another . . .
So, I need to create a new function to check the datetime of the object, and then on the start function only open trade if datetime of the object is different than OrderOpenTime of last orders?
How can I make that first function? Make a similar function to isSignalCond and make it return datetime?
The rest of the signal conditions are like this.
I'm trying to identify if a word comes up in a specific object on the screen.
The rest of the signal conditions are like this.
I'm trying to identify if a word comes up in a specific object on the screen.
That sounds like a good idea.
So, I need to create a new function to check the datetime of the object, and then on the start function only open trade if datetime of the object is different than OrderOpenTime of last orders?
How can I make that first function? Make a similar function to isSignalCond and make it return datetime?
Thank you
Any hints?
I'm having the exact same problem. I've tried the same solution but it still is opening trades in both candles.
Any hints?