NexusFi: Find Your Edge


Home Menu

 





Pre-market & Post-Market Trading Hours Color Coding


Discussion in MultiCharts

Updated
    1. trending_up 2,664 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?
requesting .nrd replay files from 2026 spy and qqq
The Elite Circle
No book, only a stair: journaling fills where price move …
Cryptocurrency
EA
Platforms and Indicators
My Rant with AMP Futures
Trading Reviews and Vendors
Datafeed for Atas
Platforms and Indicators
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
BERN ALGOS algo trading journal
3 thanks
NexusFi site changelog and issues/problem reporting
2 thanks
TopStep Trader disappointment
2 thanks
Want your NinjaTrader indicator created, free?
1 thanks
Running trading strategies on a VPS
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