Go Back   NinjaTrader Support Forum > NinjaTrader 8 > Indicator Development

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

NinjaTrader
Reply
 
Thread Tools Display Modes
Old 04-12-2018, 12:12 AM   #1
hir04068
Junior Member
 
Join Date: Sep 2017
Posts: 4
Thanks: 2
Thanked 0 times in 0 posts
Default Prior day OHLC

Prior day OHLC INDICATOR plots intraday close value. is there any option that we can get daily close value instead of intraday close value?
hir04068 is offline  
Reply With Quote
Old 04-12-2018, 06:13 AM   #2
NinjaTrader_Paul
NinjaTrader Customer Service
 
NinjaTrader_Paul's Avatar
 
Join Date: May 2014
Posts: 3,833
Thanks: 411
Thanked 975 times in 935 posts
Default

Hello hir04068,

Thanks for your post.

The indicator Prior Day OHLC does not provide an option to use a Daily bars close value, it will only use the intraday close.

This could be done through a custom scripting.
NinjaTrader_Paul is offline  
Reply With Quote
Old 04-13-2018, 06:04 PM   #3
nicolasgoodday
Junior Member
 
Join Date: Apr 2017
Posts: 6
Thanks: 0
Thanked 1 time in 1 post
Default

Hello Paul,
My trading window is from 9:30 am to 4:00 pm and y need to see the high and low of the previos day in that particular price window.

I already set this values in a new trading hour template and works perfect, also the prior day OHLC indicator works perfect. The problem is that this settings hide the price from 4:00 pm to 9:30 am of the next day and all the historical data. Is there a way to show the price action hidden ? I need it to set my pre-market and backtesting routine. Thanks

I'm trading the futures E mini S&P 500 with NT8.
nicolasgoodday is offline  
Reply With Quote
Old 04-16-2018, 08:15 AM   #4
NinjaTrader_Paul
NinjaTrader Customer Service
 
NinjaTrader_Paul's Avatar
 
Join Date: May 2014
Posts: 3,833
Thanks: 411
Thanked 975 times in 935 posts
Default

Hello nicolasgoodday,

Thanks for your post.

Yes, this can be accomplished on a single chart using a "hidden" data series and setting that data series to use the RTH trading hours. The indicator would reference the added/hidden dataseries and would plot the RTH values on the ETH based chart.

Here is a quick video I made to show the steps/process: https://paul-ninjatrader.tinytake.co...c2NF83NTkxMjIw
NinjaTrader_Paul is offline  
Reply With Quote
The following user says thank you to NinjaTrader_Paul for this post:
Old 04-18-2018, 04:15 PM   #5
nicolasgoodday
Junior Member
 
Join Date: Apr 2017
Posts: 6
Thanks: 0
Thanked 1 time in 1 post
Default

Hello Paul
Thanks for your answer. The video showing the steps is great......is a time saver.
In the video you show the indicator Repeater V2.1 but I couldn't find this version in the forum, can you adress me to download the V2.1 ?

Thanks
nicolasgoodday is offline  
Reply With Quote
Old 04-19-2018, 06:41 AM   #6
NinjaTrader_Paul
NinjaTrader Customer Service
 
NinjaTrader_Paul's Avatar
 
Join Date: May 2014
Posts: 3,833
Thanks: 411
Thanked 975 times in 935 posts
Default

Hello nicolasgoodday,

Thanks for your reply.

The NT8 indicator, "Repeater" can be downloaded from the NT8 indicator filesharing section, here is a direct link to the file: https://ninjatrader.com/support/foru...d=7&linkid=680
NinjaTrader_Paul is offline  
Reply With Quote
Old 04-19-2018, 09:50 AM   #7
nicolasgoodday
Junior Member
 
Join Date: Apr 2017
Posts: 6
Thanks: 0
Thanked 1 time in 1 post
Default

Hello Paul,
You've been very helpfull
thanks a lot.
nicolasgoodday is offline  
Reply With Quote
The following user says thank you to nicolasgoodday for this post:
Old 04-20-2018, 04:57 PM   #8
nicolasgoodday
Junior Member
 
Join Date: Apr 2017
Posts: 6
Thanks: 0
Thanked 1 time in 1 post
Default

Hello Paul,
Repeater V2.1 added ˇˇˇ thanks a lot.

I`ve tried to search for a particular script (indicator) called "Change of immediate impulse" in the forum but couldn't find any thing similar. I was hoping that you can give my a hand on this one. I´ll explain in the following lines:

I trade the Emini S&P500 in a 610 tick chart.

The indicator draws an arrow line in the tick bars; up arrow for long impulse and down arrow for short impulse.
The signal needs the following indicators:
-Linear regression at 89 periods
- Keltner Channel at 52 periods (for midband) and offset at 3,5 (for outer bands, outer bands not needed)
- MACD BBS with zero line.

The upper arrow line appears in the first tick bar that meets the following criteria:
- Tick bar > linear regression
- Tick bar > keltner channel midband
- MACD BB > 0

The lower arrow line appears in the first tick bar that meets the following criteria:
- Tick bar < linear regression
- Tick bar < keltner channel midband
- MACD BB < 0

That´s it.

Right now i´m doing all by my self this mechanical process, is very annoying, specially when doing bar to bar backtesting.

Paul, is there any indicator that can be imputed whit this criteria so i can save tons of time ????

In the following link you can see one of my charts where I imput manually this indicator in order to perform some backtesting.

https://www.screencast.com/t/LCWl54gmjnu

Thanks.
nicolasgoodday is offline  
Reply With Quote
Old 04-23-2018, 07:13 AM   #9
NinjaTrader_Paul
NinjaTrader Customer Service
 
NinjaTrader_Paul's Avatar
 
Join Date: May 2014
Posts: 3,833
Thanks: 411
Thanked 975 times in 935 posts
Default

Hello nicolasgoodday,

Thanks for your reply.

I'm not aware of an existing indicator that would provide your requirements. You can certainly create the custom coding in Ninjascript/C#.

If you are looking to have this created for you, we can provide links to 3rd party programmers you would be able to hire that have expertise in Ninjascript. If you do not have the time or the time to learn ninjascript, this may be your better option

If you would like to create this yourself and have the time to learn Ninjascript and patience for debugging code we can provide you with educational links to get you started with Ninjascript which is based on the C# programming language.
NinjaTrader_Paul is offline  
Reply With Quote
Old 04-23-2018, 12:50 PM   #10
nicolasgoodday
Junior Member
 
Join Date: Apr 2017
Posts: 6
Thanks: 0
Thanked 1 time in 1 post
Default

Thanks for your reply Paul,
The 3rd party programmer option was on my list, but first i had to ask in the forum.
I recently spoke to Pablo Maglio the owner of theindicatormarket.com about this indicator. He told me that the complexity of this indicator is basic. He will charge 150 USD to build it. Can you recomend any other 3rd party option to build this indicator ?
nicolasgoodday 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
Add MidPoint- to Prior Day OHLC thetradingguy Indicator Development 3 11-13-2016 04:53 PM
Prior Day OHLC using 5pm as CLOSE pedroprada@bellsouth.net Platform Technical Support 3 02-12-2014 04:29 AM
Prior Day OHLC indicator rookietrader11 Indicator Development 0 04-22-2013 01:35 PM
Prior day OHLC BigAAPL Platform Technical Support 15 12-01-2010 10:49 AM
Re: Prior Day OHLC Indicator Antraman Indicator Development 12 06-07-2006 12:31 AM


All times are GMT -6. The time now is 11:21 PM.

Futures, foreign currency and options trading contains substantial risk and is not for every investor. An investor could potentially lose all or more than the initial investment. Risk capital is money that can be lost without jeopardizing ones financial security or lifestyle. Only risk capital should be used for trading and only those with sufficient risk capital should consider trading. Past performance is not necessarily indicative of future results. View Full Risk Disclosure.

CFTC Rules 4.41 - Hypothetical or Simulated performance results have certain limitations, unlike an actual performance record, simulated results do not represent actual trading. Also, since the trades have not been executed, the results may have under-or-over compensated for the impact, if any, of certain market factors, such as lack of liquidity. Simulated trading programs in general are also subject to the fact that they are designed with the benefit of hindsight. No representation is being made that any account will or is likely to achieve profit or losses similar to those shown.

This website is hosted and operated by NinjaTrader, LLC (“NT”), a software development company which owns and supports all proprietary technology relating to and including the NinjaTrader trading platform. NT is an affiliated company to NinjaTrader Brokerage (“NTB”), which is a NFA registered introducing broker (NFA #0339976) providing brokerage services to traders of futures and foreign exchange products. This website is intended for educational and informational purposes only and should not be viewed as a solicitation or recommendation of any product, service or trading strategy. No offer or solicitation to buy or sell securities, securities derivative or futures products of any kind, or any type of trading or investment advice, recommendation or strategy, is made, given, or in any manner endorsed by any NT affiliate and the information made available on this Web site is not an offer or solicitation of any kind. Specific questions related to a brokerage account should be sent to your broker directly. The content and opinions expressed on this website are those of the authors and do not necessarily reflect the official policy or position of NT or any of its affiliates. 

Vendors along with their websites, products and services, collectively referred to as (“Vendor Content”), are independent persons or companies that are in no manner affiliated with NT or any if its affiliates. NT or any of its affiliates are not responsible for, do not approve, recommend or endorse any Vendor Content referenced on this website and it’s your sole responsibility to evaluate Vendor Content. Please be aware that any performance information provided by a vendor should be considered hypothetical and must contain the disclosures required by NFA Rule 2-29(c). If you are interested in learning more about, or investigating the quality of, any such Vendor Content you must contact the vendor, provider or seller of such Vendor Content. No person employed by, or associated with, NT or any of its affiliates is authorized to provide any information about any such Vendor Content.