NexusFi: Find Your Edge


Home Menu

 





Pre-market & Post-Market Trading Hours Color Coding


Discussion in MultiCharts

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




 
Search this Thread

Pre-market & Post-Market Trading Hours Color Coding

  #1 (permalink)
 dhiebert 
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);

Follow me on Twitter Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
How to apply profiles
Traders Hideout
Better Renko Gaps
The Elite Circle
REcommedations for programming help
Sierra Chart
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
MC PL editor upgrade
MultiCharts
 
  #2 (permalink)
 dhiebert 
Nanaimo, BC Canada
 
Experience: Intermediate
Platform: IB
Broker: ib
Trading: Stocks
Posts: 29 since Nov 2012
Thanks Given: 21
Thanks Received: 12

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 Twitter Started this thread Reply With Quote




Last Updated on April 7, 2015


© 2024 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 - Privacy Policy - Downloads - Top
no new posts