forex software

Create and Test Forex Strategies

forex software

Skip to forum content

Forex Forum

Forex Software, Forex Strategies, Expert Advisors Generator

You are not logged in. Please login or register.


Forex Forum → Expert Advisor Studio → Data Export Script with Symbol Cleanup

Pages 1

You must login or register to post a reply

RSS topic feed

Posts: 4

Topic: Data Export Script with Symbol Cleanup

Hello, Traders,

I'm attaching a new version of the Data Export script for MT4.

It removes the special characters from the names of the symbols.

For example, a symbol #EURUSD will be exported as EURUSD.

This update solves two problems:
- some files cannot be loaded back after upload. It happens with chars that collide with the web URI standard.
- having a clean symbol name allows EA Studio to find the symbol type correctly and determine the base currency and the underlying currency. It allows determining the account exchange rate correctly.

Both problems can be solved in other ways, but this is the cleanest, in my opinion.

The characters removed are: ~ ` ! @ # $ % ^ & * ( ) - _ + = , . / ' " [ ] { } \ |
The function that does the job is on line 147: string GetSymbolName(string symbol)

Please test the script.

If you find it working well, I'll introduce the change in the EA Studio scripts for MT4 and MT5.

Trade Safe!

Post's attachments

EAS Data Export v4.0.mq4 7.75 kb, 13 downloads since 2021-03-23 

You don't have the permssions to download the attachments of this post.

2 (edited by Ak6235 2021-05-06 16:56:29)

Re: Data Export Script with Symbol Cleanup

hi.how can i use it to import data from my MT4?

Re: Data Export Script with Symbol Cleanup

Ak6235 wrote:

hi.how can i use it to import data from my MT4?

https://youtu.be/3wDK_738NxM

Re: Data Export Script with Symbol Cleanup

thak you so much

Posts: 4

Pages 1

You must login or register to post a reply

Forex Forum → Expert Advisor Studio → Data Export Script with Symbol Cleanup

Similar topics in this forum