SorcererPrince
New member
declare lower;
def barTime = GetTime() / 1000; # converts time to seconds
plot seconds = barTime - barTime[1]; # number of seconds between bars
This tick timer was created by Pete Hahn by Hahn-Tech to time tick bar creations Ex 400 tick bars from one bar to another based on a readers request.
My question is, is it possible to change this to time the creation of one tick bar (ie 400) from open to close instead of from bar to bar?
def barTime = GetTime() / 1000; # converts time to seconds
plot seconds = barTime - barTime[1]; # number of seconds between bars
This tick timer was created by Pete Hahn by Hahn-Tech to time tick bar creations Ex 400 tick bars from one bar to another based on a readers request.
My question is, is it possible to change this to time the creation of one tick bar (ie 400) from open to close instead of from bar to bar?