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);