NexusFi: Find Your Edge


Home Menu

 





Backtesting 3rd party indicator?


Discussion in NinjaTrader

Updated
    1. trending_up 2,589 views
    2. thumb_up 1 thanks given
    3. group 2 followers
    1. forum 4 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
 
LightWeight's Avatar
 LightWeight 
Kirkland, WA/United States
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Optimus/Vision/Rithmic
Trading: Futures
Posts: 138 since Jul 2012
Thanks Given: 138
Thanks Received: 42

I have a third party indicator I lease, and I'm interested in backtesting it across various instruments and chart time frames (1 minute, 5 minute, etc.), as well as using various stops/targets for the entries when a signal is received to trade -- I'd like to determine which combination of those variables yield the most consistently profitable results, if any. Anyone know how I would go about doing this, or can anyone point me in a direction? I've never done backtesting before and wouldn't know where to begin, so far I've only been able to manually go back and look at charts to see where the signals were and then paper trade them to try and get an idea of performance, which needless to say is very time consuming. Also, because the indicator is third party I can't just give the criteria to a programmer and have them run it for me either, unfortunately.


Think big, think positive, never show any sign of weakness. Always go for the throat. Buy low, sell high. Fear? That's the other guy's problem. In this building, it's either kill or be killed. You make no friends in the pits and you take no prisoners. One minute you're up half a million in soybeans and the next, boom, your kids don't go to college and they've repossessed your Bentley. Are you with me?
Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Synapse Pro - Trade Copier with topstep and MT5 integrat …
NinjaTrader
SEC and CFTC Unlock Customer Cross-Margining for Treasur …
Treasury Notes and Bonds
Irans Answer Due Today: Peace Surges to 33.5%, Invasion …
Prediction Markets & Event Contracts
Prop Firms Are Banning Gold Trading as Record Prices Mak …
Funded Trading Evaluation Firms
April FOMC Minutes: Most Divided Fed Since 1992 -- Many …
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Sober Journey With S&P
24 thanks
2026 Jlab journal
10 thanks
Lady Vols Primer: Trading Volatility Journal
7 thanks
Algo automated / semi-automated trading anyone?
6 thanks
Trying to learn Volume and price action correlation
5 thanks
  #2 (permalink)
 
shodson's Avatar
 shodson 
OC, California, USA
Quantoholic
 
Experience: Advanced
Platform: IB/TWS, NinjaTrader, ToS
Broker: IB, ToS, Kinetick
Trading: stocks, options, futures, VIX
Posts: 1,971 since Jun 2009
Thanks Given: 534
Thanks Received: 3,711

You have to see if the 3rd party indicator exposes the correct data series via its API so backtesting code can be written to test it. Some indicator writers do this, some don't and just want you to use charts and not bother backtesting with their indicators, probably because it's crap.

You'll also need to learn how to write backtesting code in whatever trading platform the indicator uses, or hire someone that can.


Follow me on X Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #3 (permalink)
 
LightWeight's Avatar
 LightWeight 
Kirkland, WA/United States
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Optimus/Vision/Rithmic
Trading: Futures
Posts: 138 since Jul 2012
Thanks Given: 138
Thanks Received: 42



shodson View Post
You have to see if the 3rd party indicator exposes the correct data series via its API so backtesting code can be written to test it. Some indicator writers do this, some don't and just want you to use charts and not bother backtesting with their indicators, probably because it's crap.

You'll also need to learn how to write backtesting code in whatever trading platform the indicator uses, or hire someone that can.

Thanks for the reply. The indicator uses Ninja, and I have no problem hiring someone to code it since I have no knowledge in that area. As for exposing the API, I'm not sure what that means...I'd have to assume they don't exactly want to give you the keys to the castle so to speak, since if you could easily reverse-engineer their indicator then there's no reason to keep paying them to lease it...then again, maybe they figure most people wouldn't go to the trouble in the first place. But ideally I'd like to be able to backtest the indicator with various scenarios and then automate if it I found one that worked well enough.


Think big, think positive, never show any sign of weakness. Always go for the throat. Buy low, sell high. Fear? That's the other guy's problem. In this building, it's either kill or be killed. You make no friends in the pits and you take no prisoners. One minute you're up half a million in soybeans and the next, boom, your kids don't go to college and they've repossessed your Bentley. Are you with me?
Started this thread Reply With Quote
  #4 (permalink)
 Koepisch 
@ Germany
 
Experience: Beginner
Platform: NinjaTrader
Broker: Mirus Futures/Zen-Fire
Trading: FDAX
Posts: 568 since Nov 2011
Thanks Given: 440
Thanks Received: 518

@LightWeight: To shorten the time for a valid answer you can drop the name of the indicator here because there is a high probability that someone else of the 50000 members has tried it before or know something about the accessibility of the indicator related value dataseries.


Reply With Quote
  #5 (permalink)
 
shodson's Avatar
 shodson 
OC, California, USA
Quantoholic
 
Experience: Advanced
Platform: IB/TWS, NinjaTrader, ToS
Broker: IB, ToS, Kinetick
Trading: stocks, options, futures, VIX
Posts: 1,971 since Jun 2009
Thanks Given: 534
Thanks Received: 3,711


LightWeight View Post
Thanks for the reply. The indicator uses Ninja, and I have no problem hiring someone to code it since I have no knowledge in that area. As for exposing the API, I'm not sure what that means...I'd have to assume they don't exactly want to give you the keys to the castle so to speak, since if you could easily reverse-engineer their indicator then there's no reason to keep paying them to lease it...then again, maybe they figure most people wouldn't go to the trouble in the first place. But ideally I'd like to be able to backtest the indicator with various scenarios and then automate if it I found one that worked well enough.

If you tell me which indicator it is, or give me a copy of it (PM or email), I can tell you if it's backtest-able or not. There's no way to know until someone that knows Ninjascript like me or many others on this forum take a look at it.


Follow me on X Visit my NexusFi Trade Journal Reply With Quote




Last Updated on January 2, 2014


© 2026 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 - Downloads - Top
no new posts