NinjaWorkshop Strategy - NinjaTrader Programming | futures io social day trading
futures io futures trading

NinjaWorkshop Strategy
Updated: Views / Replies:3,360 / 5
Created: by DerekPhelps Attachments:3

Welcome to futures io.

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

futures io is the largest futures trading community on the planet, with over 100,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors – all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you don’t need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

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

Thread Tools Search this Thread

NinjaWorkshop Strategy

  #1 (permalink)
Membership Temporarily Revoked
houston texas
Trading Experience: Advanced
Platform: NinjaTrader
Favorite Futures: forex
Posts: 5 since Aug 2012
Thanks: 0 given, 13 received

NinjaWorkshop Strategy

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
NinjaWorkshop Strategy-ninjaworkshop.jpg  
Attached Files
Register to download File Type: zip (506.5 KB, 116 views)
Register to download File Type: docx NinjaWorkshop QuickStart instructions.docx (522.4 KB, 205 views)
Reply With Quote
The following 12 users say Thank You to DerekPhelps for this post:
  #2 (permalink)
Quick Summary
Quick Summary Post

Quick Summary is created and edited by users like you... Add FAQ's, Links and other Relevant Information by clicking the edit button in the lower right hand corner of this message.

  #3 (permalink)
Elite Member
Wrocław, Poland
Trading Experience: Intermediate
Platform: NinjaTrader, Racket
Favorite Futures: Ockham's razor
gregid's Avatar
Posts: 651 since Aug 2009
Thanks: 321 given, 612 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
  #4 (permalink)
Membership Temporarily Revoked
houston texas
Trading Experience: Advanced
Platform: NinjaTrader
Favorite Futures: forex
Posts: 5 since Aug 2012
Thanks: 0 given, 13 received


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
  #5 (permalink)
Membership Temporarily Revoked
houston texas
Trading Experience: Advanced
Platform: NinjaTrader
Favorite Futures: forex
Posts: 5 since Aug 2012
Thanks: 0 given, 13 received

NinjaWorkshop Corrected Code

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
The following user says Thank You to DerekPhelps for this post:
  #6 (permalink)
Elite Member
Montreal, Quebec, Canada
Trading Experience: Advanced
Platform: NinjaTrader
Favorite Futures: Stocks
Posts: 6 since Mar 2013
Thanks: 0 given, 0 received

Add new indicator

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 > > > > > NinjaWorkshop Strategy

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Upcoming Webinars and Events (4:30PM ET unless noted)

Don’t Let One Bad Trade Wipe Out Your Entire Account w/GFF Brokers

Apr 23

New CME Micro Indices: New Trading Opportunities w/FuturesTrader71

Elite only

Benefits of Trading the Micro E-Minis w/Stage 5 & CME Group

Apr 30

Similar Threads
Thread Thread Starter Forum Replies Last Post
Call ATM Strategy on an automated strategy to control position jsengxx NinjaTrader Programming 7 May 31st, 2016 04:51 PM
Utility To Transpose Optimized Strategy Values From Excel Output to Actual Strategy mercuryfx NinjaTrader 5 April 7th, 2012 03:59 PM
Ninjatrader7 ATM Strategy combine with Strategy Wizard Ninja Script schuster21 NinjaTrader Programming 4 July 4th, 2011 04:39 PM
Ninja Strategy multi-timeframe issue/Strategy to indicator nw123 NinjaTrader Programming 2 December 20th, 2009 06:24 PM

atm, atm strategy, code, dow, email, es, est, indicator, indicators, information, limit, new indicator, ninja, ninjascript, ninjatrader, ninjaworkshop, resize, signals, strategy, support, trade management, visual studio

All times are GMT -4. The time now is 03:15 AM. (this page content is cached, log in for real-time version)

Copyright © 2019 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432 WhatsApp Business,
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
Page generated 2019-04-22 in 0.23 seconds with 15 queries on phoenix