Hi,
How can i timelimit an indicator? For example if i only want it to show from 143000 and stop show and 163000, is it possible?
Thanks in advance
There must be a way to do it. But I believe your indicators need continuous data to compute correctly?
What type of indicators are they? Maybe you could share us the prorealtime code so we have a better view to implement this.
Hi, thanks for reply.
Something that don’t has continous data every second. Best would be if we could use a function that goes from real time minutes.
Here’s an example:
x = close < average[20](close)
if x then
count = count +1
else
count = 0
endif
return count
The example don't matter very much, the most important is that data won't come very second, but perhaps come spread out in every minute or so.
So we will have numbers spread out over the time axis, how should i get an minute average of these numbers? I should first SUM all that happened in every minute, the problem is the time function/limit.
Any suggestions?
*Minute summation*
Big thanks
Thought i was replying partly to http://www.prorealcode.com/topic/minute-average/ , which is my other thread. Maybe you can take a look at that problem also? Thanks
The point of this was to exclude a Gap or something that made an indicator jump high or low. To exclude the first minute of the day or so. Tried the Probacktest function, with timelimit but it’s not fitted for probuilder