Time limit

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #15508 quote
    Spekulanten
    Participant
    Average

    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

    #15513 quote
    Nicolas
    Keymaster
    Master

    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.

    #15614 quote
    Spekulanten
    Participant
    Average

    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

    #15616 quote
    Spekulanten
    Participant
    Average

    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

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.

Time limit


ProBuilder: Indicators & Custom Tools

New Reply
Author
Summary

This topic contains 3 replies,
has 2 voices, and was last updated by Spekulanten
9 years, 3 months ago.

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 10/25/2016
Status: Active
Attachments: No files
Logo Logo
Loading...