Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Initial Balance / Opening Range with extensions
Collapse
X
-
Is there a need for the declaration: using Microsoft.VisualBasic.ApplicationServices;
This does not compile on my machine and it doesn't appear to have any references.
If I comment out this line the code compiles however it does take quite some time to calculate.
Comment
-
Originally posted by tickets2themoon View PostIs there a need for the declaration: using Microsoft.VisualBasic.ApplicationServices;
This does not compile on my machine and it doesn't appear to have any references.
If I comment out this line the code compiles however it does take quite some time to calculate.
Updated: https://github.com/OrderFlowTools/In...lance-v1.0.zip
Comment
-
Originally posted by gemify View Post
tickets2themoon, thanks for pointing out that unused declaration. It has been removed. I need to remember to use the Remove and Sort Usings on VS more often
Updated: https://github.com/OrderFlowTools/In...lance-v1.0.zip
Comment
-
Great indicator! I use something similar on tradingview as an autobot - if this was converted to a similar strategy with the TP/SL that would be outstanding.. I get around 85% on ES 5min chart with the one on Tradinview https://www.tradingview.com/script/Q...-Trend-System/
Comment
-
Also guys be careful that Ninja trader display the closing time of the candles, so if we want for example an Opening range in a 5m chart, we need to set the start at 9:35 - 10:30, because we want to calculate the High from 9:30 onward, and the 9:35 is indeed the candle that starts at 9:30. and the candle shown as 10:30 is indeed the candle that close at 10:30
Comment
-
Hey gemify this indicator is exactly what I've been looking for!
Since NinjaTrader timestamps at candle close I think the 30 second opening range high and low values are slightly off. Today 3/24/23 the 30 second opening range high was 3963.5 on ES but the indicator is showing 3964. I am not good at programming but I tried digging into the code and unfortunately couldn't solve it, multiple errors later... If you could help out that would be well appreciated.
Comment
-
-
Originally posted by MrDarin View PostHas anyone been able to get the values to work in a strategy? I can select them, but the strategy doesn't work.
gemify The indicator will not display when I try to change the time into the 8am hour. The first version works fine but the newer one does not.Last edited by guyonabuffalo; 04-04-2023, 02:44 PM.
Comment
-
-
Updated version (v1.1) is available here: https://github.com/OrderFlowTools/In...lance-v1.1.zip
See release notes here: https://github.com/OrderFlowTools/In...eases/tag/v1.1- Updated to calculate and render IB based on Ninjatrader's bar timestamp idiosyncrasy.
- New option to render current IB only.
- Optional price markers (IBHigh, IBLow etc) on right edge of screen.
- Exposed IB values as indicator properties that can be used in strategies.
Comment
-
There have been a few questions about how to use the indicator in a strategy. Here are some notes on this:
- It is best to use the indicator in scripted form (It hasn't been tested using the strategy wizard)
- In the Configure state in the strategy code, add a 30-second data series for the indicator. The indicator uses this data series for it's calculations.
- Create the indicator instance and make sure to invoke the Update() call on the indicator instance.
- For entry/exit logic, the indicator exposes the following:- IsIBComplete
- IsORComplete
- IBHigh
- IBLow
- SessionMid
- ORHigh
- ORLow
- IBX1Upper / IBX1Lower
- IBX2Upper / IBX2Lower
- IBX3Upper / IBX3Lower
Here's an example of how to use the indicator in a strategy with some additional inline notes: IBTestStrategy.csLast edited by gemify; 06-13-2023, 09:57 AM.
- Likes 1
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by benmarkal, Yesterday, 12:52 PM
|
3 responses
22 views
0 likes
|
Last Post Today, 05:22 AM | ||
Started by helpwanted, Today, 03:06 AM
|
1 response
17 views
0 likes
|
Last Post Today, 03:35 AM | ||
Started by Brevo, Today, 01:45 AM
|
0 responses
11 views
0 likes
|
Last Post
by Brevo
Today, 01:45 AM
|
||
Started by aussugardefender, Today, 01:07 AM
|
0 responses
6 views
0 likes
|
Last Post Today, 01:07 AM | ||
Started by pvincent, 06-23-2022, 12:53 PM
|
14 responses
244 views
0 likes
|
Last Post
by Nyman
Today, 12:47 AM
|
Comment