Backtesting confusion - NinjaTrader | futures io social day trading
futures io futures trading


Backtesting confusion
Updated: Views / Replies:287 / 3
Created: by mastertrader31 Attachments:4

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
 

Backtesting confusion

  #1 (permalink)
Trading Apprentice
Tallinn Estonia
 
Futures Experience: None
Platform: ninja
Favorite Futures: es
 
Posts: 3 since Jun 2016
Thanks: 3 given, 0 received

Backtesting confusion

I am backtesting a sample strategy using vwap indicator. It basically buys es if close is above 3 points. Stops if stoploss is reached 8 points or Take profit is reached also 8 points. But my backtest shows what seems to me intrabar buying and stoping. How can I make it buy and sell on bar close?

Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).

Attached Files
Register to download File Type: cs vwapLong.cs (17.8 KB, 4 views)
Register to download File Type: cs VitVWAP.cs (6.1 KB, 3 views)
Reply With Quote
 
  #2 (permalink)
Elite Member
Omer עומר / Israel י
 
Futures Experience: Master
Platform: NinjaTrader, Proprietary,
Broker/Data: Ninjabrokerage/IQfeed + Synthetic datafeed
Favorite Futures: 6A, 6B, 6C, 6E, 6J, 6S, ES, NQ, YM, AEX, CL, NG, ZB, ZN, ZC, ZS, GC
 
rleplae's Avatar
 
Posts: 2,116 since Sep 2013
Thanks: 1,513 given, 3,186 received
Forum Reputation: Legendary


mastertrader31 View Post
I am backtesting a sample strategy using vwap indicator. It basically buys es if close is above 3 points. Stops if stoploss is reached 8 points or Take profit is reached also 8 points. But my backtest shows what seems to me intrabar buying and stoping. How can I make it buy and sell on bar close?

Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).

try to run your strategy in 'replay' mode..
what does that give ?

Reply With Quote
 
  #3 (permalink)
Trading Apprentice
Tallinn Estonia
 
Futures Experience: None
Platform: ninja
Favorite Futures: es
 
Posts: 3 since Jun 2016
Thanks: 3 given, 0 received


Sry about the delay. Had to learn market replay. So anyway I tested with it and it shows the same result. Seems like its closing on every tick not bar
Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).

Reply With Quote
 
  #4 (permalink)
Elite Member
Denver, CO
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: NinjaTrader Brokerage
Favorite Futures: ES
 
NinjaTrader's Avatar
 
Posts: 1,230 since May 2010
Thanks: 150 given, 1,854 received


mastertrader31 View Post
I am backtesting a sample strategy using vwap indicator. It basically buys es if close is above 3 points. Stops if stoploss is reached 8 points or Take profit is reached also 8 points. But my backtest shows what seems to me intrabar buying and stoping. How can I make it buy and sell on bar close?

Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).

At a quick glance, this can happen if your stops and profit targets are tight, within the range of the entry bar. NinjaTrader 8 has been improved in this area.

Reply With Quote

Reply



futures io > > > > Backtesting confusion

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

July Journal Challenge w/$1100 in prizes from TopstepTrader

July
 

An Afternoon with FIO member Softsoap

Elite only

Battlestations: Show us your trading desks and win $750 in prizes

August
 

Extended Ask Me Anything w/Brett Steenbarger

Elite only

Prototyping Python Strategies (part 3) w/Ran Aroussi

Elite only

Brannigan Barrett w/Axia Futures

Elite only

Introduction to Phillip Capital futures brokerage services

Aug TBD

How Monte Carlo Analysis Can Help Your Trading w/Kevin Davey

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
.NET Backtesting API/library - externalize backtesting from your trading platform andby Elite EasyLanguage Automated Trading 1 July 26th, 2016 09:25 PM
ZB calculation confusion.... mdsvtr Bonds and Interest Rates Trading 7 May 28th, 2015 08:27 AM
Asia open confusion Joseph689 Currency Futures 3 March 13th, 2015 08:30 PM
ThinkorSwim DOM Confusion purveyor ThinkOrSwim 6 March 2nd, 2015 02:27 AM
Confusion Still Prevails Over Greek Leadership Quick Summary News and Current Events 0 November 4th, 2011 07:10 AM


All times are GMT -4. The time now is 10:45 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-07-24 in 0.08 seconds with 20 queries on phoenix via your IP 54.225.53.253