Signals from mutiple time frames

Studies that have been contributed to the community by other users. If you’ve got something useful to share, that’s great!
smashthepound
Posts: 82
Joined: 20 Jun 2009
Been thanked: 1 time

Signals from mutiple time frames

Postby smashthepound » 10 Jul 2009

After 10 years of TS2ki I finally found MC - glad to be here...

I have a issue which I never solved in TS2ki - but maybe someone from the community can give me some thoughts ...

I have a chart with 2 symbols
GBPUSD 10 min as Data1
GBPUSD 30 min as Data2

If I base an indicator on Data1 and a second indicator on Data2 and have a look in the new Data Window of MC this will look as follows:

Time-----Value of Indicator1-----Value of Indicator2-----Barnumber
0700-----10-----------------------10------------------------[0]
0650-----12-----------------------N/A-----------------------[1]
0640-----14-----------------------N/A-----------------------[2]
0630-----16-----------------------16------------------------[3]
0620-----14-----------------------N/A-----------------------[4]
0610-----12-----------------------N/A-----------------------[5]
0600-----10-----------------------10------------------------[6]

As long I use this visual on charts I do not care.

But this get's tricky when I start writing signals. :roll:

The 10 min chart (Data1) is the one where I generate my orders. The 20 min (Data2) is to support the decision making, e.g. apply a filter for range when using a directional strategy.

So when I check Indicator2 for example if the value is ascending and I write it the following way it will point into nirvana:
Indicator2[0] > Indicator2[1] ... delivers 10 > N/A
To fix this I need to write it the following way:
Indicator2[0] > Indicator2[3] ... delivers 10 > 16

But this gets really messy when I change Data2 from 30 min to 20 min ... but it might be very useful to check different time frames ....

So is there anybody out there who knows a smart fix to this problem???

Or does MC work differently form TS2ki?

regards,

smashthepound

Chillie
Posts: 7
Joined: 01 Oct 2010

Re: Signals from mutiple time frames

Postby Chillie » 07 Nov 2010

I have a similar issue - was there ever an answer?

gregorio123456
Posts: 117
Joined: 08 Nov 2005
Been thanked: 3 times

Re: Signals from mutiple time frames

Postby gregorio123456 » 09 Nov 2010

try this in MC 5.5 because MC 6.0.1 have one bugs about this....
https://www.multicharts.com/pm/viewissu ... e_no=MC-43

Indicator2= Indicator(close data2,XXXX,XXXX,etc)data2;
or
Indicator2= Indicator(close,XXXX,XXXX,etc)data2;

maybe you get this

Indicator2[0] > Indicator2[1]......... 10 > 16


Return to “User Contributed Studies and Indicator Library”