Hi,
Could someone please show me how to use a array statement in PL.
I have tried to create an array of 32 locations and init them to 0 on start up.
I am trying to store each tick price into a single array location for the duration of the bar. In this case my chart is set to 31 ticks so I created a array of 31 locations. I seem to get an error trying to do the statement below. Any help would be appreciated
Thanks
array: PriceHit[32] (0);
Usage Of A Array
- Marina Pashkova
- Posts: 2758
- Joined: 27 Jul 2007
Hi Thomas Mann,
The statement compiles successfully. Do you get an error when you try to apply the statement? Or do you get the results that are different from what you expect them to be? Could you please give us more details on the problem?
Also, the following EasyLanguage guides might be useful: https://www.TS.com/support/bo ... tarted.pdf and https://www.TS.com/support/bo ... _Guide.pdf
The statement compiles successfully. Do you get an error when you try to apply the statement? Or do you get the results that are different from what you expect them to be? Could you please give us more details on the problem?
Also, the following EasyLanguage guides might be useful: https://www.TS.com/support/bo ... tarted.pdf and https://www.TS.com/support/bo ... _Guide.pdf
-
- Posts: 173
- Joined: 25 Aug 2007
- Marina Pashkova
- Posts: 2758
- Joined: 27 Jul 2007