NinjaWorkshop Strategy - futures io
futures io

NinjaWorkshop Strategy

Discussion in NinjaTrader

      Top Posters
    1. looks_one DerekPhelps with 4 posts (13 thanks)
    2. looks_two gregid with 1 posts (0 thanks)
    3. looks_3 Quick Summary with 1 posts (0 thanks)
    4. looks_4 jdextras with 1 posts (0 thanks)
    1. trending_up 3,842 views
    2. thumb_up 13 thanks given
    3. group 4 followers
    1. forum 5 posts
    2. attach_file 3 attachments

Welcome to futures io: the largest futures trading community on the planet, with well over 125,000 members
  • Genuine reviews from real traders, not fake reviews from stealth vendors
  • Quality education from leading professional traders
  • We are a friendly, helpful, and positive community
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts
  • We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

(If you already have an account, login at the top of the page)

Search this Thread

NinjaWorkshop Strategy

(login for full post details)
  #1 (permalink)
houston texas
Posts: 5 since Aug 2012

I wrote this as a rapid prototype tool to test trade ideas and thought I'd share.

NinjaWorkShop is a full featured fully functional multi-control, multi-entry strategy. It was written in a semi modular construct as a tool that I could quickly and easily plug in other indicator controls for testing in a way that could compliment trigger signals of other indicators in a seamless manner and expose all parameters of indicators for tuning to specific instruments and time periods. Each indicator is user configured to be used by itself or in conjunction with other indicator controls as an Entry/Exit/Both trigger or for display purposes only. In this public version I have included some industry standard indicators as well as a couple custom ones.

Some of its default designed features are...
•Entry triggers signaled only if ALL active (set to Entries or Both) indicators are generating an entry signal (AND function).
•Exit Triggers are generated if ANY active (set to Exits or Both)indicator condition is met (OR function) (Difficult to get in, quick to get out).
•Optional handover to ATM strategy of choice. Upon triggered Entry, ATM assumes full control until ATM exit returns control back to strategy.
•Multiple Stop/Targets methods for trade management.
•In this basic version has 7 indicator controls 5 Entry Limit methods of controlling trade entries and exits. Each control can be independently enabled to work alone or in combination with the other controls.

This strategy will allow you to become familiar with the concept and process of mixing and matching indicators to complement each other and to cover the weak spots in one type of indicator with the strengths of another. Once familiar with its operation, if you are a programmer you should be able to add additional favorite specialty indicator/controls in the manner that I have and not have to worry about breaking the trade management (stops/targets/multi-entry/etc.) system already in place.
If you are not a programmer and have a favorite indicator you trade with and wish to add to your core NinjaWorkshop you may contact me with your requested change/trade-idea/upgrade to enhance this strategy to your specification.
I tried to upload in the files section but couldn't get the 'Add' thing to work, Will try and attach here.

Attached Thumbnails
Click image for larger version

Name:	NinjaWorkShop.jpg
Views:	236
Size:	421.3 KB
ID:	134513  
Attached Files
Register to download File Type: zip (506.5 KB, 121 views)
Register to download File Type: docx NinjaWorkshop QuickStart instructions.docx (522.4 KB, 214 views)
Reply With Quote

Journal Challenge April 2021 results (now extended!):
Competing for $1800 in prizes from Jigsaw
looks_oneMaking a Living with the Microsby sstheo
(96 thanks from 15 posts)
looks_twoSalao's Journalby Salao
(32 thanks from 7 posts)
looks_3Deetee’s DAX Trading Journal (time based)by Deetee
(26 thanks from 10 posts)
looks_4Learning to Profit - A journey in algorithms and optionsby Syntax
(13 thanks from 8 posts)
looks_5Maybe a little bit different journalby Malykubo
(9 thanks from 8 posts)
Best Threads (Most Thanked)
in the last 7 days on futures io
Would You Sell Your System?
73 thanks
The Crude Dude Oil Trading System
40 thanks
Big Mike in Ecuador
39 thanks
The New Micro Contract - MICRO BITCOIN coming May 2021
24 thanks
futures io site changelog and issues/problem reporting
24 thanks
(login for full post details)
  #3 (permalink)
Wrocław, Poland
Experience: Intermediate
Platform: NinjaTrader, Racket
Trading: Ockham's razor
gregid's Avatar
Posts: 651 since Aug 2009
Thanks: 320 given, 620 received

Cool idea!

I wanted to look at the code which compiles nicely under NinjaScript editor, but I'm having problem with this part of the code (ATMConverter class) when opened from Visual Studio:

foreach (StrategyData data in NinjaTrader.Db.Globals.Engine.GetObjectSet(typeof(StrategyData), "category = " + 2))
	{	if (data.Strategy is AtmStrategy)
		{	Array.Resize<string>(ref sarr, sarr.Length+1);	sarr[sarr.Length-1] = data.Strategy.Name;
It cannot resolve the symbol for GetObjectSet which looks like some reference problem - have you encountered similar problem as I believe I have all the references right?

Reply With Quote
(login for full post details)
  #4 (permalink)
houston texas
Posts: 5 since Aug 2012

Hi Greg:
As you say, the code compiles fine using Ninjas internal compiler.
I believe that GetObjectSet() is one of a handful of Ninja calls that are internal to Ninja and not exposed for external call through VisualStudio for some reason. If you find an alternate method of loading this array that works under VisualStudio I would be interested in hearing of it.

Reply With Quote
(login for full post details)
  #5 (permalink)
houston texas
Posts: 5 since Aug 2012

NOTE: I have enhanced some features and corrected several bugs in the code. Go to the Ninja site for the current version of NinjaWorkshop

Links and Downloads Manager - NinjaTrader Support Forum

Reply With Quote
(login for full post details)
  #6 (permalink)
Montreal, Quebec, Canada
Experience: Advanced
Platform: NinjaTrader
Trading: Stocks
Posts: 6 since Mar 2013
Thanks: 0 given, 0 received

Hi Derek, I would like to add an other indicator to your code. Would it be easy to do so?

Reply With Quote

futures io Trading Community Platforms and Indicators NinjaTrader > NinjaWorkshop Strategy

Last Updated on October 12, 2014

Upcoming Webinars and Events

NinjaTrader Indicator Challenge!


Journal Challenge w/$1,800 in prizes!


Seven Trading Mistakes Solved With Smart Trading Tools w/Brannigan Barrett

Elite only

Copyright © 2021 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432,
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.
no new posts