Nanaimo, BC Canada
Experience: Intermediate
Platform: IB
Broker: ib
Trading: Stocks
Posts: 29 since Nov 2012
Thanks Given: 21
Thanks Received: 12
|
I have my charts in Multicharts reflective of a 24/7 time frame, as opposed to just market orders. I emailed Multicharts to see if there is a way that they can color the chart differently for the time period that is not market hours. They gave me a link to a code which I did try. It looks as though I can make it work, however, currently it does not color the chart to market hours vs non market hours. When I asked them how to fix it, they made out that changing the code would be easy to make it reflective of just market hours and non market hours. Does anyone know how to do this? It is above me. Thanks! Here is the code they gave me:
Code:
input : PosColor(green), NegColor(red);
var : var1_upvalue(999999),
var2_dnvalue(-999999),
var3_color(0);
if c >= averagefc(c, 21) then
begin
var3_color = PosColor;
end
else
var3_color = NegColor;
Plot1 (var1_upvalue, "top", var3_color);
Plot2 (var2_dnvalue, "bot", var3_color);
|