NinjaTrader Support Forum  

Go Back   NinjaTrader Support Forum > NinjaScript Development Support > Indicator Development

Indicator Development Support for the development of custom indicators using NinjaScript.

Reply
 
Thread Tools Display Modes
Old 02-28-2010, 11:00 PM   #1
Deviad
Junior Member
 
Join Date: Feb 2010
Posts: 9
Thanks: 0
Thanked 0 times in 0 posts
Default Bid/Ask Midpoint

Hello,
What I need is just a simple line, and make it yellow, that plots the midpoint between the open and the close: (open + close)/2, for each bar on the chart.
Occasionaly, when market volatility is high, I might be willing to use (high+open+close+low)/4

This is all I need, just a simple line.
I have found something into the Hekin Ashi indicator you did provide but I wasn't able to "simplify" it.

Thank you very much for help, pls don't be too harsh with your answers.
Cheers,
Deviad
Deviad is offline  
Reply With Quote
Old 03-01-2010, 03:57 AM   #2
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,555
Thanks: 261
Thanked 1,013 times in 994 posts
Default

Deviad, as workaround with custom coding you could just use the SMA, set to a length of 1 and then use the Price type input (Median, Typical) of your liking.
NinjaTrader_Bertrand is offline  
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Seeing the bid and ask? Trader61 SuperDOM and other Order Entry Windows 1 11-11-2009 01:02 PM
Ask And Bid junkone Strategy Development 3 06-15-2009 11:45 AM
Session midpoint indicator Brutus NinjaScript File Sharing Discussion 4 11-23-2008 12:41 PM
SMA of Midpoint nybangali Indicator Development 5 08-20-2007 02:09 AM
Bid / Ask Toad Automated Trading 1 06-01-2006 12:13 AM


All times are GMT -6. The time now is 10:15 PM.