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 sjsj2732, 03-23-2026, 04:31 AM
        0 responses
        76 views
        0 likes
        Last Post sjsj2732  
        Started by NullPointStrategies, 03-13-2026, 05:17 AM
        0 responses
        313 views
        0 likes
        Last Post NullPointStrategies  
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        311 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        149 views
        1 like
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        111 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Working...
        X