Indicators painted on strategy manager charts - NinjaTrader Programming | futures io social day trading
futures io futures trading


Indicators painted on strategy manager charts
Updated: Views / Replies:1,502 / 2
Created: by shodson Attachments:0

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
 

Indicators painted on strategy manager charts

  #1 (permalink)
 Vendor: www.probabletrades.com 
OC, California, USA
 
Futures Experience: Advanced
Platform: IB/TWS, NinjaTrader, thinkorswim
Favorite Futures: stocks, options, futures, VIX
 
shodson's Avatar
 
Posts: 1,860 since Jun 2009
Thanks: 480 given, 3,255 received

Indicators painted on strategy manager charts

I have a strategy that I am backtesting. When I backtest it, I get a chart with the prices and the entry and exit signals in it, but that's it. If I manually apply a template to the chart to add in the indicators I want to see it works, but once I run another backtest the indicators are gone again. Is there a way that I can have my indicators on the backtesting charts already loaded after the test is complete? Can I apply a template chart somehow in the strategy code? I don't want to duplicate all of the indicator painting code in my strategy.

BTW, I finally got my first profitable strategy up and running last night! +$13K on the Sept ES with 10 contracts 6/1 to 6/30, 43% winning trades. I was up until 5am tweaking it and the < 50% success ratio worried me. Sure enough, the next day I ran it for the June ES for the 3 months previous and it failed miserably, too many trades entering at the very end of a trend move. Now I'm tired and (virtually) broke for the rest of the day. Oh well!

I'm really not looking for any holy grail indicator/system, I just want to automate the decision-making process I go through when I trade myself, automate some of my discretionary thinking, detecting price and volume breakouts, recognizing S/R levels, filtering trades against other time-frames, etc. as well as some high probability contrarian strategies (after large, rapids moves, scalp the short-term reversal)

Once I get some more consistent results I'll post up my progress.

Reply With Quote
 
  #2 (permalink)
Site Administrator
Manta, Ecuador
 
Futures Experience: Advanced
Platform: My own custom solution
Favorite Futures: E-mini ES S&P 500
 
Big Mike's Avatar
 
Posts: 46,240 since Jun 2009
Thanks: 29,357 given, 83,240 received


shodson View Post
I have a strategy that I am backtesting. When I backtest it, I get a chart with the prices and the entry and exit signals in it, but that's it. If I manually apply a template to the chart to add in the indicators I want to see it works, but once I run another backtest the indicators are gone again. Is there a way that I can have my indicators on the backtesting charts already loaded after the test is complete? Can I apply a template chart somehow in the strategy code? I don't want to duplicate all of the indicator painting code in my strategy.

Two ways:
1) Don't use the Chart feature within Strategy Analyzer, instead apply the strategy to a normal chart (File - New Chart), right-click, Strategy, add.

or, 2) Add the lines in the #initialize section of your strategy to Add() the indicators. Read up on NT's on-line help about Add(), but basically it's:

 
Code
                            
Add(Indicator(var1var2)); 

Mike

Due to time constraints, please do not PM me if your question can be resolved or answered on the forum.

Need help?
1) Stop changing things. No new indicators, charts, or methods. Be consistent with what is in front of you first.
2) Start a journal and post to it daily with the trades you made to show your strengths and weaknesses.
3) Set goals for yourself to reach daily. Make them about how you trade, not how much money you make.
4) Accept responsibility for your actions. Stop looking elsewhere to explain away poor performance.
5) Where to start as a trader? Watch this webinar and read this thread for hundreds of questions and answers.
6)
Help using the forum? Watch this video to learn general tips on using the site.

If you want
to support our community, become an Elite Member.

Reply With Quote
 
  #3 (permalink)
Elite Member
Calgary Canada
 
Futures Experience: Intermediate
Platform: Ninja
Broker/Data: IB/Kinetic
Favorite Futures: 6E, CL
 
jackyd's Avatar
 
Posts: 47 since Jun 2009
Thanks: 44 given, 18 received


Another way to do it is to use the wizard to create the Add() code for you.

Just start a new strategy with the wizard, skip to the conditions screen, and build a condition with the indicator you're interested in. There's an option in the indicator settings called "Plot on chart" - set this to true. Then all you need to do is click on the View Code button and copy/past the code from the Initialize section into your custom strategy and then cancel out of the wizard.

Good luck, and may your next strategy be a profitable one!

Reply With Quote

Reply



futures io > > > > > Indicators painted on strategy manager charts

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

Jigsaw Trading: TBA

Elite only

FuturesTrader71: TBA

Elite only

NinjaTrader: TBA

Jan 18

RandBots: TBA

Jan 23

GFF Brokers & CME Group: Futures & Bitcoin

Elite only

Adam Grimes: TBA

Elite only

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sharky's charts and indicators settings sharky Traders Hideout 44 April 3rd, 2014 12:54 AM
sharky's updated charts and indicators sharky Bonds and Interest Rates Trading 41 November 26th, 2013 12:15 PM
Painted Linear Regression Indicator essiar NinjaTrader 3 May 3rd, 2011 07:42 PM
Some indicators that only work on intraday charts Breakout NinjaTrader 9 August 13th, 2010 05:39 PM
JBL Risk Manager and Money Management System caprica Psychology and Money Management 1 December 19th, 2009 06:30 PM


All times are GMT -4. The time now is 06:17 PM.

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-18 in 0.09 seconds with 20 queries on phoenix via your IP 54.221.93.187