NexusFi: Find Your Edge


Home Menu

 



Categories Help    






 
Prior OHLC Day, Week & Month MTF AIO V1.1 5 *


Prior OHLC Day, Week & Month MTF AIO V1.1

Updated to RC1 Sep 2016: Do not delete or comment out !BarsArray[0].IsIntraday since this is a safety check to make sure you do not use on a >= Daily chart.
Rather, change to !BarsArray[0].BarsType.IsIntraday or download this new update.


Will work on Renko bars

* Plots prior Open, High, Low & Close.

* Daily, Weekly & Monthly all in one (AIO).

* Uses minute data behind Renko charts to plot accurate levels.

* Has a button you can use to show/hide the plot.
So you can plot several indicators per chart and hide them when not needed

* Can use solid lines.

Update April 2016:

Minor code update to prevent plotting/rendering issues.



Remember this is for Beta, so please PM me for bugs or fixes.





Category NinjaTrader 8 Indicators and More 
 
Suggest other entries I might like
Details: Prior OHLC Day, Week & Month MTF AIO V1.1
Category: NinjaTrader 8 Indicators and More 


March 7th, 2016
Size: 5.31 KB
Downloaded: 2260 times
Comments/ratings
5 * jmont1 April 8th, 2016 07:14 AM
@Sim22, is it possible to add the POC and VWAP for this? Then maybe Value Area (Value Envelope?)
5 * ValLiant June 30th, 2016 08:13 PM
very useful thank you!
5 * atata July 14th, 2016 10:35 PM
Thanks Sim22!!! You are doing a great job with all these NT8 scripting!

atata
5 * jm1111enator September 6th, 2016 12:53 PM
Hello Sim22,

With the new release of Ninja 8, this line is not allowing the script to compile:

if (!BarsArray[0].IsTimebased && priorType == Sim22_PriorAllOHLC_CalcType.PriorMonth)

Ninja sends the error CS 1061 on line 335 column 23:

Sim22_PriorAllOHLC.cs
Error: 'NinjaTrader Data Bars' does not contain a definition for 'IsTimebased' and no extension method 'IsTimebased' accepting a first argument of the type 'NinjaTrader.Data.Bars' could be found (are you missing a directive or an assembly reference?)

Thank you JM1111
5 * jm1111enator September 8th, 2016 08:36 AM
If you are using Ninja 8 RC1, you need to replace Bars.IsTimebased (see below):

Removed property Bars.IsTimebased -> please use Bars.BarsType.IsTimeBased instead


http://ninjatrader.com/support/helpGuides/nt8/en-us/?video_library.htm
4 * lolu September 8th, 2016 10:43 AM
jm1111enator,

I'm unable to figure out your suggested replacement of "if (!BarsArray[0].IsTimebased && priorType == Sim22_PriorAllOHLC_CalcType.PriorMonth)" with "Removed property Bars.IsTimebased -> please use Bars.BarsType.IsTimeBased instead". Could you please indicate the full and correct C# statement and probably the Line number to be modified in the script.

Regards.

Lolu
5 * no3putts November 15th, 2016 05:36 PM
Thank you!
5 * TraderTS January 31st, 2018 09:05 PM
Excellent work! Thanks.
5 * mariohuegon February 21st, 2018 12:51 PM
Awesome! Thanks
5 * chemmala December 28th, 2020 04:23 AM

 
Sort by

 




© 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