NexusFi: Find Your Edge


Home Menu

 





Sample Advanced Automated Strategy v1.0


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one dsraider with 36 posts (41 thanks)
    2. looks_two wgreenie with 21 posts (1 thanks)
    3. looks_3 gg80108 with 11 posts (6 thanks)
    4. looks_4 Ducman with 7 posts (0 thanks)
      Best Posters
    1. looks_one MXASJ with 3 thanks per post
    2. looks_two dsraider with 1.1 thanks per post
    3. looks_3 gg80108 with 0.5 thanks per post
    4. looks_4 eman with 0.4 thanks per post
    1. trending_up 48,998 views
    2. thumb_up 64 thanks given
    3. group 27 followers
    1. forum 117 posts
    2. attach_file 15 attachments




 
Search this Thread

Sample Advanced Automated Strategy v1.0

  #111 (permalink)
 gg80108 
Castle Pines N, CO.
 
Experience: Advanced
Platform: NinjaTrader
Broker: Amp Futures/Zen-Fire)
Trading: ES
Posts: 201 since Jul 2009
Thanks Given: 196
Thanks Received: 132

Put the code and rules up, when u get close and we can turn it into a bot!

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Futures True Range Report
The Elite Circle
Are there any eval firms that allow you to sink to your …
Traders Hideout
Better Renko Gaps
The Elite Circle
ZombieSqueeze
Platforms and Indicators
The space time continuum and the dynamics of a financial …
Emini and Emicro Index
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Get funded firms 2023/2024 - Any recommendations or word …
61 thanks
Funded Trader platforms
38 thanks
NexusFi site changelog and issues/problem reporting
26 thanks
GFIs1 1 DAX trade per day journal
19 thanks
The Program
18 thanks
  #112 (permalink)
 
MWinfrey's Avatar
 MWinfrey 
Lubbock TX
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Stage 5 Trading
Trading: CL
Posts: 1,878 since Jul 2009
Thanks Given: 1,450
Thanks Received: 3,335


evilmrkipling View Post
Not an elite member i'm afraid, would be happy to run tests on my system, see what results I get.

Suggest you bite the bullet and become an elite member so you can participate in these kinds of things. The investment in elite membership is worth it.

Reply With Quote
  #113 (permalink)
 bomberone1 
London
 
Experience: Beginner
Platform: MultiCharts
Posts: 277 since Nov 2010
Thanks Given: 14
Thanks Received: 29


Are there any upgrade?
I am searching other strategy to see how they are coded and learn.
Whrere could i find more strategy for learning purpouse?

Reply With Quote
  #114 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,397 since Jun 2009
Thanks Given: 33,173
Thanks Received: 101,537


bomberone1 View Post
Are there any upgrade?
I am searching other strategy to see how they are coded and learn.
Whrere could i find more strategy for learning purpouse?

There are several advanced strategies in the Elite Group Trading section of the forum, some worked on jointly by many members. There are also several submitted in our monthly Battle of the Bots section of the forum.

Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
  #115 (permalink)
 bomberone1 
London
 
Experience: Beginner
Platform: MultiCharts
Posts: 277 since Nov 2010
Thanks Given: 14
Thanks Received: 29

Hi Mike, so have you got many trading syste for MC and NT that are trading in real mode?
Is it possible see the code and use them?
This section is only in elite members?

Reply With Quote
  #116 (permalink)
 wgreenie 
Cambridge, Ontario
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Zen-Fire
Trading: 6E
Posts: 1,778 since Dec 2009
Thanks Given: 1,258
Thanks Received: 1,203


bomberone1 View Post
Are there any upgrade?
I am searching other strategy to see how they are coded and learn.
Whrere could i find more strategy for learning purpouse?

Hi Bomberone1

In addition to Big Mike's suggestion, you may want to browse the following Ninja reference samples (both indicators and strategies):

Reference Samples - [AUTOLINK]NinjaTrader[/AUTOLINK] Support Forum

Happy Learning!

Beth

Good Trading is about Trading Right!
Want What the Market Wants!
Trade With the Trend!
Visit my NexusFi Trade Journal Reply With Quote
  #117 (permalink)
ehartanto
hempstead,NY
 
Posts: 1 since Feb 2010
Thanks Given: 1
Thanks Received: 0

Is this work on daily chart or just minutely chart ?
I tried to forward testing it using historical data and it does no result at all.
please help!


dsraider View Post
People of the interweb,

With the help of several sample strategies I found on the NT forum and a little ingenuity, I have put together a fully-automated, advanced strategy which does the following:

1. Only enters between 10:15 AM and 3:15 PM (EST) (allows for second time frame as well)
2. Shuts down if PnL is more than $1,000 or less than -$300
3. Enters limit orders for long and short based on signal
4. Covers three time frames but will only have one active position open at a time
5. Cancels entry order if market moves four ticks away from limit order without filling
6. Sets an initial stop at 12 ticks, then changes to breakeven at +4 ticks and trails, tick by tick, from there
7. Scales out of half position at +4 ticks (1st profit target) and covers second half position at +8 ticks (2nd profit target)

Good news: All parameters can be changed to suit your needs. Please feel free to add to, delete or change anything in the code. All that I ask is that you don't sell my hard work for profit.

Bad news: As I have been coding C# for roughly 2.5 weeks, the contents of the strat pretty much consists of everything I know about coding. Therefore, if you want something drasticly changed, I will most likely not know how.

I am creating this thread so that we may all help to make it better, if need be, so please keep all comments and requests to this thread. As of now, the only thing with which I am not thrilled is the CancelOrder() code. It USUALLY works fine, but sometimes it surprises me. I am open to suggestions for how to make that, or any other part, better.

Click below for the strat. To install: Control Panel ---> File ---> Utilitites ---> Import Ninjascript...

Thanks and happy trading,
Dave

v.1.1 - 2/23/10
1. Fixed CancelOrder() code.
2. Added arrows and chart name plots (since plots will only show on main chart, this lets you know which time frame just took the trade).

If you cannot see your full chart name once plotted: Right-click on chart ---> Properties ---> Right Side Margin


Reply With Quote
  #118 (permalink)
 tm10 
QC
 
Experience: Intermediate
Platform: NINJA TRADER
Trading: E MINI RUSSEL AND ES
Posts: 68 since Jun 2010
Thanks Given: 4
Thanks Received: 65

Thanks for this nice contribution.Did u have any update on this strategy and also what type of chart do u use
with this,,volume,,,mint,range or some thing else plz.

Reply With Quote




Last Updated on November 16, 2011


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
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.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts