![]() |
|
|||||||
| General Programming General NinjaScript programming questions. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Senior Member
|
Hi,
I am using Zen-Fire datafeed. Zen-Fire doesn't provide daily data. As a shortterm workaround I used 1440min Chart. But - depending of the local timezone the 'daily' bars may differ from real daily bars. So I want to wrote an Indicator, wich do this automatically. So far - so good. The first part works fine. There is just a little problem: My indicator exports values with comma and not point (I work in germany ;-) ). I can't import pricevalues with comma. How can i fix this issue caused of the localization of my computer? thanks a lot I don't want to change the localization.... |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,377
Thanks: 252
Thanked 966 times in 949 posts
|
xenayoo, you would need to modify the exported file for example Excel to change the commas to the needed dot separator, or you could use NT7 where ZenFire would offer daily bars per default.
Bertrand
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Senior Member
|
Thank you Bertrand, but that's not a good solution.
I now add a little Funktion: Code:
.....
string DayOpen = FloatingPoint(OpenOfTheDay);
.....
public string FloatingPoint( double Vtc)
{
string s = Vtc.ToString();
s = s.Replace(",", ".");
return s;
}
|
|
|
|
|
|
#4 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,377
Thanks: 252
Thanked 966 times in 949 posts
|
Nice job, thanks for sharing here.
Bertrand
NinjaTrader Customer Service |
|
|
|
![]() |
| Tags |
| daily data, export, streamwriter, zenfire |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Converting eSignal OnDemand output file format to NT historical data input format | AnotherTrader | Connecting | 0 | 09-15-2009 07:21 AM |
| Replay data feed: Last Date on Format Data Series Dialogue | atrader101 | Miscellaneous Support | 1 | 04-20-2009 05:14 PM |
| Format Data Series Bars Back Problem | praveen_d | Miscellaneous Support | 3 | 08-08-2008 06:24 AM |
| Excel report format problem | goover | Historical NinjaTrader 6.5 Beta Threads | 3 | 03-19-2008 08:31 AM |
| Format of Performance Data | Bdixon | Miscellaneous Support | 2 | 02-19-2005 12:24 PM |