NinjaTrader Support Forum  

Go Back   NinjaTrader Support Forum > Application Technical Support > Miscellaneous Support > Historical NinjaTrader 6.5 Archive > Historical NinjaTrader 6.5 Beta Threads

 
 
Thread Tools Display Modes
Old 01-12-2008, 11:41 PM   #1
ohowie
Senior Member
 
Join Date: Dec 2007
Posts: 190
Thanks: 0
Thanked 0 times in 0 posts
Default forex off by .0001

i have updated to 6.5 without transfering information from 6. Just so i could test it "out of the box". I have a live account and still yet to trade. i still have the same problem i had in 6 trying to use NT with gain. trading off the dom and the single entry works fine. when back testing all dollars come out multiplied by .0001 . I am on a new machine, dual core, and windows vista. HELP! I love the program but am baffled by this problem. it makes it impossible to test any strategy. you should be able to see for yourself loading the currency pairs as provided by NT to default and then optimizing any of the sample trading strategies provided by NT. Could it be vista?

Thank you for your time gentlemen,
Howard
ohowie is offline  
Old 01-13-2008, 08:17 AM   #2
NinjaTrader_Ray
Administrator
 
NinjaTrader_Ray's Avatar
 
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
Default

Please look at the 6.5 Help Guide section -

Automated Trading > Running Live NinjaScript Strategies > Running FX Strategies

(I think that is the section)

Let me know if this may explain what you are experiencing.
NinjaTrader_Ray is offline  
Old 01-13-2008, 10:06 AM   #3
ohowie
Senior Member
 
Join Date: Dec 2007
Posts: 190
Thanks: 0
Thanked 0 times in 0 posts
Default

thank you Ray I now have a better understanding. Enjoy the rest of your weekend and thankyou for your help
ohowie is offline  
Old 01-13-2008, 10:21 AM   #4
NinjaTrader_Ray
Administrator
 
NinjaTrader_Ray's Avatar
 
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
Default

Your welcome, glad the information was clear...
NinjaTrader_Ray is offline  
Old 03-12-2008, 12:19 PM   #5
kgillis23
Member
 
Join Date: May 2007
Location: West Jordan, Utah
Posts: 61
Thanks: 0
Thanked 0 times in 0 posts
Default

The first thing I did once I install NT 6.5 was to try the Strategy Analyzer. Then for the next several hours I puzzeled over why my strategy.. which ran under NT 6.. was not producing any results. Well it was, but I had it set to currancy and my quanity was defaulted to 1... so no measureable results... anyway I rant on...

I will assume there was a very good reason to make this kind of change. My concern is the risk of makeing sure it is 100,000 in backtest and market replay, but then set back to 1 for live - would not be a fun mistake to make.

So my real question.. can I programaticly detect which I am on? I could use "Historical" for backtest.. but not market replay. Is there something else I could us to determine if I need to set quanity to 1 or 100,000?

Thanks
kgillis23 is offline  
Old 03-12-2008, 12:34 PM   #6
NinjaTrader_Ray
Administrator
 
NinjaTrader_Ray's Avatar
 
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
Default

Please see 6.5 Help Guide section

Automated Trading > Running Live NinjaScript Strategies > Running FX Strategies

Hopefully this will help.
NinjaTrader_Ray is offline  
Old 03-12-2008, 12:59 PM   #7
kgillis23
Member
 
Join Date: May 2007
Location: West Jordan, Utah
Posts: 61
Thanks: 0
Thanked 0 times in 0 posts
Default

Ray,

Thanks - I have read the suggested help section...a couple of times.

Let me restate my question. In the help page it states:

Quote:
MAKE SURE that you adjust your strategy's order quantity from 100,000 to 1 to ensure you are trading the correct quantity.
I don't consider it wise to require a manual process for something that could have such significant negative results. Does NT provide any NinjaStcript variable/value that can be used to determine if my strategy is running in Strategy Analyzer, Simulated Data Feed, or Market Replay vs. Live or Sim101?

"Historical" will not work here becuase, as I understand it, Historical also treats Market Replay as real time data during forward testing.

So the only option I see here is to provide the order quanity as one of my strategy parameters (with a default of 1).

Does my question make more sense now? Any suggestions?

Thanks again.
Last edited by kgillis23; 03-12-2008 at 01:23 PM.
kgillis23 is offline  
Old 03-12-2008, 01:03 PM   #8
ohowie
Senior Member
 
Join Date: Dec 2007
Posts: 190
Thanks: 0
Thanked 0 times in 0 posts
Default

I'm just a user but i use a strategy parameter i call TESTING. Based on this parameter i have found there are a number of things i want done different when testing and trading live. like quantity.
ohowie is offline  
Old 03-12-2008, 01:37 PM   #9
NinjaTrader_Ray
Administrator
 
NinjaTrader_Ray's Avatar
 
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
Default

Unfortunately there is not such a variable. I understand the limitation but unfortunately there is no elegant solution at this time.
NinjaTrader_Ray is offline  
Old 03-12-2008, 01:45 PM   #10
kgillis23
Member
 
Join Date: May 2007
Location: West Jordan, Utah
Posts: 61
Thanks: 0
Thanked 0 times in 0 posts
Default

Ray,

Thanks. There is almost as much relief in being understood as there is in finding the answer. I appreciate your extra time on this one.

I think ohowie's suggestion to just have a generic "testing" parameter sounds best as I can keep that logically seperate from the "Historical" varable.

Or another approach is to write/read from a "config" file. I will explore this as well.

If anybody else has any ideas... I assume I am not the only one who will ask this question...

Thanks to all.
Last edited by kgillis23; 03-12-2008 at 01:48 PM.
kgillis23 is offline  
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
forex and dtn.iq riccja Charting 3 02-11-2008 10:09 AM
License for Forex trading with Gain Capital/Forex.com kgillis23 Automated Trading 1 10-26-2007 12:28 PM
Forex from MBT Eagle Miscellaneous Support 2 07-17-2006 02:37 AM
Forex Shiva Swinger Indicator Development 1 06-13-2006 03:21 AM
forex denalii Miscellaneous Support 3 05-18-2005 01:07 AM


All times are GMT -6. The time now is 02:52 AM.