Looking for Ulcer Index Source Code

Forums ProRealTime English forum ProBuilder support Looking for Ulcer Index Source Code

Viewing 9 posts - 1 through 9 (of 9 total)
  • #145898

    Hello, I am looking for the PRT  Ulcer Index Source Code?

    Appreciate any help thanks so much!

    #145905

    There’s a strategy based on Ulcer Index at https://www.prorealcode.com/topic/ulcer-index-system/

     

    #146007

    Hi,

    many thanks for the reply I used your code to build the ulcer index but for some reason I cant get the Ulcer Index to match the PRT one there are slight differences

    #146019

    Here is a pic of the differences any ideas how to get them the same?

    Thanks a lot

    #146049

    Try this (I coded this from memory so didn’t check syntax or result in PRT):

     

    #146068

    @juanj

    Line 3 should read:

    to replicate exactly PRT’s.

    #146078

    Thanks Robertogozzi, here is the corrected assembled code @flightclock91 can use:

     

    #146099

    Thank you so much robertogozzi and juanj 

    You guys are legends have been stuck on this for a while

    #163933

    When used in a strategy, I couldn’t get this to work, I got error message probacktest.error.’sqr’. It worked fine in an indicator though. However, changing sqr to square did the trick.

     

     

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

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