Pre Market Session  [SOLVED]

Questions about MultiCharts and user contributed studies.
Jimmyrakete
Posts: 147
Joined: 04 Jun 2014
Has thanked: 2 times

Pre Market Session

Postby Jimmyrakete » 03 Jul 2014

How can I chart in the Pre Market Session colorize?

User avatar
arnie
Posts: 1594
Joined: 11 Feb 2009
Location: Portugal
Has thanked: 481 times
Been thanked: 514 times

Re: Pre Market Session

Postby arnie » 03 Jul 2014

How can I chart in the Pre Market Session colorize?
Please be more specific?

You want to see the pre market prices?
MC has built in session templates that cover the pre and post markets.
_US Stocks (with pre market)
_US Stocks (with post market)

If they do not show the entire session you need to go to QuoteManager and edit those templates or create your own.

If you want to color the pre market than you could do something similar to

Code: Select all

if time >= 730 and time <= 930 then
plotpaintbar(h,l,o,c,"", red);

Jimmyrakete
Posts: 147
Joined: 04 Jun 2014
Has thanked: 2 times

Re: Pre Market Session

Postby Jimmyrakete » 03 Jul 2014

I would like the background coloring

User avatar
arnie
Posts: 1594
Joined: 11 Feb 2009
Location: Portugal
Has thanked: 481 times
Been thanked: 514 times

Re: Pre Market Session  [SOLVED]

Postby arnie » 03 Jul 2014

I would like the background coloring
MC does not allow background coloring, yet, but there are ways to circumvent it.

Code: Select all

inputs:
startRTH (830),
endRTH (1515),
backgroundColor (rgb(25,25,25));

variables:
highScale (0),
lowScale (0);

highScale = GetAppInfo(aiHighestDispValue);
lowScale = GetAppInfo(aiLowestDispValue);

if time > startRTH and time <= endRTH then begin
plot3(highScale, "hiRTH", backgroundColor);
plot4(lowScale, "loRTH", backgroundColor);
end;

You need to set the line type as bar high and bar low and the weight to largest available


Return to “MultiCharts”