Looking to count time

To add comments, please log in or register
Nevin McKinnon
11
Nevin McKinnon  

Hello, I've been looking all over the forums and documentation and I cant find any information on my problem. I want to count the time in hours since a specific action was taken. I want it to be easily reset able and manipulable. Is there a particular "Count Time" function that I can use? 

I am trying to count the time since a trade was executed to use as my SMA. 

SMA = time since order + 1... Or something like this.  thanks! 

rod178
283
rod178  
Nevin McKinnon:

Hello, I've been looking all over the forums and documentation and I cant find any information on my problem. I want to count the time in hours since a specific action was taken. I want it to be easily reset able and manipulable. Is there a particular "Count Time" function that I can use? 

I am trying to count the time since a trade was executed to use as my SMA. 

SMA = time since order + 1... Or something like this.  thanks! 


iBarShift

To add comments, please log in or register