Evening all,
Just getting back into a bit of automation. I have attached part of the file which I am am having a problem with.
1. 1st bit of the file is the 'IN PLAY STORED PRICE', which stores the back price every refresh.
2. 2nd Lay file.(ignor the other lines in the this part of the file. Basically, once the lay has been triggered, it Stores a value of the 'MATCHED PRICE' (not totally because the price is thrown about a bit, but basically that what it does!
3. 3rd part of the file is what I call a 'Safety Net', so if the price starts wondering, it will 'close the trade and green up', if the MATCHED PRICE' falls below 85%.
It does that, that bit is cool. But the thing I dont want it to do, is to Green out straight away.Give it chance.....the price flashers in and out, and most of the time,
thats what horses/prices do.
I have tried adding 'stored value changed condition' 3 to 4 seconds but that doesnt seem to work.
Thats my question.....what can I do, if I cant use, the ''stored value changed condition', OR I could be just not putting the right info in the boxes. ANY THOUGHTS??
Thanks for your time.
Will
The other file
Stored Value, Safety Net Green Up!
Sounds like you need to increment a signal each time the price goes above your threshold. Then trigger the green if the signal reaches a value
i.e refresh time is 200ms, signal value reaches 5, then you know the price has been low\high enough for 1 second. Set it for a multiple of that if you want it to be for longer time period
Reset the signal if the value comes back within "normal" range before it hits the threshold and start the count again from 0. That means the increments have to be consecutive
i.e refresh time is 200ms, signal value reaches 5, then you know the price has been low\high enough for 1 second. Set it for a multiple of that if you want it to be for longer time period
Reset the signal if the value comes back within "normal" range before it hits the threshold and start the count again from 0. That means the increments have to be consecutive