array help

Studies that have been contributed to the community by other users. If you’ve got something useful to share, that’s great!
fibdax
Posts: 155
Joined: 03 Jan 2011
Has thanked: 10 times
Been thanked: 6 times

array help

Postby fibdax » 25 Jun 2012

I would like to create an indicator that stores the value of a macd every hour, for the last x days.
Can I create a dynamic array that has the variable days and hours fixed (always the same every day)?
This I need to compare the value of the mac today at 13.00 with the value at the same time on previous days.
Thanks to those who can 'help

User avatar
TJ
Posts: 7740
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2221 times

Re: array help

Postby TJ » 05 Jul 2012

I would like to create an indicator that stores the value of a macd every hour, for the last x days.
Can I create a dynamic array that has the variable days and hours fixed (always the same every day)?
This I need to compare the value of the mac today at 13.00 with the value at the same time on previous days.
Thanks to those who can 'help
you can use this as the starting point
viewtopic.php?f=5&t=10540


Return to “User Contributed Studies and Indicator Library”