Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Backtest-Like indicator inside market analyzer possible?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Backtest-Like indicator inside market analyzer possible?

    hello community,

    i am looking for a way to display a percent value inside market analyzer of how many times in a given period an occuring signal "worked". In case of a long-signal, "worked" means the following day is up and vice versa.

    For example: If the signal happened 10 times in the given period and 5 of the following days were up, the value should display "50" or "0.5" for 50% profitability.

    Somebody an idea how to do this? I was looking into MRO, but it doesn't seem to be the right thing in my case...

    thanks for reading.

    #2
    Hello puravida,

    Thanks for your post and question.

    The senario you are describing is one signal per day and then evaluation of the following days close. You could create a custom indicator that accepts input for the period to review, accumulates the daily signals (assuming they are exposed) and evaluates the close of the signal day to the close of the following day and based upon that provide an output to the market analyzer.

    Please let me know if I can be of further assistance.

    Comment


      #3
      Hi Paul,

      thanks for your help. Could you provide an example how to:
      "...accumulates the daily signals (assuming they are exposed)"

      Many thanks in advance.

      Comment


        #4
        Hello puravida

        Thanks for your post.

        In general terms this could be one way:

        If (dailysignalHigh) accumulateddailyhigh++

        The above if statement depends on the bool dailysignalHigh being true.

        When dailysignalHigh is true, the variable accumulateddailyhigh is incremented by 1.

        Please let me know if you have further questions.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        579 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        334 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        101 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        554 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        551 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X