NexusFi: Find Your Edge


Home Menu

 





Requesting basic OHLC indicator.


Discussion in NinjaTrader

Updated
    1. trending_up 8,540 views
    2. thumb_up 16 thanks given
    3. group 2 followers
    1. forum 30 posts
    2. attach_file 16 attachments




 
Search this Thread

Requesting basic OHLC indicator.

  #1 (permalink)
LaissezFaire
Oslo + Norway
 
Posts: 224 since May 2016
Thanks Given: 224
Thanks Received: 104

Hi,

As mentioned in a thread that's really about Sierra charts, I'm looking for a basic OHLC indicator. I would like it to plot

- Open
- High
- Low
- Close

For each trading day. For tomorrow/current live day, I'd like it to plot the Open and current High/Low with the horizontal lines projecting to the right at the end of the session. I use the US Equities RTH 09:30-16:00 session.

Preferrably, but not a strict requirement, I'd also like it to color code the high/low lines based on whether the high or low comes first on the day. If low before high = green; If high before low = red.



Any ideas? Could I code something like this myself (I think not)?

I was suggested that as an Elite Member I might be able to find something like this, but looking at all the available indicators, it does not seem like something like this is available...

Thanks in advance for any help.

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Increase in trading performance by 75%
The Elite Circle
ZombieSqueeze
Platforms and Indicators
Better Renko Gaps
The Elite Circle
How to apply profiles
Traders Hideout
REcommedations for programming help
Sierra Chart
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Just another trading journal: PA, Wyckoff & Trends
36 thanks
Tao te Trade: way of the WLD
24 thanks
Spoo-nalysis ES e-mini futures S&P 500
21 thanks
Bigger Wins or Fewer Losses?
19 thanks
GFIs1 1 DAX trade per day journal
16 thanks
  #2 (permalink)
 
cory's Avatar
 cory 
virginia
 
Experience: Intermediate
Platform: ninja
Trading: NQ
Posts: 6,098 since Jun 2009
Thanks Given: 877
Thanks Received: 8,090


LaissezFaire View Post
Hi,

As mentioned in a thread that's really about Sierra charts, I'm looking for a basic OHLC indicator. I would like it to plot

- Open
- High
- Low
- Close

...

Thanks in advance for any help.

try this CurrentOHLC for NT8

Attached Files
Elite Membership required to download: CurrentOHLC.cs
Reply With Quote
Thanked by:
  #3 (permalink)
LaissezFaire
Oslo + Norway
 
Posts: 224 since May 2016
Thanks Given: 224
Thanks Received: 104



cory View Post
try this CurrentOHLC for NT8

Hey, cory,

Thanks!

Am I supposed to zip this before importing it to Ninja? I tried just that, but got an error message: "This was made using an older version of NT..."

Best regards.

Reply With Quote
  #4 (permalink)
 
cory's Avatar
 cory 
virginia
 
Experience: Intermediate
Platform: ninja
Trading: NQ
Posts: 6,098 since Jun 2009
Thanks Given: 877
Thanks Received: 8,090


LaissezFaire View Post
Hey, cory,

Thanks!

Am I supposed to zip this before importing it to Ninja? I tried just that, but got an error message: "This was made using an older version of NT..."

Best regards.

move the .cs file to folder Documents\NinjaTrader 8\bin\Custom\Indicators then use Ninja to open it and compile it so that it will show up on indicator list.

Reply With Quote
Thanked by:
  #5 (permalink)
LaissezFaire
Oslo + Norway
 
Posts: 224 since May 2016
Thanks Given: 224
Thanks Received: 104


cory View Post
move the .cs file to folder Documents\NinjaTrader 8\bin\Custom\Indicators then use Ninja to open it and compile it so that it will show up on indicator list.

Thanks, cory, but since I'm currently on a free version of Ninja (I'm in the process of funding, so should have the full version in a few weeks), it seems like I can't compile indicators...?

Or maybe I just couldn't figure it out.

Reply With Quote
  #6 (permalink)
LaissezFaire
Oslo + Norway
 
Posts: 224 since May 2016
Thanks Given: 224
Thanks Received: 104

I did a search and learned that importing some other Ninjascript would have Ninja compile all indicators. This seemed to work!

The indicator is now on my list, but it doesn't seem to display any lines...

What am I doing wrong?


Reply With Quote
  #7 (permalink)
 
cory's Avatar
 cory 
virginia
 
Experience: Intermediate
Platform: ninja
Trading: NQ
Posts: 6,098 since Jun 2009
Thanks Given: 877
Thanks Received: 8,090


LaissezFaire View Post
I did a search and learned that importing some other Ninjascript would have Ninja compile all indicators. This seemed to work!

The indicator is now on my list, but it doesn't seem to display any lines...

What am I doing wrong?

change your chart to 60M, the plot is too far away to see on your 1m chart or you can squeeze the chart down to see the plots.

Reply With Quote
  #8 (permalink)
LaissezFaire
Oslo + Norway
 
Posts: 224 since May 2016
Thanks Given: 224
Thanks Received: 104


cory View Post
change your chart to 60M, the plot is too far away to see on your 1m chart or you can squeeze the chart down to see the plots.

Doesn't help, I'm afraid.

And regardless - it's meant to be plotted on a 1-minute/5-minute chart. How can the plot be too far away when it's (supposed to) plotted for each trading day?

Reply With Quote
  #9 (permalink)
 
cory's Avatar
 cory 
virginia
 
Experience: Intermediate
Platform: ninja
Trading: NQ
Posts: 6,098 since Jun 2009
Thanks Given: 877
Thanks Received: 8,090


LaissezFaire View Post
Doesn't help, I'm afraid.

And regardless - it's meant to be plotted on a 1-minute/5-minute chart. How can the plot be too far away when it's (supposed to) plotted for each trading day?

I don't have any idea why you can't see it. Maybe somebody else can try to import it and see what happen.

Attached Thumbnails
Click image for larger version

Name:	ES 03-18 (5 Minute) 2018_03_11.png
Views:	286
Size:	78.0 KB
ID:	247569  
Attached Files
Elite Membership required to download: CurrentOHLC.zip
Reply With Quote
Thanked by:
  #10 (permalink)
LaissezFaire
Oslo + Norway
 
Posts: 224 since May 2016
Thanks Given: 224
Thanks Received: 104


That's very odd. I just tried rebooting and that didn't help either.

Anyway, your screenshot is pretty much exactly what I had in mind, so...

Reply With Quote




Last Updated on April 22, 2018


© 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