How to use Delphi's Low() function

How to create strategies and indicators
Message
Author
User avatar
Tantalus
Posts: 302
Joined: Fri Mar 23, 2007 3:51 pm
Contact:

How to use Delphi's Low() function

#1 Postby Tantalus » Thu Dec 27, 2007 3:04 pm

Hi, Mike..

I need some help in using arrays in my strategies. According to the Delphi help file, the Low() function is used to find the lowest value for the index of an array, but you seem to have re-defined it in your API to return the low price of a certain bar. How, then, do I access the original Low() function? I need to be able to find out the size and index boundaries of my arrays...

Thx.

User avatar
Tantalus
Posts: 302
Joined: Fri Mar 23, 2007 3:51 pm
Contact:

#2 Postby Tantalus » Tue Apr 15, 2008 9:11 am

I would still like an answer to this question if possible, Mike.. It would be very helpful to be able to use arrays in my programs.

Thanks.

User avatar
Terranin
Site Admin
Posts: 833
Joined: Sat Oct 21, 2006 4:39 pm

#3 Postby Terranin » Tue Apr 15, 2008 2:27 pm

Tantalus wrote:I would still like an answer to this question if possible, Mike.. It would be very helpful to be able to use arrays in my programs.

Thanks.


Sorry I missed your question. You can use system.low() notation to avoid this problem.
Hasta la vista
Mike

User avatar
Tantalus
Posts: 302
Joined: Fri Mar 23, 2007 3:51 pm
Contact:

#4 Postby Tantalus » Tue Apr 15, 2008 8:47 pm

OK, I'll look into that. Thanks!


Return to “FT API”

Who is online

Users browsing this forum: No registered users and 13 guests