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 49,648 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

  #101 (permalink)
 
Ducman's Avatar
 Ducman 
The Netherlands
 
Experience: Intermediate
Platform: NinjaTrader 8
Broker: NINJATRADER Brokerage / Continuum
Trading: CL
Posts: 473 since Nov 2010
Thanks Given: 413
Thanks Received: 640

I have attached some screen shots from the standard strategy that works and the 'Sample Advanced Automated Strategy v1.0' that does not. I use the exact same backtesting settings for both strategies. In simulation mode the 'Sample Advanced Automated Strategy v1.0' does a number of trades for the chosen date, in backtest mode it seems to be calculating (the graph is there) but it gives me no results. NT version 6.5

Attached Thumbnails
Click image for larger version

Name:	Backtest1.jpg
Views:	399
Size:	141.1 KB
ID:	27125   Click image for larger version

Name:	Backtest2.jpg
Views:	364
Size:	45.4 KB
ID:	27126   Click image for larger version

Name:	Backtest3.jpg
Views:	355
Size:	140.1 KB
ID:	27127   Click image for larger version

Name:	Backtest4.jpg
Views:	310
Size:	46.0 KB
ID:	27128   Click image for larger version

Name:	Backtest5.jpg
Views:	337
Size:	140.1 KB
ID:	27129  
Visit my NexusFi Trade Journal Reply With Quote

Can you help answer these questions
from other members on NexusFi?
PowerLanguage & EasyLanguage. How to get the platfor …
EasyLanguage Programming
Trade idea based off three indicators.
Traders Hideout
Exit Strategy
NinjaTrader
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
ZombieSqueeze
Platforms and Indicators
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Just another trading journal: PA, Wyckoff & Trends
31 thanks
Spoo-nalysis ES e-mini futures S&P 500
28 thanks
Tao te Trade: way of the WLD
24 thanks
Bigger Wins or Fewer Losses?
20 thanks
GFIs1 1 DAX trade per day journal
17 thanks
  #102 (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


Ducman View Post
I have attached some screen shots from the standard strategy that works and the 'Sample Advanced Automated Strategy v1.0' that does not. I use the exact same backtesting settings for both strategies. In simulation mode the 'Sample Advanced Automated Strategy v1.0' does a number of trades for the chosen date, in backtest mode it seems to be calculating (the graph is there) but it gives me no results. NT version 6.5

When u say " simulation mode" is this just when u right click on the chart that has the strategy applied and looking at Strategy Performance/ Historical?
There may also be a hint as to why it doesn't trade in the log, trace, Tools/Output Window..

Reply With Quote
  #103 (permalink)
 
Ducman's Avatar
 Ducman 
The Netherlands
 
Experience: Intermediate
Platform: NinjaTrader 8
Broker: NINJATRADER Brokerage / Continuum
Trading: CL
Posts: 473 since Nov 2010
Thanks Given: 413
Thanks Received: 640


Sorry, where I said Simulation mode I meant Replay mode. It does trades in Replay mode only, not in Backtest. The log does not say anything when I run a Backtest. The strange thing is that it seems to perform calculations because it takes while to do the Backtest. The result is just 0.
Could anyone try a Backtest in their system and see what happens.

Visit my NexusFi Trade Journal Reply With Quote
  #104 (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

This strategy is set to run on volume charts,, check out line 55, 56 in the code.. I changed my code to minutes just to get some trades... The volume setting may not be appropriate for ur instrument, so u will have to put a 20/50 ema on ur chart and see what volume setting gets u some crosses. This will trade 3 different time frames at once, mix and match if u want.


Add(PeriodType.Minute, 2);
Add(PeriodType.Minute, 3);
and also made my main chart 1 min



on line 95 prevents this from running on historical data ,, which is all data except for new data coming in so comment this out..
// if (Historical) return;


this should start to get u some trades..

Reply With Quote
Thanked by:
  #105 (permalink)
 
Ducman's Avatar
 Ducman 
The Netherlands
 
Experience: Intermediate
Platform: NinjaTrader 8
Broker: NINJATRADER Brokerage / Continuum
Trading: CL
Posts: 473 since Nov 2010
Thanks Given: 413
Thanks Received: 640

Thanks for your analysis! I got it working with the volume and historical setting disabled. I'm in a steep learning curve and these kind of advices are extremely valuable!

Visit my NexusFi Trade Journal Reply With Quote
  #106 (permalink)
 
evilmrkipling's Avatar
 evilmrkipling 
Spain
 
Experience: Beginner
Platform: NinjaTrader
Trading: CL
Posts: 11 since Feb 2011
Thanks Given: 2
Thanks Received: 3

Anyone beed using this live? Would be nice to see some results!

Reply With Quote
  #107 (permalink)
 
Ducman's Avatar
 Ducman 
The Netherlands
 
Experience: Intermediate
Platform: NinjaTrader 8
Broker: NINJATRADER Brokerage / Continuum
Trading: CL
Posts: 473 since Nov 2010
Thanks Given: 413
Thanks Received: 640


evilmrkipling View Post
Anyone beed using this live? Would be nice to see some results!

It's not that profitable replaying it. It's a good basis to write your own strategy though! I'm working on one and it's almost ready for release on the site. I hope you are willing to do some testing for me when it's available.

Regards,

Ducman

Visit my NexusFi Trade Journal Reply With Quote
  #108 (permalink)
 
evilmrkipling's Avatar
 evilmrkipling 
Spain
 
Experience: Beginner
Platform: NinjaTrader
Trading: CL
Posts: 11 since Feb 2011
Thanks Given: 2
Thanks Received: 3

Sure thing! Would be more than happy to do some testing for you. Give me a shout when its ready!

Reply With Quote
  #109 (permalink)
 
Ducman's Avatar
 Ducman 
The Netherlands
 
Experience: Intermediate
Platform: NinjaTrader 8
Broker: NINJATRADER Brokerage / Continuum
Trading: CL
Posts: 473 since Nov 2010
Thanks Given: 413
Thanks Received: 640


evilmrkipling View Post
Sure thing! Would be more than happy to do some testing for you. Give me a shout when its ready!

It's ready and I have a journal in the Elite section where I present sim results. The Strategy is called 'Myst'

Ducman

Visit my NexusFi Trade Journal Reply With Quote
  #110 (permalink)
 
evilmrkipling's Avatar
 evilmrkipling 
Spain
 
Experience: Beginner
Platform: NinjaTrader
Trading: CL
Posts: 11 since Feb 2011
Thanks Given: 2
Thanks Received: 3


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

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