TSI Strategy Automation

Forums ProRealTime English forum ProOrder support TSI Strategy Automation

Viewing 7 posts - 1 through 7 (of 7 total)
  • #106921

    Hello,

    I require assistance please? I have basic strategy which I wish to automate but unfortunately the True Strength Indicator is “not available in ProBuilder language”. I have been using the the following code obtained from a previous forum:

    Please will you assist with code for TSI(1) and TSI(2)?

    This is my strategy:

    Thanks

     

    #106927

    For clarity of messages on ProRealCode’s forums, please use the “insert code PRT” button to separate the text of the code part! Thank you! <<

    At line 8 replace parenthesis with brackets to get  TSI[1] & TSI[2].

    1 user thanked author for this post.
    #106929

    Ai, silly me. Thanks Roberto.

    #127524

    Hello, i am wondering how do we write a[1] in this exemple?

    Is it this?

     

    #127526

    Please use the ‘Insert PRT Code’ button when putting any code in your posts.

    defines what the value of ‘a’ is for every bar.

    a[1] on its own will just return the value for ‘a’ one bar back from the last bar on the chart.

     

    #127527

    Thanks for your answer so a[1] should be this right?

    Thanks for your answer so a[1] should be this right?

    I ask this because i want to find the close X such as

    Do you have a way to calculate that X?

    #127532

    You cannot assign a value to a past event.

    a[1] is the result of an assignment occurred the previous candle and is read-only.

     

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

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