Automatic Strategy issue - futures io
futures io



Automatic Strategy issue


Discussion in NinjaTrader

Updated
    1. trending_up 1,647 views
    2. thumb_up 0 thanks given
    3. group 2 followers
    1. forum 3 posts
    2. attach_file 1 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
 

Automatic Strategy issue

(login for full post details)
  #1 (permalink)
 nillz123 
Ocala, FL
 
Experience: Intermediate
Platform: NT
Trading: Crude, Euro, ES
 
nillz123's Avatar
 
Posts: 44 since Aug 2010
Thanks: 25 given, 31 received

I had a programmer program a strategy for me but it seems he disappeared
(Please note that ther are two orders in back test set to every one order of real time)
If you can see the attached file, you will see that there seems to be time delays. Pay particular attention to the ENTRY times of the back test and the real time. Now, I know some orders may get filled at a price slightly better or worse than the backtests. However, I am noticing that in real time, the orders are 3-5 minutes off. I noticed only 2 orders that was in close proximity to each other (10:07 and 10:40), but as far as the rest goes, they are MINUTES off.

Also, the real time took extra trades that the back test did not (real time took 9 trades when the backtest chart shows it should have only taken 6).

Attached Thumbnails
Click image for larger version

Name:	time%20difference[1].PNG
Views:	69
Size:	116.1 KB
ID:	32941  
Started this thread Reply With Quote

Journal Challenge April 2021 results (now extended!):
Competing for $1800 in prizes from Jigsaw
looks_oneMaking a Living with the Microsby sstheo
(106 thanks from 17 posts)
looks_twoSalao's Journalby Salao
(32 thanks from 8 posts)
looks_3Deetee’s DAX Trading Journal (time based)by Deetee
(28 thanks from 11 posts)
looks_4Learning to Profit - A journey in algorithms and optionsby Syntax
(14 thanks from 9 posts)
looks_5Maybe a little bit different journalby Malykubo
(9 thanks from 8 posts)
 
Best Threads (Most Thanked)
in the last 7 days on futures io
Would You Sell Your System?
73 thanks
The Crude Dude Oil Trading System
42 thanks
Big Mike in Ecuador
40 thanks
The New Micro Contract - MICRO BITCOIN coming May 2021
25 thanks
futures io site changelog and issues/problem reporting
24 thanks
 
(login for full post details)
  #3 (permalink)
 nillz123 
Ocala, FL
 
Experience: Intermediate
Platform: NT
Trading: Crude, Euro, ES
 
nillz123's Avatar
 
Posts: 44 since Aug 2010
Thanks: 25 given, 31 received


And Still when you backtest it shows it as profitable, when in fact it is not. It hits the full SL.

Started this thread Reply With Quote
 
(login for full post details)
  #4 (permalink)
 Trader.Jon 
Near the BEuTiFULL Horse Shoe
 
Experience: Beginner
Platform: NinjaTrader
Broker: MBTrading Dukascopy ZenFire
Trading: $EURUSD when it is trending
 
Trader.Jon's Avatar
 
Posts: 500 since Jul 2009
Thanks: 401 given, 183 received


nillz123 View Post
I had a programmer program a strategy for me but it seems he disappeared...
Also, the real time took extra trades that the back test did not (real time took 9 trades when the backtest chart shows it should have only taken 6).

OUCH! Not nice of the programmer!

Without seeing all the code I would have to ask you specifically the code lines where the order entry takes place. Is it something like?)
 
Code
	iOrderL1 = EnterLongLimit(0, true, iQuantity1, (Close[0]+(MoveLimitTicks*TickSize)), sENTRY1L);
Depending on the code you could just be not hitting the targeted price until it shows up much later. IF you have 'EnterLong()' it will fill (sort of) immediately on market but might have huge slippage.

Jon

Writing to you from the wonderful province of Ontario, Canada. Home to the world's biggest natural negative ion generator, the Niagara Falls, and to those that dare to know how to go over it in a barrel. SALUTE!
Reply With Quote


futures io Trading Community Platforms and Indicators NinjaTrader > Automatic Strategy issue


Last Updated on March 7, 2011


Upcoming Webinars and Events
 

NinjaTrader Indicator Challenge!

Ongoing
 

Journal Challenge w/$1,800 in prizes!

April

Seven Trading Mistakes Solved With Smart Trading Tools w/Brannigan Barrett

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