How can I count the number of past signals

Forums ProRealTime English forum ProBuilder support How can I count the number of past signals

Viewing 2 posts - 1 through 2 (of 2 total)
  • #163969

    This may be a basic one but I could not find an answer in the forums etc:-). Any help appreciated!

    I have programmed plenty of signals for many indicators in the past two years, and show them in a separate window below the chart. So far so good, but this only shows me the signals graphically.

    What I am after for back-testing purposes/research etc, … I would like to get the exact numeric value /summation of signals during a specific time period.  To keep it simple, lets assume the signal is defined as the MA (8) crossing over the MA (34) on a 15 mins timeframe, and that happened 43 times in the past 3 years. I see of course the 43 signal bars…the issue though is that counting them manually is a rather tedious excercise…is there are way to get the count as a numeric value?

    Much obliged:-)!

     

    #163972

    This one returns the number of occurrences since Jan.1st 2019 (not tested):

     

Viewing 2 posts - 1 through 2 (of 2 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login