NexusFi: Find Your Edge


Home Menu

 





Help Modifying OBV indicator to plot standard candlesticks


Discussion in NinjaTrader

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




 
Search this Thread
  #1 (permalink)
 markus3500 
Cleveland OH
 
Experience: Intermediate
Platform: NINJATRADER 7
Trading: ES
Posts: 74 since Dec 2012
Thanks Given: 32
Thanks Received: 15

I am trying to get the the standard OBV indicator in NT7 to plot in standard candlesticks. The only choices available are "line" primarily among others like dot, dash..ect but no candlesticks. I have successfully applied HiekenAshi to it and it works great but I don't like the smoothing appearance of HeikenAshi. I would much prefer standard Candlesticks. Does anyone know if the existing indicator can be modified to add standard Candlesticks or another workaround that would work?


Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
$500M Riding on World Cup 2026: France/Spain Co-Favored …
Prediction Markets & Event Contracts
Six Days to Kickoff: World Cup Prediction Markets Hit $1 …
Prediction Markets & Event Contracts
Fabrication or Framework? Irans Denied MOU Explains the …
Prediction Markets & Event Contracts
Four New E-mini Futures Launch June 29 -- Russell 3000, …
Emini and Emicro Index
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
10 thanks
Darmok and Jalad at Tanagra
3 thanks
Big Mike in Ecuador
1 thanks
30 Sessions
1 thanks
  #2 (permalink)
 
Blash's Avatar
 Blash 
Chicago, IL
Legendary Market Chamois
 
Experience: None
Platform: NT8,NT7,TWS
Broker: InteractiveBrokers, S5T, IQFeed
Trading: The one I'm creating in the present....Index Futures mini/micro, ZF
Posts: 2,307 since Nov 2011
Thanks Given: 7,341
Thanks Received: 4,511


markus3500 View Post
I am trying to get the the standard OBV indicator in NT7 to plot in standard candlesticks. The only choices available are "line" primarily among others like dot, dash..ect but no candlesticks. I have successfully applied HiekenAshi to it and it works great but I don't like the smoothing appearance of HeikenAshi. I would much prefer standard Candlesticks. Does anyone know if the existing indicator can be modified to add standard Candlesticks or another workaround that would work?

OBV is just a single value per bar from this...

 
Code
protected override void OnBarUpdate()
		{
			if (CurrentBar == 0)
				Value.Set(0);
			else
			{
				if (Close[0] > Close[1])
					Value.Set(Value[1]+ Volume[0]);
				else if (Close[0]  < Close[1])
					Value.Set(Value[1] - Volume[0]);
				else
					Value.Set(Value[1]);
Candlesticks are a DataSeries with 5 values OHLC vol. What would make up all this missing data?

Ron


...My calamity is My providence, outwardly it is fire and vengeance, but inwardly it is light and mercy...
The steed of this Valley is pain; and if there be no pain this journey will never end.
Buy Low And Sell High (read left to right or right to left....lol)
Follow me on X Visit my NexusFi Trade Journal Reply With Quote




Last Updated on June 10, 2016


© 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