Live chart data export to CSV

Here you can post and download custom indicators. PLEASE: Do not start topics unless you are posting your own indicator, they will be moved to appropriate section even if you do.

Moderator: admin

Re: Live chart data export to CSV

Postby noyp22 » Sun Aug 08, 2021 2:56 am

@chimpy,
how do you import the generated csv file into DT, do u set it up as an ascii ?

thanks,
noyp22
 
Posts: 10
Joined: Sun Aug 08, 2021 2:52 am


Re: Live chart data export to CSV

Postby noyp22 » Sat Aug 14, 2021 5:14 am

Apprentice wrote:DT is?

it is short for dynamic trader
noyp22
 
Posts: 10
Joined: Sun Aug 08, 2021 2:52 am


Re: Live chart data export to CSV

Postby noyp22 » Wed Aug 25, 2021 10:51 pm

Hello,

Been using FXconnect api 6.2 and livedataexporttocsv2.1.0 from here https://github.com/gehtsoft/LiveChartDataExportToCSV but cant get to receive local timezone. see below config

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<Settings>
<Login>1234567</Login>
<Url>www.fxcorporate.com/Hosts.jsp</Url>
<Connection>demo</Connection>
<SessionID></SessionID>
<Pin></Pin>
<OutputDir>c:\fxcmdata</OutputDir>
<Delimiter>,</Delimiter>
<SeparateDateAndTime>Y</SeparateDateAndTime>
<DateTimeSeparator>,</DateTimeSeparator>
<FormatDecimalPlaces>Y</FormatDecimalPlaces>
<TradingDayOffset>-7</TradingDayOffset>
<TradingWeekOffset>0</TradingWeekOffset>
<Timezone>Local</Timezone>

<History>
<Instrument>EUR/USD</Instrument>
<Timeframe>M1</Timeframe>
<Filename>EUR_USD_M1</Filename>
<NumBars>330</NumBars>
<AddHeader>Y</AddHeader>
</History>

<History>
<Instrument>EUR/USD</Instrument>
<Timeframe>W1</Timeframe>
<Filename>EUR_USD_W1</Filename>
<NumBars>1300</NumBars>
<AddHeader>Y</AddHeader>
</History>

<History>
<Instrument>EUR/USD</Instrument>
<Timeframe>D1</Timeframe>
<Filename>EUR_USD_D1</Filename>
<NumBars>3000</NumBars>
<AddHeader>Y</AddHeader>
</History>

<History>
<Instrument>EUR/USD</Instrument>
<Timeframe>H1</Timeframe>
<Filename>EUR_USD_H1</Filename>
<NumBars>5000</NumBars>
<AddHeader>Y</AddHeader>
</History>

<History>
<Instrument>EUR/USD</Instrument>
<Timeframe>m15</Timeframe>
<Filename>EUR_USD_m15</Filename>
<NumBars>7000</NumBars>
<AddHeader>Y</AddHeader>
</History>

</Settings>
</configuration>
noyp22
 
Posts: 10
Joined: Sun Aug 08, 2021 2:52 am

Re: Live chart data export to CSV

Postby noyp22 » Mon Aug 30, 2021 12:27 am

Hello,

Is it possible to extract number of bars in years, months or days through the configuration xml. like
Code: Select all
 <NumBars>5years</NumBars>
as currently only number value is accepted.

Thanks,
Noyp
noyp22
 
Posts: 10
Joined: Sun Aug 08, 2021 2:52 am

Re: Live chart data export to CSV

Postby noyp22 » Thu Nov 25, 2021 7:04 am

Hello,
I tried changing the <OutputDir> on each instrument due to its different price display format, removed the <OutputDir> in settings and put it in every instrument as below. Now got an error "Status: connecting
Status: connected
Error: Path cannot be the empty string or all whitespace.
Status: disconnecting" is there any possibility that it can be done.

<History>
<Instrument>USDOLLAR</Instrument>
<Timeframe>M1</Timeframe>
<Filename>USD_M1</Filename>
<NumBars>300</NumBars>
<AddHeader>Y</AddHeader>
<OutputDir>c:\usd</OutputDir>
</History>

<History>
<Instrument>EUR/USD</Instrument>
<Timeframe>m5</Timeframe>
<Filename>EUR_USD_m5</Filename>
<NumBars>7000</NumBars>
<AddHeader>Y</AddHeader>
<OutputDir>c:\fxcmdata</OutputDir>
</History>

Thanks,
noyp
noyp22
 
Posts: 10
Joined: Sun Aug 08, 2021 2:52 am

Re: Live chart data export to CSV

Postby noyp22 » Wed Nov 23, 2022 10:20 pm

LiveChartDataExportToCSV_v2.1.0_x64 with FC 1.6.2 x64 no longer updates csv file realtime higher timeframe D1 and W1 while M1,H4, H1,15m are working fine.

Please advsie
noyp22
 
Posts: 10
Joined: Sun Aug 08, 2021 2:52 am

Re: Live chart data export to CSV

Postby noyp22 » Sun Nov 27, 2022 10:31 am

Now im unable to connect to the api see below errors

"E:\Program Files\Candleworks\ForexConnectAPIx64\bin>LiveChartDataExportToCSV.exe xxxxxxx
Connecting to xxxx **** http://www.fxcorporate.com/Hosts.jsp real
Status: connecting
Connection error: ORA-499: Unable to obtain station descriptor. HTTP request failed object='/Hosts.jsp?ID=43928906&PN=real&SN=ForexConnect&MV=5&LN=xxxxx&AT=PLAIN' errorCode=400
Status: disconnected"

E:\Program Files\Candleworks\ForexConnectAPIx64\bin>

Please advise
noyp22
 
Posts: 10
Joined: Sun Aug 08, 2021 2:52 am

Previous

Return to Custom Indicators

Who is online

Users browsing this forum: No registered users and 43 guests