PowerScript on Multiple Symbols and Multiple Timeframe ?

Questions about MultiCharts and user contributed studies.
Gale99
Posts: 11
Joined: 24 Oct 2010

PowerScript on Multiple Symbols and Multiple Timeframe ?

Postby Gale99 » 24 Oct 2010

Hi,

I wonder if we can access multiple symbols and mutlple timeframes on powerscript ? and can it access on different source ?

Example:

- I want to Buy when Eurusd on 5min
when
- macd cross up on eurusd 5min , and macd > 0 on eurusd 1hr
- macd on gbpusd 1hr > 0
- Future Dollar (from different source like IQfeed) macd < 0

Could these 3 scenario be done on Powerscript ?

Thanks.

User avatar
TJ
Posts: 6572
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 968 times
Been thanked: 1902 times

Re: PowerScript on Multiple Symbols and Multiple Timeframe ?

Postby TJ » 24 Oct 2010

Gale99 wrote:Hi,

I wonder if we can access multiple symbols and mutlple timeframes on powerscript ? and can it access on different source ?

Example:

- I want to Buy when Eurusd on 5min
when
- macd cross up on eurusd 5min , and macd > 0 on eurusd 1hr
- macd on gbpusd 1hr > 0
- Future Dollar (from different source like IQfeed) macd < 0

Could these 3 scenario be done on Powerscript ?

Thanks.


see post #4
viewtopic.php?f=16&t=6929

Gale99
Posts: 11
Joined: 24 Oct 2010

Re: PowerScript on Multiple Symbols and Multiple Timeframe ?

Postby Gale99 » 24 Oct 2010

Thanks, i've just had a quick look at the manual , as i understand we have to attach symbols , indicators timeframe on same chart that we want to access via powerscript? is that correct ?

p.s im new to EL.

User avatar
TJ
Posts: 6572
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 968 times
Been thanked: 1902 times

Re: PowerScript on Multiple Symbols and Multiple Timeframe ?

Postby TJ » 24 Oct 2010

Gale99 wrote:Thanks, i've just had a quick look at the manual , as i understand we have to attach symbols , indicators timeframe on same chart that we want to access via powerscript? is that correct ?

p.s im new to EL.


for quick programming, yes, you just attach all the symbols and time frames in the same chart.


For advanced programming, you can search for more reading material in:
Globalvariable v2.2, ELCollections, ADE (All Data Everywhere).


Return to “MultiCharts”