Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Order Flow + Strategy Builder?
Collapse
X
-
Hello ZEROSYSTEM,
Thank you for your vote.
I've added this to SFT-4377.
-
Hello BullyWig Trader,
It might be that the indicator you are calling is not returning a value you are expecting.
Add debugging prints (using the strategy builder) to find out why no arrows are being drawn.
Print the time of the bar, and print all the values you are using in the condition.
Below is a link to a forum post that includes a video on how to add prints using the Strategy Builder.
Save the output from the output window (right-click the output window, select Save As), and attach the output text file to your next post.
I will be happy to assist with analyzing the output.
Leave a comment:
-
I am using a simplified version of the cumulative order flow indicator I found in this forum to build a simple strategy. It's based on cumulative delta (UPDOWNTICK/BAR) which the indicator is set up for. I added the extra data series, and the strategy plots the signals only on historical data, but never on data moving forward. If I refresh the Ninjascript, signals will show up in the past, but never generates a signal in real time. I am obviously missing something. Can someone point me in the right direction? Below is the code from the Ninjascript editor.
else if (State == State.Configure)
{
AddDataSeries(Data.BarsPeriodType.Tick, 1);
}
else if (State == State.DataLoaded)
{
CumDelta1 = CumDelta(Close);
EMA1 = EMA(CumDelta1, Convert.ToInt32(TFP));
EMA2 = EMA(Close, Convert.ToInt32(FTP));
EMA3 = EMA(Close, Convert.ToInt32(STP));
}
}
protected override void OnBarUpdate()
{
if (BarsInProgress != 0)
return;
if (CurrentBars[0] < 1)
return;
// Set 1
if ((Close[1] < Open[1])
&& (CumDelta1[0] > VFLT)
&& (EMA1[0] > TFLT)
&& (EMA2[0] > EMA3[0]))
{
Draw.ArrowUp(this, @"MyCustomStrategy Arrow up_1 " + Convert.ToString(CurrentBars[0]), false, 0, (Close[0] + 20) , Brushes.DodgerBlue);
BarBrush = Brushes.DeepPink;
}
// Set 2
if ((Close[1] > Open[1])
&& (CumDelta1[0] < VFST)
&& (EMA1[0] < TFST)
&& (EMA2[0] < EMA3[0]))
{
Draw.ArrowDown(this, @"VTES001 Arrow down_1 " + Convert.ToString(CurrentBars[0]), false, 0, (Close[0] - 20) , Brushes.Red);
BarBrush = Brushes.DeepPink;
}
Leave a comment:
-
Originally posted by Rainmakersg View PostHi Cheasea, I have solved the issue. Thanks.
Leave a comment:
-
Hello ecallega,
Welcome to the NinjaTrader forums!
I've add your vote, and jmagaia, your vote as well.
Leave a comment:
-
Please, also add my vote for SFT-4377.
I firmly agree... that Strategy Builder with Order Flow Indicators is a MUST!!!
Thanks
Ed C
Leave a comment:
-
blackcosmic2020 and Yotrader15,
Welcome to the NinjaTrader forums!
Your votes have been added to SFT-4377.
Thank you for making time to provide feedback.
Leave a comment:
-
Please, also add my vote for SFT-4377.
Strategy Builder with Order Flow Indicators is a MUST.
Thanks
- Likes 1
Leave a comment:
-
Please add my vote to be able to use various outputs from the orderflow indicator in the strategy builder.
Leave a comment:
-
Hello pjsmith,
Due to the advanced nature of Order Flow scripts, these cannot be called in the Strategy Builder and require unlocking the script and coding by hand to use.
I have added your vote to SFT-4377. Thank you for your vote.
Leave a comment:
-
Came across this whilst trying to figure out why Order Flow VWAP does not appear in Strategy builder as a usable indie plot. This post is over 2 years old I think, but, what the heck, please add my vote...
Leave a comment:
-
Hi federicoo,
Thanks for your post.
Your vote has been added.
Let us know if we may assist further,
Leave a comment:
-
Hello, please add my vote for
SFT-4377, "Call Order Flow + items from Strategy Builder"
specifically for OF Volume Profile
Thanks
Leave a comment:
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by alifarahani, Today, 09:40 AM
|
6 responses
31 views
0 likes
|
Last Post
by alifarahani
Today, 03:18 PM
|
||
Started by Waxavi, Today, 02:10 AM
|
1 response
17 views
0 likes
|
Last Post Today, 03:03 PM | ||
Started by Kaledus, Today, 01:29 PM
|
5 responses
13 views
0 likes
|
Last Post Today, 02:56 PM | ||
Started by Waxavi, Today, 02:00 AM
|
1 response
12 views
0 likes
|
Last Post Today, 02:53 PM | ||
Is it possible to have a drawing, such as a line, cycle through different colors?
by gentlebenthebear
Started by gentlebenthebear, Today, 01:30 AM
|
3 responses
17 views
0 likes
|
Last Post Today, 02:41 PM |
Leave a comment: