Declaring an array in PRT

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #60060 quote
    golhagolha
    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
    golhagolha
    Participant
    Junior

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

    #60063 quote
    NicolasNicolas
    Keymaster
    Legend

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

    golha thanked this post
    #119596 quote
    NicolasNicolas
    Keymaster
    Legend

    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.
ProRealAI ProRealAI New

Stuck on this ProBuilder code?

Describe what this topic is trying to build, in plain English, and ProRealAI writes the ProRealTime™ indicator, screener or system for you.

Available in 7 languages
Try ProRealAI

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 NicolasNicolas
6 years, 7 months ago.

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