PureBytes Links
Trading Reference Links
|
I AM TRYING TO PROGRAM AN EL INDICATOR TO RETURN(IN THE MOST EFFICIENT
MANNER POSSIBLE TO MINIMIZE CPU USAGE AND TO GAIN SPEED),
THE VALUES OF THE FOLLOWING, IN ORDER TO BE USED IN VARIOUS CONDITION TESTS
: THESE VARIABLES WOULD BE USED IN RADARSCREEN ON AN INTRADAY BASIS BUT
REFERENCING DAILY VALUES.
WEEK 1 - OPEN,CLOSE,HIGH,LOW
DAY(4) - OPEN,CLOSE,HIGH,LOW
DAY(3) - OPEN,CLOSE,HIGH,LOW
DAY(2) - OPEN,CLOSE,HIGH,LOW
DAY(1) - OPEN,CLOSE,HIGH,LOW
DAY(0) - OPEN,CLOSE,HIGH,LOW
Using opend(1), closed(1), closew(1) etc slows down tradestation too much.
As I understand, writing code with arrays is one option.
Could anyone direct me to sample code that will give these values to be used
in various condition tests, or where I might go to get the code?
Thanks
Mark Seal
|