Data2

Questions about MultiCharts and user contributed studies.
tryingitout
Posts: 11
Joined: 26 Feb 2014
Has thanked: 5 times

Data2

Postby tryingitout » 16 Sep 2014

I was wondering if there was a way in MultiCharts to do the following please?

Data1 = 300 tick
Data2 = 1500 tick

I wanted to plot H111 & L111 on a 300 tick chart using the 1500 tick charts current bars data. Plotting live in other words.

The HighMax is to get the highest high of the last five 300 tick bars and the LowMin is to get the lowest low of last five 300 tick bars used in the calculation.

Code: Select all


HighMax = MAXLIST ( High Data1[0],High Data1[1],High Data1[2],High Data1[3],High Data1[4]) ;

LowMin = MINLIST ( Low Data1[0],Low Data1[1],Low Data1[2],Low Data1[3],Low Data1[4]) ;

D111 = (HighMax + LowMin + Close Data1[0]) / 3;
H111 = (2 * D111 - LowMin) ;
L111 = (2 * D111 - HighMax) ;
This is not working...do I need to count bars and if so...how is this done please?

User avatar
TJ
Posts: 7743
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2222 times

Re: Data2

Postby TJ » 16 Sep 2014

::

This is not working...do I need to count bars and if so...how is this done please?
What do you mean by "This is not working"? Please describe.


Do you have a screenshot?
Have you made a mock up drawing of how the screen should look like?

User avatar
TJ
Posts: 7743
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2222 times

Re: Data2

Postby TJ » 16 Sep 2014

::

Code: Select all

HighMax = MAXLIST ( High Data1[0],High Data1[1],High Data1[2],High Data1[3],High Data1[4]) ;
LowMin = MINLIST ( Low Data1[0],Low Data1[1],Low Data1[2],Low Data1[3],Low Data1[4]) ;
::
::
ps.

Look up

HIGHEST
LOWEST

tryingitout
Posts: 11
Joined: 26 Feb 2014
Has thanked: 5 times

Re: Data2

Postby tryingitout » 22 Sep 2014

I was wondering if there was a way in MultiCharts to do the following please?

Data1 = 300 tick
Data2 = 1500 tick

I wanted to plot H111 & L111 on a 300 tick chart using the 1500 tick charts current bars data. Plotting live in other words.

The HighMax is to get the highest high of the last five 300 tick bars and the LowMin is to get the lowest low of last five 300 tick bars used in the calculation.

Code: Select all


HighMax = MAXLIST ( High Data1[0],High Data1[1],High Data1[2],High Data1[3],High Data1[4]) ;

LowMin = MINLIST ( Low Data1[0],Low Data1[1],Low Data1[2],Low Data1[3],Low Data1[4]) ;

D111 = (HighMax + LowMin + Close Data1[0]) / 3;
H111 = (2 * D111 - LowMin) ;
L111 = (2 * D111 - HighMax) ;
This is not working...do I need to count bars and if so...how is this done please?
Thx for reply, was away

Not working = I cannot do the following...I am looking to be able to plot the H111 & L111 from the 1500 tick chart; not static H111 & L111 values, but the rolling live values of H111 & L111

on the 300 tick chart; the values plotting live (rolling?) with each tick so they plot not a flat line, but two squiggly live value's on the 300 tick as the 1500 tick's H111 & L111 values change.

Sorry for confusion...not my best language.

Your suggestion to use Highest & Lowest, to replace Maxlist & Minlist I incorporated; please see below

Code: Select all

HighMax = HIGHEST ( High, 5);

LowMin = LOWEST ( Low, 5);

User avatar
TJ
Posts: 7743
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2222 times

Re: Data2

Postby TJ » 22 Sep 2014

::
Sorry for confusion...not my best language.
::
No worries... one step at a time. We are here to help.

User avatar
TJ
Posts: 7743
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2222 times

Re: Data2

Postby TJ » 22 Sep 2014

::
Not working = I cannot do the following...I am looking to be able to plot the H111 & L111 from the 1500 tick chart; not static H111 & L111 values, but the rolling live values of H111 & L111

on the 300 tick chart; the values plotting live (rolling?) with each tick so they plot not a flat line, but two squiggly live value's on the 300 tick as the 1500 tick's H111 & L111 values change.
::
you will need to post your codes and screenshot for troubleshoot.


Return to “MultiCharts”