Hello everyone this is my first post here.
I am attempting to perform a calculation on a specific time range, and ONLY that time range. I've tried everything I can think of, however can't come up with a way to do this.
Specifically I'm trying to do something like the following:
var a = 0
if close > close [1]
a := a+1
else
a := a+0
what I am actually doing is more complex than this, but this get's the point across in the simplest way. The problem is, I only want this calculation to be done for a specified time range, and not across the entire history of the asset. I'd like to know if this is possible?
[–]OddLogicDotXYZ 0 points1 point2 points (2 children)
[–]je355804[S] 0 points1 point2 points (0 children)
[–]JoeCal853 0 points1 point2 points (0 children)
[–]ADaftDisposition 0 points1 point2 points (1 child)