Export Indi to CSV from chart - MT4

If you need an Indicator or Signal developed or translated from other language, please post all Indicator development REQUESTS to this section here.

Moderator: admin

Export Indi to CSV from chart - MT4

Postby mailfilter888 » Sat Mar 23, 2019 5:44 am

Hi

Is someone able to develop an MT4 script to export chart indicator data (with OHLC & vol) to a csv file without having to separately set parameters for the indicator in the script?

For example an indicator may have 20 different parameters which have already been set to display on the chart and this script would export the output of the indicator. Current scripts out there require the user to input the parameters again (using icustom) to then separately to export to a csv file.


Thanks.
mailfilter888
 
Posts: 14
Joined: Sun Oct 09, 2016 4:18 am

Re: Export Indi to CSV from chart - MT4

Postby Apprentice » Mon Mar 25, 2019 10:29 am

You want to write OHLC data to CSV

I do not understand this bit.
without having to separately set parameters for the indicator in the script?

For example an indicator may have 20 different parameters which have already been set to display on the chart and this script would export the output of the indicator. Current scripts out there require the user to input the parameters again (using icustom) to then separately to export to a csv file.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36437
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Export Indi to CSV from chart - MT4

Postby mailfilter888 » Tue Mar 26, 2019 9:55 am

Writing OHLC and volume to CSV is not an issue in MT4 under "Save as" however this doesn't save indicator data on the chart.

There's scripts out there which allow indicators to be saved, but it is based on specifying parameters for the indi in the script (see example below). In my case it is a custom indicator with many parameters rather than a simple MA, RSI etc which you can specify the period parameter etc.

To put it simply I would like to save the numbers in a chart to a CSV file including numbers of the indicators in the main window and any in separate indicator windows.

Examples
https://www.mql5.com/en/code/12697
https://www.mql5.com/en/code/12015

Thanks
mailfilter888
 
Posts: 14
Joined: Sun Oct 09, 2016 4:18 am

Re: Export Indi to CSV from chart - MT4

Postby Apprentice » Wed Mar 27, 2019 1:47 pm

Will investigate if this is possible.
Your request is added to the development list under Id Number 4570
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36437
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Export Indi to CSV from chart - MT4

Postby Apprentice » Mon Apr 15, 2019 4:53 am

As far as I know, It's impossible in MT4
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36437
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Export Indi to CSV from chart - MT4

Postby mailfilter888 » Mon Apr 15, 2019 5:42 am

Thank you for looking into this.
mailfilter888
 
Posts: 14
Joined: Sun Oct 09, 2016 4:18 am


Return to Indicator and Signal Requests

Who is online

Users browsing this forum: No registered users and 30 guests