Can Ninjatrader perform autotrading without problems? - NinjaTrader | futures io social day trading
futures io futures trading


Can Ninjatrader perform autotrading without problems?
Updated: Views / Replies:5,816 / 26
Created: by waveraider Attachments:2

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
 2  
 
Thread Tools Search this Thread
 

Can Ninjatrader perform autotrading without problems?

  #21 (permalink)
Elite Member
Lubbock TX
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: Stage 5 Trading
Favorite Futures: CL
 
MWinfrey's Avatar
 
Posts: 1,879 since Jul 2009
Thanks: 1,449 given, 3,306 received


traderwerks View Post
Here is an example. This was a 6J trade I took. I used a limit if touched entry. touch 979, entry long 978. The stop was sent at 975 (IIRC) which was never hit in real life. I entered at 978 and exited at 982 for a 4 tick scalp.

If I was backtesting, the system would have entered at 978 and been stopped out at 975 for a 4 tick loss ( added 1 tick for the Market order exit ).

I can't tell from your post but was it a 4 tick loss in backtesting because it exited on the same bar as the entry. If so, that can be fixed by checking to make sure CurrentBar != entryBar;

Reply With Quote
 
  #22 (permalink)
Elite Member
Israel
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: pfg
Favorite Futures: eminis
 
Posts: 323 since Jun 2009
Thanks: 6 given, 206 received


Quoting 
If I was backtesting, the system would have entered at 978 and been stopped out at 975 for a 4 tick loss ( added 1 tick for the Market order exit ).

I want to emphasize that backtesting is the most important aspect in strategy development. Of course you need to understand how to do it properly. In your example you need a tick data series for the execution.
If done correctly backtesting will be exactly as replay and live trading.

Baruch

Reply With Quote
 
  #23 (permalink)
Elite Member
Lubbock TX
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: Stage 5 Trading
Favorite Futures: CL
 
MWinfrey's Avatar
 
Posts: 1,879 since Jul 2009
Thanks: 1,449 given, 3,306 received



baruchs View Post
Can you explain? I think that if you write the strategy correctly it should give the same results in BT and replay.

Baruch

I agree that aside from slippage, the strategy should be the same in BT, replay, and live. However, there are bar types that cause problems and don't backtest the same as replay and live. The NT provided renko and linebreak bartypes are 2. Other issues that can cause problems with BT are any tick based bartype may not be the same at times because of timestamp issues. From what I understand tick data doesn't have timestamps until they are written to the historic data server. So, those timestamps are artificial in a sense. At times, they are wrong and cause your BT orders to show up in different locations on your chart that aren't even close to the right place. I was using the Viper system at one time and their strategies were built for either volume or tick data, can't remember which. They were horrible. I'd have trades that didn't even show up in backtesting but were there in live and vice versa.

Couple other things to consider is that your default session needs to have a definite end time like 11:59 PM. That way a bar that is in progress at 11:59 PM will be terminated at 11:59 and a new bar will start each day. This solves the problem of looking at a chart one day, seeing an entry at a specific time and going back to that entry tomorrow or any other time in the future and that same entry isn't there. That's because you start your chart from a different day each time you look at it. Therefore your first bar is different causing every bar after that to be different from when you first looked at that pattern. So by having your session start over each day the way I described, you are forcing your backfill data to be the same every time. Much better chance of having those patterns the same from day to day whether you have 1 day or backfill data or 100.

You really must sync your computer time with an atomic clock every day. I use a free utility called Abouttime. http://www.arachnoid.com/abouttime. I've used it for years and never worry about it. Works well.

There are other issues as well but I can't seem to remember them right now. I'll add to this post if I remember.

I have to say BetterRenko works perfectly. Just had to give a plug to aslan who wrote the BR.

Reply With Quote
The following user says Thank You to MWinfrey for this post:
 
  #24 (permalink)
 Vendor: www.traderwerks.com 
Taipei Taiwan
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: Optimus
Favorite Futures: TW
 
Posts: 693 since Jun 2009
Thanks: 440 given, 440 received


MWinfrey View Post
I can't tell from your post but was it a 4 tick loss in backtesting because it exited on the same bar as the entry. If so, that can be fixed by checking to make sure CurrentBar != entryBar;

It often does exit the same bar.

I don't have a problem , my systems are working fine, I just gave an example.

Math. A gateway drug to reality.
Reply With Quote
 
  #25 (permalink)
 Vendor: www.traderwerks.com 
Taipei Taiwan
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: Optimus
Favorite Futures: TW
 
Posts: 693 since Jun 2009
Thanks: 440 given, 440 received


baruchs View Post
I want to emphasize that backtesting is the most important aspect in strategy development. Of course you need to understand how to do it properly. In your example you need a tick data series for the execution.
If done correctly backtesting will be exactly as replay and live trading.

Baruch

Ok. I do my 'system' design outside of ninja before I start coding. But to each his/her own.

Math. A gateway drug to reality.
Reply With Quote
 
  #26 (permalink)
 Vendor: www.traderwerks.com 
Taipei Taiwan
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: Optimus
Favorite Futures: TW
 
Posts: 693 since Jun 2009
Thanks: 440 given, 440 received


baruchs View Post
If done correctly backtesting will be exactly as replay and live trading.
Baruch

No. You will always have implementation error ( positive or negative ), especially with a retail platform.

Math. A gateway drug to reality.
Reply With Quote
The following user says Thank You to traderwerks for this post:
 
  #27 (permalink)
Elite Member
Lubbock TX
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: Stage 5 Trading
Favorite Futures: CL
 
MWinfrey's Avatar
 
Posts: 1,879 since Jul 2009
Thanks: 1,449 given, 3,306 received


baruchs View Post
I want to emphasize that backtesting is the most important aspect in strategy development. Of course you need to understand how to do it properly. In your example you need a tick data series for the execution.
If done correctly backtesting will be exactly as replay and live trading.

Baruch


Could you elaborate on what "correctly" is? According to you comment you must have something specific you can give us as opposed to all of us going back and forth on what can and can't be done.

Reply With Quote

Reply



futures io > > > > Can Ninjatrader perform autotrading without problems?

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
autotrading the eminishark journal sysot1t Trading Journals 31 July 12th, 2011 12:03 PM
Newbie Question about Autotrading (NT7) NJAMC The Elite Circle 3 April 6th, 2011 03:52 PM
How to set up autotrading using Multicharts? Doctor Leo MultiCharts 9 March 26th, 2011 12:35 PM
to get NT to perform an action only once while a strategy condition is true richw NinjaTrader Programming 3 February 28th, 2011 09:38 PM
Autotrading systems - do you trust them while you sleep? Twiddle Traders Hideout 4 August 17th, 2010 02:05 PM


All times are GMT -4. The time now is 04:05 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-15 in 0.12 seconds with 34 queries on phoenix via your IP 54.90.92.204