Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
I am new to Multichart, i would like to use Gann square of nine as one of the strategy in multichart. I noted some codes in the net, but all are for other trading platforms/languages; therefore, i took reference and re-writed it in easy languages; however, i received "Array Bounds, Wrong index value: 1." when i put it into the chart. It compiled successfully in Powerlanguage Editor.
Anyone please can have a look and help if my code has something wrong?
Thanks!
J
Can you help answer these questions from other members on NexusFi?
your code uses a dynamic array but doesn't appear to set a size for the array. Consequently you receive the error message that states that you are trying to write something out of the bounds of your array.
From the code it doesn't appear that you need a dynamic array, but could use a static array with a max index equal to the highest index that you write to (49 in your code).