Global Variables or accessing other charts?

ansu93

Newbie
Messages
3
Likes
0
Hello there everyone, I'm pretty new to TradeStation and easy language, and I'm trying to build a program in which I would need to cross reference several charts before placing an order. For example, I have a 5 min chart, a 60 min chart, and a weekly chart. Is there some way I can access the data (ie the MACD) from the 60 min and weekly chart to use on a program running on the 5 min chart? Thanks.
 
Hello there everyone, I'm pretty new to TradeStation and easy language, and I'm trying to build a program in which I would need to cross reference several charts before placing an order. For example, I have a 5 min chart, a 60 min chart, and a weekly chart. Is there some way I can access the data (ie the MACD) from the 60 min and weekly chart to use on a program running on the 5 min chart? Thanks.

use Global Variable 2.2.
 
You can simply use the 5 min, 60 minute and weekly data streams in the same chart and do away with needing to global variable anything.
 
Nevermind I figured out how to pull them all into one chart, but the scaling becomes skewed. Thanks for the help, I'll try using Global Variable instead.
 
Top