NexusFi: Find Your Edge


Home Menu

 





Repainting Indicators and Backtesting


Discussion in NinjaTrader

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




 
Search this Thread

Repainting Indicators and Backtesting

  #1 (permalink)
 elitetradernyc 
new york, ny
 
Experience: Intermediate
Platform: ninjatrader
Trading: stocks, options
Posts: 80 since Nov 2012
Thanks Given: 6
Thanks Received: 4

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

Can you help answer these questions
from other members on NexusFi?
REcommedations for programming help
Sierra Chart
How to apply profiles
Traders Hideout
Exit Strategy
NinjaTrader
Trade idea based off three indicators.
Traders Hideout
PowerLanguage & EasyLanguage. How to get the platfor …
EasyLanguage Programming
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Spoo-nalysis ES e-mini futures S&P 500
29 thanks
Just another trading journal: PA, Wyckoff & Trends
25 thanks
Tao te Trade: way of the WLD
24 thanks
Bigger Wins or Fewer Losses?
21 thanks
GFIs1 1 DAX trade per day journal
16 thanks
  #3 (permalink)
 
cory's Avatar
 cory 
virginia
 
Experience: Intermediate
Platform: ninja
Trading: NQ
Posts: 6,098 since Jun 2009
Thanks Given: 877
Thanks Received: 8,090


that don't use repaint indi for backtesting?

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

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
  #5 (permalink)
 baruchs 
Israel
 
Experience: Intermediate
Platform: NinjaTrader
Broker: pfg
Trading: eminis
Posts: 323 since Jun 2009

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
  #6 (permalink)
 elitetradernyc 
new york, ny
 
Experience: Intermediate
Platform: ninjatrader
Trading: stocks, options
Posts: 80 since Nov 2012
Thanks Given: 6
Thanks Received: 4

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

Started this thread Reply With Quote




Last Updated on June 9, 2013


© 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