Repainting Indicators and Backtesting - futures io
futures io futures trading



Repainting Indicators and Backtesting


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one elitetradernyc with 2 posts (0 thanks)
    2. looks_two baruchs with 1 posts (0 thanks)
    3. looks_3 Quick Summary with 1 posts (0 thanks)
    4. looks_4 cory with 1 posts (0 thanks)
    1. trending_up 1,302 views
    2. thumb_up 0 thanks given
    3. group 3 followers
    1. forum 5 posts
    2. attach_file 0 attachments




Welcome to futures io: the largest futures trading community on the planet, with well over 125,000 members
  • Genuine reviews from real traders, not fake reviews from stealth vendors
  • Quality education from leading professional traders
  • We are a friendly, helpful, and positive community
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts
  • We are here to help, just let us know what you need
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

(If you already have an account, login at the top of the page)

 
Search this Thread
 

Repainting Indicators and Backtesting

(login for full post details)
  #1 (permalink)
new york, ny
 
Experience: Intermediate
Platform: ninjatrader
Trading: stocks, options
 
Posts: 80 since Nov 2012
Thanks: 6 given, 4 received

Hey guys just wondering if anyone experienced a similar problem. It seems as though whenever I use an indicator that redraws previous data points at each bar, that it skews the backtesting results. Has anyone experienced something similar? What was your solution?

Started this thread Reply With Quote

Journal Challenge February 2021 results (so far):
Competing for $1500 in prizes from Topstep
looks_oneSBtrader82 's Trading Journalby SBtrader82
(169 thanks from 31 posts)
looks_twoJust BEING a Trader: Letting Go!!by iqgod
(116 thanks from 33 posts)
looks_3Wisdom is Emptinessby Mtype
(68 thanks from 25 posts)
looks_4Deetee’s DAX Trading Journal (time based)by Deetee
(31 thanks from 17 posts)
looks_5Journal for peanuts1956by peanuts1956
(23 thanks from 13 posts)
 
 
(login for full post details)
  #3 (permalink)
the coin hunter
virginia
 
Experience: Intermediate
Platform: ninja
Trading: NQ
 
cory's Avatar
 
Posts: 6,029 since Jun 2009
Thanks: 845 given, 7,893 received


that don't use repaint indi for backtesting?

Reply With Quote
 
(login for full post details)
  #4 (permalink)
Puyallup, Washington State
 
Experience: Intermediate
Platform: NinjaTrader
Broker: NINJATRADER/CQG
Trading: NQ, CL, ES, YM
 
echoeversky's Avatar
 
Posts: 115 since Sep 2009
Thanks: 113 given, 48 received

always errors, always points in the data that are at issue.

That doesn't mean that proper testing methodologies cannot win the day.

Several issues may be at play however, say ones perception as to when an actual indicator fires that feeds ones strategy.

Say you brought in a custom indicator such as .. as crap.. I dont have the code on me at the moment..

where you define the type in the variables section and then later on in OnStartUp you make it your own like mySMA = SMA(Input,5);

At the beginning of OnBarUpdate make sure that you're doing a mySMA.Update();


Another problem is that if you're building strats on indicators that post results n number of bars ago like ZigZag or some such one is always going to be late to the party.


That said I make ninjatrader cry itself to sleep with what I try to pipe through it on near 1 tick like bars. It just cant handle the processing beyond say 10 days of data and 60 days is right out.

-E.

Follow me on Twitter Reply With Quote
 
(login for full post details)
  #5 (permalink)
Israel
 
Experience: Intermediate
Platform: NinjaTrader
Broker: pfg
Trading: eminis
 
Posts: 323 since Jun 2009
Thanks: 6 given, 207 received

Don't backtest.
Start immediately real money trading!


elitetradernyc View Post
Hey guys just wondering if anyone experienced a similar problem. It seems as though whenever I use an indicator that redraws previous data points at each bar, that it skews the backtesting results. Has anyone experienced something similar? What was your solution?


Reply With Quote
 
(login for full post details)
  #6 (permalink)
new york, ny
 
Experience: Intermediate
Platform: ninjatrader
Trading: stocks, options
 
Posts: 80 since Nov 2012
Thanks: 6 given, 4 received

I got it done. Had to change it so it doesnt redraw past bars.

Started this thread Reply With Quote


futures io Trading Community Platforms and Indicators NinjaTrader > Repainting Indicators and Backtesting


Last Updated on June 9, 2013


Upcoming Webinars and Events
 

NinjaTrader Indicator Challenge!

Ongoing
 

Journal Challenge w/$1500 prizes from Topstep!

February
 

Battlestations! Show us your trading desk - $1,500 in prizes!

March
 

Call Option Buying: The New Pain Trade? w/Carley Garner

Elite only
     



Copyright © 2021 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