NexusFi: Find Your Edge


Home Menu

 





Pre-market & Post-Market Trading Hours Color Coding


Discussion in MultiCharts

Updated
    1. trending_up 2,602 views
    2. thumb_up 0 thanks given
    3. group 1 followers
    1. forum 1 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
 dhiebert 
Nanaimo, BC Canada
 
Experience: Intermediate
Platform: IB
Broker: ib
Trading: Stocks
Posts: 30 since Nov 2012
Thanks Given: 22
Thanks Received: 13

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


Follow me on X Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
April 2026 Jobs Report: +115k vs +65k Expected
Traders Hideout
Warsh Rate Hike at 40%, Iran June 15 Expires Tonight at …
Prediction Markets & Event Contracts
Day 96 Missiles Hit Kuwait and Bahrain: June 15 Peace at …
Prediction Markets & Event Contracts
Warsh Opens Today, Hormuz June 19 -- WTI Below $80, Fran …
Prediction Markets & Event Contracts
Hormuz Surges From 14% to 26.5% Intraday as Irans Answer …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
NexusFi site changelog and issues/problem reporting
16 thanks
Darmok and Jalad at Tanagra
3 thanks
CME Expands 24/7 Trading to WTI Crude Oil and Gold -- We …
1 thanks
Big Mike in Ecuador
1 thanks
30 Sessions
1 thanks
  #2 (permalink)
 dhiebert 
Nanaimo, BC Canada
 
Experience: Intermediate
Platform: IB
Broker: ib
Trading: Stocks
Posts: 30 since Nov 2012
Thanks Given: 22
Thanks Received: 13

Insert this indicator into your chart, change the plottypes to "Bar High" and "Bar Low" and change the thickness to level 5 or higher. Change the indicator to be shown in Subgraph 1 and "Same as Instrument" in scaling. Right klick the indicator in the chart and change "Visual Order" to " Send to Back". Edit the instrument plot thickness just for 1 level and that is it. No need to re-plot candles or bars and paying other programmer for such an easy thing.


Follow me on X Started this thread Reply With Quote




Last Updated on April 7, 2015


© 2026 NexusFi®, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Downloads - Top
no new posts