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


NinjaWorkshop Strategy
Updated: Views / Replies:2,356 / 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 90,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

Reply
 
Thread Tools Search this Thread
 

NinjaWorkshop Strategy

  #1 (permalink)
Membership Temporarily Revoked
houston texas
 
Futures Experience: Advanced
Platform: NinjaTrader
Favorite Futures: forex
 
Posts: 5 since Aug 2012
Thanks: 0 given, 12 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 NinjaWorkShop1.0.zip (506.5 KB, 109 views)
Register to download File Type: docx NinjaWorkshop QuickStart instructions.docx (522.4 KB, 190 views)
Reply With Quote
The following 11 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
 
Futures Experience: Intermediate
Platform: NinjaTrader, Racket
Favorite Futures: Ockham's razor
 
gregid's Avatar
 
Posts: 651 since Aug 2009
Thanks: 321 given, 605 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:

 
Code
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
 
Futures Experience: Advanced
Platform: NinjaTrader
Favorite Futures: forex
 
Posts: 5 since Aug 2012
Thanks: 0 given, 12 received

GetObjectSet()

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.
Derek

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

Reply



futures io > > > > > NinjaWorkshop Strategy

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

Linda Bradford Raschke: Reading The Tape

Elite only

Adam Grimes: TBA

Elite only

NinjaTrader: TBA

January

Ran Aroussi: TBA

Elite only
     

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 05:51 PM
Utility To Transpose Optimized Strategy Values From Excel Output to Actual Strategy mercuryfx NinjaTrader 5 April 7th, 2012 04:59 PM
Ninjatrader7 ATM Strategy combine with Strategy Wizard Ninja Script schuster21 NinjaTrader Programming 4 July 4th, 2011 05:39 PM
Ninja Strategy multi-timeframe issue/Strategy to indicator nw123 NinjaTrader Programming 2 December 20th, 2009 07:24 PM


All times are GMT -4. The time now is 08:36 AM.

Copyright © 2017 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
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 2017-12-12 in 0.10 seconds with 20 queries on phoenix via your IP 54.90.207.75