Declaring an array in PRT

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #60060 quote
    golha
    Participant
    Junior

    hi,

    Does any one know how to declare an array in PRT. There is no info in the PRT documentation about it. Simple test errors. I want to do something like this.

    Myarray(1) = 20 (for example)

    myarray(2) = 14  , ….   myarray(96) = -24   and so on

    then use it in a DO loop For 1 to 100

    Thanks

    #60061 quote
    golha
    Participant
    Junior

    to clarify, I know the dimension of array is fixed at 100

    #60063 quote
    Nicolas
    Keymaster
    Master

    Sorry, but variables arrays are not possible in PRT programming language 😐

    golha thanked this post
    #119596 quote
    Nicolas
    Keymaster
    Master

    Variables arrays should be available in a few weeks, more infos and examples, howto, in this topic: array variables availability in ProRealTime : examples and discussions

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.

Declaring an array in PRT


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
golha @golha Participant
Summary

This topic contains 3 replies,
has 2 voices, and was last updated by Nicolas
6 years ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 01/21/2018
Status: Active
Attachments: No files
Logo Logo
Loading...