I have several different point (range) timeframes that I want to address in a strategy how do I differentiate between the different data sources in the code?
for example:
condition1 = avg(price, number) > x {for price range compression 1}
condition2 = avg(price, number) > x {for price range compression 2}
How do you code multiple timeframes?
Re: How do you code multiple timeframes?
You can access the different data streams by reffering to them in the code.I have several different point (range) timeframes that I want to address in a strategy how do I differentiate between the different data sources in the code?
for example:
condition1 = avg(price, number) > x {for price range compression 1}
condition2 = avg(price, number) > x {for price range compression 2}
For example
Code: Select all
Close of Data(2)
There are a couple of things to take of when working with multiple datastreams, so I'd suggest to take a look at the EasyLanguage reference guides.
Chris
- Alex Kramer
- Posts: 834
- Joined: 23 Feb 2006