mirror of
https://github.com/FxPouya/FxMathQuantWebApp.git
synced 2026-07-28 10:47:43 +00:00
Add files via upload
This commit is contained in:
+1
-1
@@ -528,7 +528,7 @@ Please provide:
|
||||
|
||||
### Documentation
|
||||
|
||||
- **DataProvider EA Guide**: See `downloads/README.md`
|
||||
- **DataProvider EA Guide**: [Open EA Guide](ea-guide.html)
|
||||
- **API Documentation**: For developers
|
||||
- **License System**: Setup and management
|
||||
|
||||
|
||||
+397
@@ -0,0 +1,397 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>EA Guide - FxMathQuant Data Exporter</title>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet">
|
||||
<style>
|
||||
:root {
|
||||
--primary-bg: #0f172a;
|
||||
--secondary-bg: #1e293b;
|
||||
--accent-color: #3b82f6;
|
||||
--text-primary: #f8fafc;
|
||||
--text-secondary: #94a3b8;
|
||||
--border-color: #334155;
|
||||
--success-color: #10b981;
|
||||
--warning-color: #f59e0b;
|
||||
}
|
||||
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: 'Inter', sans-serif;
|
||||
background-color: var(--primary-bg);
|
||||
color: var(--text-primary);
|
||||
line-height: 1.6;
|
||||
padding: 2rem 1rem;
|
||||
}
|
||||
|
||||
.container {
|
||||
max-width: 900px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
header {
|
||||
text-align: center;
|
||||
margin-bottom: 3rem;
|
||||
padding: 2rem;
|
||||
background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
|
||||
border-radius: 1rem;
|
||||
border: 1px solid var(--border-color);
|
||||
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 2.5rem;
|
||||
margin-bottom: 0.5rem;
|
||||
background: linear-gradient(to right, #60a5fa, #a78bfa);
|
||||
-webkit-background-clip: text;
|
||||
background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
}
|
||||
|
||||
.subtitle {
|
||||
color: var(--text-secondary);
|
||||
font-size: 1.1rem;
|
||||
}
|
||||
|
||||
nav {
|
||||
background: var(--secondary-bg);
|
||||
padding: 1rem;
|
||||
border-radius: 0.5rem;
|
||||
margin-bottom: 2rem;
|
||||
position: sticky;
|
||||
top: 1rem;
|
||||
z-index: 10;
|
||||
border: 1px solid var(--border-color);
|
||||
}
|
||||
|
||||
nav ul {
|
||||
list-style: none;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
gap: 2rem;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
nav a {
|
||||
color: var(--text-primary);
|
||||
text-decoration: none;
|
||||
font-weight: 500;
|
||||
font-size: 0.9rem;
|
||||
transition: color 0.2s;
|
||||
}
|
||||
|
||||
nav a:hover {
|
||||
color: var(--accent-color);
|
||||
}
|
||||
|
||||
section {
|
||||
background: var(--secondary-bg);
|
||||
padding: 2rem;
|
||||
border-radius: 1rem;
|
||||
margin-bottom: 2rem;
|
||||
border: 1px solid var(--border-color);
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 1.8rem;
|
||||
margin-bottom: 1.5rem;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
color: #60a5fa;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: 1.3rem;
|
||||
margin: 1.5rem 0 1rem;
|
||||
color: #94a3b8;
|
||||
}
|
||||
|
||||
p {
|
||||
margin-bottom: 1rem;
|
||||
color: #cbd5e1;
|
||||
}
|
||||
|
||||
ul,
|
||||
ol {
|
||||
margin-bottom: 1rem;
|
||||
padding-left: 1.5rem;
|
||||
}
|
||||
|
||||
li {
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
code {
|
||||
background: #0f172a;
|
||||
padding: 0.2rem 0.4rem;
|
||||
border-radius: 0.25rem;
|
||||
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
|
||||
font-size: 0.9em;
|
||||
color: #f472b6;
|
||||
}
|
||||
|
||||
pre {
|
||||
background: #0f172a;
|
||||
padding: 1rem;
|
||||
border-radius: 0.5rem;
|
||||
overflow-x: auto;
|
||||
margin-bottom: 1.5rem;
|
||||
border: 1px solid var(--border-color);
|
||||
}
|
||||
|
||||
pre code {
|
||||
color: #e2e8f0;
|
||||
background: transparent;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.alert {
|
||||
padding: 1rem;
|
||||
border-radius: 0.5rem;
|
||||
margin-bottom: 1.5rem;
|
||||
display: flex;
|
||||
gap: 1rem;
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
.alert-info {
|
||||
background: rgba(59, 130, 246, 0.1);
|
||||
border: 1px solid rgba(59, 130, 246, 0.2);
|
||||
}
|
||||
|
||||
.grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
|
||||
gap: 1.5rem;
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
|
||||
.card {
|
||||
background: rgba(255, 255, 255, 0.03);
|
||||
padding: 1.5rem;
|
||||
border-radius: 0.75rem;
|
||||
border: 1px solid var(--border-color);
|
||||
}
|
||||
|
||||
.card h4 {
|
||||
margin-bottom: 0.5rem;
|
||||
color: var(--accent-color);
|
||||
}
|
||||
|
||||
table {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
|
||||
th,
|
||||
td {
|
||||
padding: 0.75rem;
|
||||
text-align: left;
|
||||
border-bottom: 1px solid var(--border-color);
|
||||
}
|
||||
|
||||
th {
|
||||
color: var(--text-secondary);
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.btn-back {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
padding: 0.75rem 1.5rem;
|
||||
background: var(--accent-color);
|
||||
color: white;
|
||||
text-decoration: none;
|
||||
border-radius: 0.5rem;
|
||||
font-weight: 600;
|
||||
transition: transform 0.2s, background 0.2s;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
.btn-back:hover {
|
||||
background: #2563eb;
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
|
||||
footer {
|
||||
text-align: center;
|
||||
color: var(--text-secondary);
|
||||
margin-top: 4rem;
|
||||
padding-bottom: 2rem;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
nav ul {
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
section {
|
||||
padding: 1.5rem;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div class="container">
|
||||
<a href="index.html" class="btn-back">
|
||||
<span>←</span> Back to Application
|
||||
</a>
|
||||
|
||||
<header>
|
||||
<h1>FxMathQuant Data Exporter</h1>
|
||||
<p class="subtitle">Step-by-step guide to exporting historical data from MT4/MT5</p>
|
||||
</header>
|
||||
|
||||
<nav>
|
||||
<ul>
|
||||
<li><a href="#overview">Overview</a></li>
|
||||
<li><a href="#installation">Installation</a></li>
|
||||
<li><a href="#usage">Usage</a></li>
|
||||
<li><a href="#parameters">Parameters</a></li>
|
||||
<li><a href="#troubleshooting">Troubleshooting</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
<section id="overview">
|
||||
<h2>📋 Overview</h2>
|
||||
<p>The FxMathQuant Data Exporter is an Expert Advisor (EA) designed specifically to bridge the gap between
|
||||
MetaTrader and the FxMathQuant Strategy Generator. It ensures your historical data is formatted
|
||||
perfectly for high-accuracy backtesting and optimization.</p>
|
||||
|
||||
<div class="grid">
|
||||
<div class="card">
|
||||
<h4>✅ Precision</h4>
|
||||
<p>Generates CSV files with Time, Open, High, Low, Close, Volume, and Spread.</p>
|
||||
</div>
|
||||
<div class="card">
|
||||
<h4>✅ Automation</h4>
|
||||
<p>Features automatic suffix removal (e.g., XAUUSDpro → XAUUSD) for cleaner data.</p>
|
||||
</div>
|
||||
<div class="card">
|
||||
<h4>✅ Speed</h4>
|
||||
<p>Exports 10,000+ bars in seconds with minimal overhead.</p>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section id="installation">
|
||||
<h2>🚀 Installation</h2>
|
||||
|
||||
<h3>For MetaTrader 4 (MT4)</h3>
|
||||
<ol>
|
||||
<li>Download <code>FxMathQuant_DataExporter_MT4.ex4</code>.</li>
|
||||
<li>Open MT4, go to <strong>File > Open Data Folder</strong>.</li>
|
||||
<li>Navigate to <code>MQL4/Experts</code> and paste the file.</li>
|
||||
<li>Restart MT4 or right-click <strong>Expert Advisors</strong> in the Navigator panel and select
|
||||
<strong>Refresh</strong>.
|
||||
</li>
|
||||
</ol>
|
||||
|
||||
<h3>For MetaTrader 5 (MT5)</h3>
|
||||
<ol>
|
||||
<li>Download <code>FxMathQuant_DataExporter_MT5.ex5</code>.</li>
|
||||
<li>Open MT5, go to <strong>File > Open Data Folder</strong>.</li>
|
||||
<li>Navigate to <code>MQL5/Experts</code> and paste the file.</li>
|
||||
<li>Restart MT5 or right-click <strong>Expert Advisors</strong> in the Navigator panel and select
|
||||
<strong>Refresh</strong>.
|
||||
</li>
|
||||
</ol>
|
||||
|
||||
<div class="alert alert-info">
|
||||
<p><strong>Note:</strong> Make sure "Allow DLL imports" and "Allow automated trading" are enabled in the
|
||||
EA settings.</p>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section id="usage">
|
||||
<h2>📖 How to Use</h2>
|
||||
<ol>
|
||||
<li><strong>Open a Chart:</strong> Open the symbol and timeframe you wish to analyze (e.g., EURUSD H1).
|
||||
</li>
|
||||
<li><strong>Attach EA:</strong> Drag the Data Exporter EA from the Navigator onto the chart.</li>
|
||||
<li><strong>Configure:</strong> Set your desired <code>BarsToExport</code> (default: 10,000).</li>
|
||||
<li><strong>Export:</strong> Click the <strong>"Export Data to CSV"</strong> button on the chart.</li>
|
||||
<li><strong>Final Result:</strong> A success message will appear showing you the exact file path of your
|
||||
exported data.</li>
|
||||
</ol>
|
||||
|
||||
<div class="card">
|
||||
<h4>📁 File Location</h4>
|
||||
<p>Your files are saved in the Terminal's common folder:</p>
|
||||
<code>MQL4/Files/FxMathQuant/</code> or <code>MQL5/Files/FxMathQuant/</code>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section id="parameters">
|
||||
<h2>⚙️ Parameter Reference</h2>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Parameter</th>
|
||||
<th>Default</th>
|
||||
<th>Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><code>BarsToExport</code></td>
|
||||
<td>10000</td>
|
||||
<td>The number of historical bars to include in the CSV.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>RemoveSuffix</code></td>
|
||||
<td>true</td>
|
||||
<td>Automatically strips broker prefixes/suffixes from the symbol name.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>ExportFolder</code></td>
|
||||
<td>"FxMathQuant"</td>
|
||||
<td>The subfolder where files will be saved within the Files directory.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>AutoExportOnStart</code></td>
|
||||
<td>false</td>
|
||||
<td>If true, exports data immediately upon attaching the EA.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</section>
|
||||
|
||||
<section id="troubleshooting">
|
||||
<h2>🔍 Troubleshooting</h2>
|
||||
<div class="grid">
|
||||
<div class="card">
|
||||
<h4>Issue: Button doesn't appear</h4>
|
||||
<p>Check "Allow Automated Trading" in the MT4/5 toolbar and in the EA's common tab.</p>
|
||||
</div>
|
||||
<div class="card">
|
||||
<h4>Issue: Empty file or few bars</h4>
|
||||
<p>Ensure you have downloaded enough history (Press F2 to open History Center and click Download).
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<footer>
|
||||
<p>© 2025 FxMathQuant. All rights reserved.</p>
|
||||
<p>Support: support@fxmathquant.com</p>
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
+1
-1
@@ -83,7 +83,7 @@
|
||||
style="text-decoration: none; padding: 8px 16px; background: #667eea; color: white; border-radius: 6px; font-size: 14px;">
|
||||
📊 Download MT5 EA
|
||||
</a>
|
||||
<a href="downloads/README.md" download class="btn-secondary"
|
||||
<a href="ea-guide.html" target="_blank" class="btn-secondary"
|
||||
style="text-decoration: none; padding: 8px 16px; background: #764ba2; color: white; border-radius: 6px; font-size: 14px;">
|
||||
📖 EA Guide
|
||||
</a>
|
||||
|
||||
@@ -244,6 +244,9 @@
|
||||
<li><strong>MT5</strong>: <code>FxMathQuant_DataExporter_MT5.ex5</code></li>
|
||||
</ul>
|
||||
|
||||
<p>For detailed step-by-step instructions, see the <a href="ea-guide.html" target="_blank">EA Setup Guide</a>.
|
||||
</p>
|
||||
|
||||
<h3>Export Historical Data</h3>
|
||||
<ol>
|
||||
<li>Open a chart (e.g., XAUUSD H1)</li>
|
||||
|
||||
Reference in New Issue
Block a user