Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Last Close Indicator in SuperDOM
Collapse
X
-
Last Close Indicator in SuperDOM
Hello my friends, does anyone know a way to put a dash below the Last Closing price in SuperDOM ?? I know there is an indicator for Daily High and Daily Low, but I didn't find anything for the Last Close.Last edited by Kleiton Matias; 08-17-2022, 07:56 AM. -
Originally posted by NinjaTrader_Kate View PostHello Kleiton Matias,
Thank you for your post.
Do you mean the prior day close? You could use the Prior Day OHLC indicator for that in the SuperDOM - that will put a line above the prior day close, just not below it.
Please let us know if this does not resolve your inquiry.
First of all, let me thank you!!! It will certainly be this indicator that I need, but I am not getting the correct configuration so that the trace in the SuperDOM is at the same price as in the Market Analyzer... See how the settings are and how it appears to me:
2 PhotosLast edited by Kleiton Matias; 08-17-2022, 10:17 AM.
Comment
-
Hello Kleiton Matias,
Thank you for your reply.
Actually in this case the Prior Day OHLC indicaor won't work for you, as it runs off intraday data which is not settlement close adjusted, and the Last Close is settlement close adjusted. However, this is a super simple indicator that only takes about 3 lines of code to write, so I've created an indicator that gets the prior day close from Daily bars instead of minute bars, which come settlement adjusted (for most data providers). This should match what you see in the last close column there.
Please let us know if we may be of further assistance to you.Attached Files
- Likes 1
Comment
-
Originally posted by NinjaTrader_Kate View PostHello Kleiton Matias,
Thank you for your reply.
Actually in this case the Prior Day OHLC indicaor won't work for you, as it runs off intraday data which is not settlement close adjusted, and the Last Close is settlement close adjusted. However, this is a super simple indicator that only takes about 3 lines of code to write, so I've created an indicator that gets the prior day close from Daily bars instead of minute bars, which come settlement adjusted (for most data providers). This should match what you see in the last close column there.
Please let us know if we may be of further assistance to you.
Awesome, once again let me thank you!!! That's exactly what I was looking for, I've installed it and it's working perfectly!!!
Comment
-
Good afternoon, on the day I install the LastCloseForSuperDOM indicator it works perfectly well, but the next day it no longer marks the last closing correctly, would there be any configuration to make it always correct??Originally posted by NinjaTrader_Kate View PostHello Kleiton Matias,
Thank you for your reply.
Actually in this case the Prior Day OHLC indicaor won't work for you, as it runs off intraday data which is not settlement close adjusted, and the Last Close is settlement close adjusted. However, this is a super simple indicator that only takes about 3 lines of code to write, so I've created an indicator that gets the prior day close from Daily bars instead of minute bars, which come settlement adjusted (for most data providers). This should match what you see in the last close column there.
Please let us know if we may be of further assistance to you.
Comment
-
Before I uninstalled and reinstalled and it worked for a day, now it doesn't appear at all. I'm uploading a short video, it's muted, but you can understand what's going on.Originally posted by NinjaTrader_Kate View PostHello Kleiton Matias,
Thank you for your reply.
Can you provide a screenshot of what you're seeing that's not working?
Thanks in advance; I look forward to assisting you further.
Last edited by Kleiton Matias; 08-29-2022, 07:23 PM.
Comment
-
Hello Kleiton Matias,
Thank you for your reply.
I've made a minor edit to the indicator that seems to make it work:
I've attached the updated version below.Code:protected override void OnBarUpdate() { if (CurrentBars[1]< 1) return; [B]if(BarsInProgress == 0) {[/B] Value[0] = Closes[1][0]; [B]}[/B] }
Thanks in advance; I look forward to assisting you further.Attached Files
Comment
-
Originally posted by NinjaTrader_Kate View PostHello Kleiton Matias,
Thank you for your reply.
I've made a minor edit to the indicator that seems to make it work:
I've attached the updated version below.Code:protected override void OnBarUpdate() { if (CurrentBars[1]< 1) return; [B]if(BarsInProgress == 0) {[/B] Value[0] = Closes[1][0]; [B]}[/B] }
Thanks in advance; I look forward to assisting you further.
Once again I come to disturb you... But now the indicator doesn't even appear in SuperDOM!

Comment
-
Originally posted by NinjaTrader_Kate View PostHello Kleiton Matias,
Thank you for your reply.
Here's my set up for the above version of the indicator - you can see the plot on the SuperDOM. Make sure you set it for more than 2 days to load - 10 seems to work nicely.
Please let us know if we may be of further assistance to you.
This time it worked well for the assets MES 09-22, CL 10-22, and GC 12-22... It also worked fine for NQ 09-22, but in MNQ 09-22 the indicator marked a tick above the correct one .
See what it looks like in the photo below!
Comment
-
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
647 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
369 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
108 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
572 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
573 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment