NinjaScript Delta – Strategy Builder

Hey what’s up everybody.

Attempting right now to backtest delta on historical ES data. I have cumulative delta access (lifetime membership) but am having such a difficult time trying to reference order flow in my strategy.

For simplicity, let’s say I’m trying to set a bar’s color to blue if the bar delta is greater than 500.

I have almost zero C# experience but am typically good at working out what needs to be done. Anyone have any experience with this? Would love some helpful tips if they’re out there.

I have already been all over the internet and have spent a couple hours trying to figure it out. I made a custom indicator that correctly retrieves delta per bar and prints it in the data box, but cannot refer to those values in the strategy builder.

Hope you all are having a great day!

Submitted November 10, 2020 at 05:34PM by BoulderCo1998

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s