Pre Market Session [SOLVED]
-
- Posts: 147
- Joined: 04 Jun 2014
- Has thanked: 2 times
- arnie
- Posts: 1594
- Joined: 11 Feb 2009
- Location: Portugal
- Has thanked: 481 times
- Been thanked: 514 times
Re: Pre Market Session
Please be more specific?How can I chart in the Pre Market Session colorize?
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);
-
- Posts: 147
- Joined: 04 Jun 2014
- Has thanked: 2 times
- arnie
- Posts: 1594
- Joined: 11 Feb 2009
- Location: Portugal
- Has thanked: 481 times
- Been thanked: 514 times
Re: Pre Market Session [SOLVED]
MC does not allow background coloring, yet, but there are ways to circumvent it.I would like the background coloring
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