September 23rd, 2010
Size: 4.46 KB
Downloaded: 1173 times
639
Mindset
Here is a script that I had my programmer write up for backtesting Renko bars, it uses the close of this bar instead of NinjaTraders default setting "open of next bar" This is very useful for system backtesting Renko bars.
The .cs file needs to be put inside of your "type" folder in NinjaTrader 7.
This one is almost the same as BalanceLine but it uses H+L/2 of total number of days back not just 2 at a time. If you don't see it plots try to increase number of download days or reduce number of days back, the default setting is 5 days back.
-4/30/10
add on/off switch to turn off the drawing in case it is plotted too far away from prices making a chart hard to read or you just don't want to plot it.
-5/02/10
just a re-upload v2 for some reason the name v2 won't show up. if the name V2 doesn't show in your indicator list just unzip the file and compile the BalanceLineV2.cs file directly from your editor.
April 29th, 2010
Size: 3.62 KB
Downloaded: 200 times
431
cory
Exported using NT Version 7.0.1000.1
This is an improved version of the momentum indicator.
The n-period momentum is the difference between the close of the last bar and the close n bars ago. When a large bar n periods ago drops out of the momentum calculation, this can create a significant distortion, as it will show as a change in momentum, even if there was no or little price change for the last bar.
To eliminate this problem, the input value n bars ago was replaced with the triangular moving average SMA(SMA(Input, n+1), n+1)[0]. This modification does not change the usability of the momentum indicator, but simply eliminates the distortion.
January 3rd, 2010
Size: 2.99 KB
Downloaded: 166 times
257
websouth
Hi community,
if I trade the ES- or ESTX50-Future I need the close of the previous cash-session to visualize the opening gap.Also as an additional S/R-line for the Future trading.
You can use the "Bar at special time"-Indicator for indicating the Open,High,Low or Close of a time(Zeit)-specified bar of each day.
inputs:
Zeit = closing-time of the bar you want to see
Wert = O , H , L , C or any formula e.g. ((H-L)/2)
It dont work if you use for e.G. Zeit = 1730 on a 1 hour chart.
You have to choose the chartresolution depending on the bar you want to get the data.
If you want to get the data of Zeit = 1732 you need a 2-minute chart or lower, if Zeit = 2215 (close of S&P-cash) you can put it at a 15-min-chart as highest resolution.
the code as txt-file:
//**********
Inputs: Zeit( 1730 ),
Wert( close );
variables: var0(0);
if (time =Zeit ) then var0=Wert else var0=var0[1];
October 25th, 2016 04:16 PM hobbys11 thx very much.
September 9th, 2015 04:48 PM anup Thx fat Tail. That is a great Indicator. Very thoughtful of you. Thx again.
July 21st, 2015 03:50 PM pepbosch great idea from a great brain! Thanks
December 27th, 2013 04:42 AM Maxie in welchem TF benutzt Du den Indi am Meisten? I can see the "alpha Auction bars"in the screen, sind die auch von Dir? Wü
rde ich gern ausproboieren, kannst Du mir sagen, wo ich die finde?