I cant find a function to return current system clock time (wallclock time).
I need it to provide realtime filtering of price changes.
Example:
1)Time now is 18:00 ET.
2)A small cap stock's last candle was just before close at 16:29 ET and it change price by 10% say from $1 to $1.10 at the time.
Then there were no trades so no candles.
I want to filter in stocks which are moving in the last minute.
At 18:00 ET time i run filter and do not want the 10% to be taken at the account as obviously i look for price cnahes NOW, not 1.5 h ago.
If i simply take close - close[1] on 1 Min time frame - then for the stock example i will get the 10% forever/all night.
So it will looks like it is moving all night.
I know that i can find time for close and close(1) but i need to KNOW Current time i.e. 18:00 ET.
What i found that GetTime() in the context of a filter DOES NOT RETUN WALLCLOCK TIME - always returns 16:29 in my example - i.e. time of last candle close???
The same happens with all other time functions i tried (in the context of a scan filter at least).
None of them seem to return me ET or UTC time NOW???
Confused:::
I need it to provide realtime filtering of price changes.
Example:
1)Time now is 18:00 ET.
2)A small cap stock's last candle was just before close at 16:29 ET and it change price by 10% say from $1 to $1.10 at the time.
Then there were no trades so no candles.
I want to filter in stocks which are moving in the last minute.
At 18:00 ET time i run filter and do not want the 10% to be taken at the account as obviously i look for price cnahes NOW, not 1.5 h ago.
If i simply take close - close[1] on 1 Min time frame - then for the stock example i will get the 10% forever/all night.
So it will looks like it is moving all night.
I know that i can find time for close and close(1) but i need to KNOW Current time i.e. 18:00 ET.
What i found that GetTime() in the context of a filter DOES NOT RETUN WALLCLOCK TIME - always returns 16:29 in my example - i.e. time of last candle close???
The same happens with all other time functions i tried (in the context of a scan filter at least).
None of them seem to return me ET or UTC time NOW???
Confused:::