Hi,
I want to make my indicator empty if between different time periods, how do i do this?
Otherwise i could use
DEFPARAM FlatBefore = xxxxxx
DEFPARAM FlatAfter = yyyyyy
But not in ProBuilder..
Thanks!
Make a time a condition and set your returned values to 0 if this condition is met.
Let’s say your return statement is as follow:
RETURN value1
Make a time condition:
condition = time>090000 and time <180000
if condition then
value1 = 0
endif
Should work in most cases, depends on your whole code, but you didn’t post it 🙂 Let us know if it’s ok.
Got it to work, if someone wants to add multiple time restrictions i used:
((time >090000 and time <130000) or (time >140000 and time<170000))
in the “if” function.
Thanks again.