NexusFi: Find Your Edge


Home Menu

 





Help backtesting/automating


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one DavidHP with 7 posts (3 thanks)
    2. looks_two rscr with 6 posts (3 thanks)
    3. looks_3 bobwest with 5 posts (2 thanks)
    4. looks_4 blackgrey45 with 1 posts (0 thanks)
    1. trending_up 1,049 views
    2. thumb_up 8 thanks given
    3. group 3 followers
    1. forum 18 posts
    2. attach_file 0 attachments




 
Search this Thread

Help backtesting/automating

  #11 (permalink)
 
bobwest's Avatar
 bobwest 
Western Florida
Site Moderator
 
Experience: Advanced
Platform: Sierra Chart
Trading: ES, YM
Frequency: Several times daily
Duration: Minutes
Posts: 8,172 since Jan 2013
Thanks Given: 57,524
Thanks Received: 26,292

I think that when @DavidHP saw the term "strategy" he thought in terms of an already-coded, automated strategy, which is what the term often means, whereas what you have is the description of a method that you are currently using manually. But his point is simply, and correctly, that true backtesting means you run an automated strategy, so you can't be backtesting, in a strict sense, before you have it automated.

More importantly, if you hire someone to automate your UniRenko method, you are going to find what many others have found before you: when you run the automation in your backtest, your results may look great, sterling even. But when you actually trade it, the results will not agree with the backtest, due to the issues I went into with UniRenko bars previously. Backtests with UniRenko bars, at least using the NT engine, do not give true results. You may want to ask people here to suggest a backtestible Renko alternative.

Your present manual strategy may well be an excellent one, and may be profitable. I am just saying that you need a different type of Renko bar if you are going to automate this and then if you want to get a reliable backtest.

Of course, the point of developing a system is not to get a backtest , so this may not be a true problem.

Bob.

When one door closes, another opens.
-- Cervantes, Don Quixote
Reply With Quote

Can you help answer these questions
from other members on NexusFi?
REcommedations for programming help
Sierra Chart
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Trade idea based off three indicators.
Traders Hideout
MC PL editor upgrade
MultiCharts
About a successful futures trader who didnt know anythin …
Psychology and Money Management
 
  #12 (permalink)
 rscr 
san jose costa rica
 
Experience: Intermediate
Platform: trading station
Trading: forex
Posts: 22 since Jun 2014
Thanks Given: 135
Thanks Received: 9

Lived in the states since 19yrs. retired to CR 28yrs ago. Have dual citizenship. Costa Rican and Aussie and also US residency. Have not regretted on second but am now considering moving back to the states.

Although in my younger years I enjoyed life as professional gambler, most of my life was spent as a developer/builder, but also dabbled in gold mining in Nevada.

My daughter 43yrs., in Montecito California, keeps urging me to do so. Have a Tica wife and daughter 21 and a Tico son 19, at present he is visiting Australia.
Is it acceptable to post personal emails on this thread?
Communicating directly would be preferable.

Started this thread Reply With Quote
  #13 (permalink)
 
bobwest's Avatar
 bobwest 
Western Florida
Site Moderator
 
Experience: Advanced
Platform: Sierra Chart
Trading: ES, YM
Frequency: Several times daily
Duration: Minutes
Posts: 8,172 since Jan 2013
Thanks Given: 57,524
Thanks Received: 26,292



rscr View Post
Is it acceptable to post personal emails on this thread?

Since you would be posting your email in a public forum, where it's available to everyone on the entire internet, you might decide not to do that.

You can send someone on NexusFi a Direct Message (click Send Direct Message in the dropdown from their name, at the left of their post.) Then you can use that to exchange emails, confidentially.

Bob.

When one door closes, another opens.
-- Cervantes, Don Quixote
Reply With Quote
  #14 (permalink)
 
DavidHP's Avatar
 DavidHP 
Isla Mujeres, MX
Legendary Market Wizard
 
Experience: Advanced
Platform: NinjaTrader
Broker: Ninjatrader / Optimus Futures / AmpFutures
Trading: ES / 6E / 6B / CL
Frequency: Every few days
Duration: Minutes
Posts: 1,612 since Aug 2009
Thanks Given: 11,345
Thanks Received: 2,747

LOL a lot like me except when I gamble it is purely for fun not profit.
My son runs a gold mining / hiking event in Idaho and of course I have to help with that on occasion.
I have residency in Mexico but I don't intend to be a citizen.

Since you are a developer??? What kind?
If you have any programming experience, NT uses C# as a strategy/indicator language.
If you wish to DM me here that will be ok but I think open forum communication helps everyone.

If it is private information, DO NOT post in the forum.

Everyone thinks it is strange, but DavidHP is not my real name.
I come from a white hat 'developer'(aka hacker) background and the alias was necessary.


When I joined here, I also used an alias and now I do not wish to change it to my real name.

Good luck on your journey, I'm sure it will be as eventful and exciting as you wish to make it.

@bobwest is an admin and he is always a good person to help if you need it.


rscr View Post
Lived in the states since 19yrs. retired to CR 28yrs ago. Have dual citizenship. Costa Rican and Aussie and also US residency. Have not regretted on second but am now considering moving back to the states.

Although in my younger years I enjoyed life as professional gambler, most of my life was spent as a developer/builder, but also dabbled in gold mining in Nevada.

My daughter 43yrs., in Montecito California, keeps urging me to do so. Have a Tica wife and daughter 21 and a Tico son 19, at present he is visiting Australia.
Is it acceptable to post personal emails on this thread?
Communicating directly would be preferable.


Rejoice in the Thunderstorms of Life . . .
Knowing it's not about Clouds or Wind. . .
But Learning to Dance in the Rain ! ! !
Follow me on Twitter Reply With Quote
  #15 (permalink)
 
blackgrey45's Avatar
 blackgrey45 
Marco Island, FL
Legendary Market Wizard
 
Experience: Beginner
Platform: Sierra Chart
Broker: AMP Global
Trading: MCL MES
Frequency: Several times daily
Duration: Minutes
Posts: 786 since Jul 2022
Thanks Given: 877
Thanks Received: 910


bobwest View Post
I think that when But his point is simply, and correctly, that true backtesting means you run an automated strategy, so you can't be backtesting, in a strict sense, before you have it automated.

So a strategy must be automated to be back tested? Do my results from manually scrolling through charts with a strategy count as back testing?

Visit my NexusFi Trade Journal Reply With Quote
  #16 (permalink)
 
bobwest's Avatar
 bobwest 
Western Florida
Site Moderator
 
Experience: Advanced
Platform: Sierra Chart
Trading: ES, YM
Frequency: Several times daily
Duration: Minutes
Posts: 8,172 since Jan 2013
Thanks Given: 57,524
Thanks Received: 26,292


blackgrey45 View Post
So a strategy must be automated to be back tested? Do my results from manually scrolling through charts with a strategy count as back testing?

It's just a matter of how a person uses the words, not anything else.

The term "backtest" has been used by people who create automated systems, and when they test out their systems by running them against historical data, that's what they mean by "backtest."

A lot of people just mean look back through historical data and see how their trading rules would have worked out, which actually is the same idea, just doing it manually. That's what you did.

Is either "better"? Well, if you have an automated system and you run a fully automated backtest, you will get a more reliable result, because (1) it won't make mistakes, and (2) you can run it on more data.

But if you don't have an automated system, you still have to see how it would have worked out in the past, and that is what many people mean by the term.

Typically, "backtesting" means the more rigorous, more accurate automated form, but it's kind of a matter of semantics. Just know that there are the different meanings, that's all.

Bob.

When one door closes, another opens.
-- Cervantes, Don Quixote
Reply With Quote
Thanked by:
  #17 (permalink)
 
DavidHP's Avatar
 DavidHP 
Isla Mujeres, MX
Legendary Market Wizard
 
Experience: Advanced
Platform: NinjaTrader
Broker: Ninjatrader / Optimus Futures / AmpFutures
Trading: ES / 6E / 6B / CL
Frequency: Every few days
Duration: Minutes
Posts: 1,612 since Aug 2009
Thanks Given: 11,345
Thanks Received: 2,747


rscr View Post
Communicating directly would be preferable.

I meant to ask.
You are using UniRenko charts.
I just assumed you are running Ninjatrader 8?

Rejoice in the Thunderstorms of Life . . .
Knowing it's not about Clouds or Wind. . .
But Learning to Dance in the Rain ! ! !
Follow me on Twitter Reply With Quote
  #18 (permalink)
 rscr 
san jose costa rica
 
Experience: Intermediate
Platform: trading station
Trading: forex
Posts: 22 since Jun 2014
Thanks Given: 135
Thanks Received: 9

Hi DavidHP (??" Yes UniRenko Bars.

To answer your previous question;
Travelled over many parts of Mexico but to my sorrow never the Yucatan Peninsula.

I started by building a hillside home for myself outside of San Jose Costa Rica. Imported insulated wall panels. !st in CR.
Then, on moving to the coast, developed a 16 unit hilltop condo project. Pre-sld all before first unit was completed. Next was a Zipline adventure tour, then, seeing strong growth in the area, came a self-storage unit complex with a Gas Station on the main highway. All very successful.

But -in life, as in trading, you can not win every in challenge.
A 50 unit, hi-end, beachfront condo project, which was to be my last HURRAH ended up as my demise.
BAMMM!!!! 2007 - 2008 financial collapse. Had 23 units presold, refunded all $$$$ and took a huge hit.

So now, being retired & bored, and sadly to old to chase the ladies - in an attempt to keep the grey matter from deteriorating as quickly as the body, I have turned to Trading Futures.

Gives me a another reason for enjoying the sunrise each morning.

To that end: am seeking a reasonably priced NT8 programmer to automate my strategy so that it can be tested as to viability.
Yes, am fully aware of the many Algos being offered - the meal you cook yourself is always the one most satisfyingly.

WOOPS!!! Pardon me!!! Carried away once again.

Started this thread Reply With Quote
  #19 (permalink)
 
DavidHP's Avatar
 DavidHP 
Isla Mujeres, MX
Legendary Market Wizard
 
Experience: Advanced
Platform: NinjaTrader
Broker: Ninjatrader / Optimus Futures / AmpFutures
Trading: ES / 6E / 6B / CL
Frequency: Every few days
Duration: Minutes
Posts: 1,612 since Aug 2009
Thanks Given: 11,345
Thanks Received: 2,747

@rscr I sent a direct message to you.
Check your messages.
This is just a message to see if you know how to do that on NexusFI.

Rejoice in the Thunderstorms of Life . . .
Knowing it's not about Clouds or Wind. . .
But Learning to Dance in the Rain ! ! !
Follow me on Twitter Reply With Quote




Last Updated on October 11, 2023


© 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