NexusFi: Find Your Edge


Home Menu

 





Strategy creating 95%-100% winning trades


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one shodson with 13 posts (10 thanks)
    2. looks_two pakricard with 8 posts (1 thanks)
    3. looks_3 Big Mike with 7 posts (5 thanks)
    4. looks_4 gabga100 with 7 posts (1 thanks)
      Best Posters
    1. looks_one sefstrat with 2.3 thanks per post
    2. looks_two shodson with 0.8 thanks per post
    3. looks_3 Big Mike with 0.7 thanks per post
    4. looks_4 cunparis with 0.6 thanks per post
    1. trending_up 100,767 views
    2. thumb_up 41 thanks given
    3. group 41 followers
    1. forum 92 posts
    2. attach_file 8 attachments




 
Search this Thread

Strategy creating 95%-100% winning trades

  #51 (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,976 since Jun 2009
Thanks Given: 533
Thanks Received: 3,709


sharmas View Post
Hi Shodson

Would you mind sharing your chart and indicator set up

Thanking you
Sharmas

I started this thread so long ago i can't even remember what the strategy did. I must have thrown it out because it was curve fitted or something. Sorry. Maybe this thread should be closed.

Follow me on Twitter Visit my NexusFi Trade Journal Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
REcommedations for programming help
Sierra Chart
Cheap historycal L1 data for stocks
Stocks and ETFs
How to apply profiles
Traders Hideout
NexusFi Journal Challenge - May 2024
Feedback and Announcements
 
  #52 (permalink)
 pakricard 
Indonesia
 
Experience: Beginner
Platform: NT
Trading: FDAX
Posts: 29 since Jan 2011
Thanks Given: 13
Thanks Received: 18

Hi:

I'm quite new with Ninja and few days ago was excited with my "MakeMeMillions" strategy. backtested was 99% profitable (I was going to make 3.000 USD with 1 ES contract in 1 year ;-)), so I start looking for coding flawns, etc until I discovered the OHLC problem in backtesting.

So... I can't rely on the parameters or anything calculated by the backtest / optimization in Ninja, as you can't trust the results.

BUT: In Ninja 7.0 twhen you open a strategy inside a chart, there's a parameter called "Calculate on bar close". If set to false is supposed to calculate in every tick.

I set it up to false but could see no difference whatsoever, the results are exactly the same (on bar close vs incoming tick). Is this parameter only used for real data ticks, or also used backwards?

Is there any way to overcome this problem?

I'm even thinking to change the platform (Sierra or any other doing reliable intra-bar backtest / optimization)...

THANKS!
PakRicard

Reply With Quote
  #53 (permalink)
 
Trader.Jon's Avatar
 Trader.Jon 
Near the BEuTiFULL Horse Shoe
 
Experience: Beginner
Platform: NinjaTrader
Broker: MBTrading Dukascopy ZenFire
Trading: $EURUSD when it is trending
Posts: 473 since Jul 2009
Thanks Given: 401
Thanks Received: 184



pakricard View Post
Hi:
BUT: In Ninja 7.0 twhen you open a strategy inside a chart, there's a parameter called "Calculate on bar close". If set to false is supposed to calculate in every tick.

I set it up to false but could see no difference whatsoever, the results are exactly the same (on bar close vs incoming tick). Is this parameter only used for real data ticks, or also used backwards?
THANKS!
PakRicard

COBC=false in backtesting has no effect on outcome because it is defaulted to use COBC=true, regardless on your settings.

Sorry!
Jon

Reply With Quote
  #54 (permalink)
 
redratsal's Avatar
 redratsal 
Milan (I)
 
Experience: Advanced
Platform: Ninjatrader
Broker: Kinetick
Trading: FDAX,6E,CL,YM,NQ,ES
Posts: 1,648 since Oct 2010
Thanks Given: 1,215
Thanks Received: 2,090


pakricard View Post
Hi:

I'm quite new with Ninja and few days ago was excited with my "MakeMeMillions" strategy. backtested was 99% profitable (I was going to make 3.000 USD with 1 ES contract in 1 year ;-)), so I start looking for coding flawns, etc until I discovered the OHLC problem in backtesting.

So... I can't rely on the parameters or anything calculated by the backtest / optimization in Ninja, as you can't trust the results.

BUT: In Ninja 7.0 twhen you open a strategy inside a chart, there's a parameter called "Calculate on bar close". If set to false is supposed to calculate in every tick.

I set it up to false but could see no difference whatsoever, the results are exactly the same (on bar close vs incoming tick). Is this parameter only used for real data ticks, or also used backwards?

Is there any way to overcome this problem?

I'm even thinking to change the platform (Sierra or any other doing reliable intra-bar backtest / optimization)...

THANKS!
PakRicard


Also, about changing platform you can view the Big Mike's video about Multicharts vs Ninjatrader on backtesting (IMO, MC is much more functional than NT) Big Mike's Trading Blog: [AUTOLINK]MultiCharts[/AUTOLINK] vs. [AUTOLINK]NinjaTrader[/AUTOLINK] backtesting and optimizing strategy

Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #55 (permalink)
 
GoldStandard's Avatar
 GoldStandard 
arizona
 
Experience: Intermediate
Platform: rolling my own
Trading: ES,CL,GC,6E
Posts: 205 since Oct 2009
Thanks Given: 324
Thanks Received: 191


pakricard View Post
Hi:

I'm quite new with Ninja and few days ago was excited with my "MakeMeMillions" strategy. backtested was 99% profitable (I was going to make 3.000 USD with 1 ES contract in 1 year ;-)), so I start looking for coding flawns, etc until I discovered the OHLC problem in backtesting.

So... I can't rely on the parameters or anything calculated by the backtest / optimization in Ninja, as you can't trust the results.

BUT: In Ninja 7.0 twhen you open a strategy inside a chart, there's a parameter called "Calculate on bar close". If set to false is supposed to calculate in every tick.

I set it up to false but could see no difference whatsoever, the results are exactly the same (on bar close vs incoming tick). Is this parameter only used for real data ticks, or also used backwards?

Is there any way to overcome this problem?

I'm even thinking to change the platform (Sierra or any other doing reliable intra-bar backtest / optimization)...

THANKS!
PakRicard


Ninjatrader is never going to give you backtesting results you can trust. Multicharts may be somewhat better, but I've come to the conclusion that the only way for me to get really reliable backesting is to write my own backtester (or pay a programmer to write it) to work directly with the data, which doesn't depend on the data-handling capabilities of any retail platform.

But since you've already got the strategy coded in ninja, you could try running it in replay mode, which should be much closer to reality than ninja's backtesting.

Reply With Quote
  #56 (permalink)
Tundi
Fullerton, CA
 
Posts: 201 since Dec 2010
Thanks Given: 33
Thanks Received: 98


GoldStandard View Post
Ninjatrader is never going to give you backtesting results you can trust. Multicharts may be somewhat better, but I've come to the conclusion that the only way for me to get really reliable backesting is to write my own backtester (or pay a programmer to write it) to work directly with the data, which doesn't depend on the data-handling capabilities of any retail platform. .

Best to test with historical tick data at the Bid and Ask level if you're using Limit orders in your strategy. For time based bars, it aamy not be important fo that level of granularity.

I'm surprised there aren't vendors who have collected Bid/Ask level tick data sell it.

Reply With Quote
  #57 (permalink)
 pakricard 
Indonesia
 
Experience: Beginner
Platform: NT
Trading: FDAX
Posts: 29 since Jan 2011
Thanks Given: 13
Thanks Received: 18


redratsal View Post
Also, about changing platform you can view the Big Mike's video about Multicharts vs Ninjatrader on backtesting (IMO, MC is much more functional than NT) Big Mike's Trading Blog: [AUTOLINK]MultiCharts[/AUTOLINK] vs. [AUTOLINK]NinjaTrader[/AUTOLINK] backtesting and optimizing strategy

I'll take a look at Multicharts. Is Sierra performimg OK on backtesting? My strategy is scalping 2 ticks, so most probably it opens and closes the position at the same bar. Besides this issue NT was great, but now NT is worth zero to me...


I'm not lazy learning another language or rewritting strategies , but I want to be sure backtest is as good as possible (at least close to reality or worst case scenario, not best case)...

Thanks,
PakRicard

Reply With Quote
Thanked by:
  #58 (permalink)
 
redratsal's Avatar
 redratsal 
Milan (I)
 
Experience: Advanced
Platform: Ninjatrader
Broker: Kinetick
Trading: FDAX,6E,CL,YM,NQ,ES
Posts: 1,648 since Oct 2010
Thanks Given: 1,215
Thanks Received: 2,090


pakricard View Post
I'll take a look at Multicharts. Is Sierra performimg OK on backtesting? My strategy is scalping 2 ticks, so most probably it opens and closes the position at the same bar. Besides this issue NT was great, but now NT is worth zero to me...


I'm not lazy learning another language or rewritting strategies , but I want to be sure backtest is as good as possible (at least close to reality or worst case scenario, not best case)...

Thanks,
PakRicard

Hi Pakricard,

Thks for your feedbacks.

I don't know much about Sierra, I use NT. Using a tick stratagy will not help changing to MC since the magnifier is a minute function. When it comes to backtesting it is difficult to compare platforms, some might have more functions than others but generally I do not trust backtesting results. It might be a starting point to check the profitability of a strategy through BT but the best way is to test it in replay or live sim trade and compare the results with your BT, in my case this means that I go live with real money after many months and with a money management strategy.

Concerning learning another language, the MC easylanguage is much simpler and faster than NT as shown in the mentioned video.

Visit my NexusFi Trade Journal Reply With Quote
  #59 (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,976 since Jun 2009
Thanks Given: 533
Thanks Received: 3,709


pakricard View Post
Hi:

I'm quite new with Ninja and few days ago was excited with my "MakeMeMillions" strategy. backtested was 99% profitable (I was going to make 3.000 USD with 1 ES contract in 1 year ;-)), so I start looking for coding flawns, etc until I discovered the OHLC problem in backtesting.

So... I can't rely on the parameters or anything calculated by the backtest / optimization in Ninja, as you can't trust the results.

BUT: In Ninja 7.0 twhen you open a strategy inside a chart, there's a parameter called "Calculate on bar close". If set to false is supposed to calculate in every tick.

I set it up to false but could see no difference whatsoever, the results are exactly the same (on bar close vs incoming tick). Is this parameter only used for real data ticks, or also used backwards?

Is there any way to overcome this problem?

I'm even thinking to change the platform (Sierra or any other doing reliable intra-bar backtest / optimization)...

THANKS!
PakRicard

There is, but it makes your coding more complicated: you have to add a 2nd timeframe in your strategy, like a 1 tick bar, so you can analyze each tick as it comes in. But now you have to deal with the complexities of a multi-time frame strategy.

I know Metatrader can back test tick by tick built-in, without having to change your code. That would be a nice improvement if NT did something similar, built-in.

Follow me on Twitter Visit my NexusFi Trade Journal Started this thread Reply With Quote
Thanked by:
  #60 (permalink)
 
monpere's Avatar
 monpere 
Bala, PA, USA
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Mirus, IB
Trading: SPY, Oil, Euro
Posts: 1,854 since Jul 2010
Thanks Given: 300
Thanks Received: 3,372



shodson View Post
There is, but it makes your coding more complicated: you have to add a 2nd timeframe in your strategy, like a 1 tick bar, so you can analyze each tick as it comes in. But now you have to deal with the complexities of a multi-time frame strategy.

I know Metatrader can back test tick by tick built-in, without having to change your code. That would be a nice improvement if NT did something similar, built-in.

Crap! Now I have to go back and retest every strategy I ever wrote on Ninja with a multi bar series. Who knows? I may have scrapped a couple of million dollar a year strategies ! But seriously people, it's 2011, how hard could it be to write a tick based backtester? Am I missing something here? We need to force the issue with our vendors. I say we boycott all of them!

Reply With Quote




Last Updated on January 30, 2020


© 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