Sure! Below is a simple HTML trading journal template with the fields you requested. It includes a table where you can add rows dynamically, and a form at the top to enter new trades. It uses some basic JavaScript to add new entries to the table.
You can save this as trading_journal.html and open it in your browser.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Trading Journal</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 20px;
background: #f4f7f8;
}
h1 {
text-align: center;
}
form {
background: #fff;
padding: 15px;
border-radius: 6px;
margin-bottom: 20px;
box-shadow: 0 0 10px #ccc;
max-width: 1200px;
margin-left: auto;
margin-right: auto;
}
form div {
margin-bottom: 8px;
display: flex;
flex-wrap: wrap;
}
label {
width: 150px;
font-weight: bold;
margin-right: 10px;
}
input[type="text"],
input[type="number"],
input[type="time"],
input[type="date"],
select,
textarea {
flex-grow: 1;
padding: 5px;
border-radius: 3px;
border: 1px solid #bbb;
}
textarea {
resize: vertical;
}
button {
margin-top: 10px;
padding: 10px 15px;
background: #007bff;
border: none;
color: white;
border-radius: 3px;
cursor: pointer;
}
button:hover {
background: #0056b3;
}
table {
width: 100%;
border-collapse: collapse;
background: #fff;
max-width: 100%;
overflow-x: auto;
}
th, td {
padding: 8px 6px;
border: 1px solid #ddd;
text-align: left;
vertical-align: top;
}
th {
background: #007bff;
color: white;
position: sticky;
top: 0;
z-index: 1;
}
tbody tr:hover {
background: #f1f9ff;
}
.container {
max-width: 1400px;
margin: 0 auto;
}
</style>
</head>
<body>
<div class="container">
<h1>Trading Journal</h1>
<form id="tradeForm">
<div>
<label for="tradeDay">TRADE DAY</label>
<input type="date" id="tradeDay" name="tradeDay" required />
<label for="tradeTime" style="width: 120px; margin-left: 20px;">TIME</label>
<input type="time" id="tradeTime" name="tradeTime" required />
<label for="symbol" style="width: 80px; margin-left: 20px;">SYMBOL</label>
<input type="text" id="symbol" name="symbol" placeholder="e.g. EURUSD" required />
</div>
<div>
<label for="session">SESSION WHEN OPEN</label>
<select id="session" name="session" required>
<option value="" disabled selected>Select session</option>
<option value="Asia">Asia</option>
<option value="London">London</option>
<option value="New York">New York</option>
<option value="Other">Other</option>
</select>
<label for="m15Bias" style="width: 120px; margin-left: 20px;">M15 EMA's BIAS</label>
<input type="text" id="m15Bias" name="m15Bias" placeholder="Bullish/Bearish/Neutral" />
<label for="riskPercent" style="width: 80px; margin-left: 20px;">RISK %</label>
<input type="number" id="riskPercent" name="riskPercent" step="0.01" min="0" placeholder="e.g. 1.5" />
</div>
<div>
<label for="rrr">RRR</label>
<input type="text" id="rrr" name="rrr" placeholder="e.g. 1:3" />
<label for="position" style="width: 80px; margin-left: 20px;">POSITION SIZE</label>
<input type="number" id="position" name="position" step="0.0001" placeholder="e.g. 0.01" />
<label for="mode" style="width: 60px; margin-left: 20px;">MODE</label>
<select id="mode" name="mode" required>
<option value="" disabled selected>Select mode</option>
<option value="Live">Live</option>
<option value="Demo">Demo</option>
<option value="Backtest">Backtest</option>
</select>
</div>
<div>
<label for="entry">ENTRY</label>
<input type="number" id="entry" name="entry" step="0.00001" placeholder="Entry price" required />
<label for="sl" style="width: 60px; margin-left: 20px;">SL</label>
<input type="number" id="sl" name="sl" step="0.00001" placeholder="Stop Loss" />
<label for="tp" style="width: 60px; margin-left: 20px;">TP</label>
<input type="number" id="tp" name="tp" step="0.00001" placeholder="Take Profit" />
</div>
<div>
<label for="exit">EXIT</label>
<input type="number" id="exit" name="exit" step="0.00001" placeholder="Exit price" />
<label for="whyOpen" style="width: 120px; margin-left: 20px;">WHY OPEN</label>
<textarea id="whyOpen" name="whyOpen" rows="2" placeholder="Reason for opening trade"></textarea>
<label for="feelings" style="width: 80px; margin-left: 20px;">FEELINGS</label>
<textarea id="feelings" name="feelings" rows="2" placeholder="Your feelings"></textarea>
</div>
<div>
<label for="closeReason">WHY CLOSE IF EXIT MANUAL</label>
<textarea id="closeReason" name="closeReason" rows="2" style="width:100%;" placeholder="Reason for manual exit"></textarea>
</div>
<div>
<label for="profit" style="width: 80px;">PROFIT</label>
<input type="number" id="profit" name="profit" step="0.01" placeholder="Profit amount" />
<label for="accountReward" style="width: 120px; margin-left: 20px;">ACCOUNT REWARD</label>
<input type="text" id="accountReward" name="accountReward" placeholder="e.g. +0.5%" />
<label for="closeRRR" style="width: 80px; margin-left: 20px;">CLOSE RRR</label>
<input type="text" id="closeRRR" name="closeRRR" placeholder="RRR at close" />
<label for="resultAfterClose" style="width: 120px; margin-left: 20px;">RESULT AFTER CLOSE IF EXIT MANUAL</label>
<input type="text" id="resultAfterClose" name="resultAfterClose" placeholder="Win/Loss/Break-even" />
</div>
<button type="submit">Add Trade</button>
</form>
<table id="journalTable">
<thead>
<tr>
<th>TRADE DAY</th>
<th>TIME</th>
<th>SYMBOL</th>
<th>SESSION WHEN OPEN</th>
<th>M15 EMA's BIAS</th>
<th>RISK %</th>
<th>RRR</th>
<th>POSITION SIZE</th>
<th>MODE</th>
<th>ENTRY</th>
<th>SL</th>
<th>TP</th>
<th>EXIT</th>
<th>WHY OPEN</th>
<th>FEELINGS</th>
<th>WHY CLOSE IF EXIT MANUAL</th>
<th>PROFIT</th>
<th>ACCOUNT REWARD</th>
<th>CLOSE RRR</th>
<th>RESULT AFTER CLOSE IF EXIT MANUAL</th>
</tr>
</thead>
<tbody>
<!-- New rows will be added here -->
</tbody>
</table>
</div>
<script>
const form = document.getElementById('tradeForm');
const tableBody = document.querySelector('#journalTable tbody');
form.addEventListener('submit', function(event) {
event.preventDefault();
const formData = new FormData(form);
// Create a new row and cells
const tr = document.createElement('tr');
[
'tradeDay', 'tradeTime', 'symbol', 'session', 'm15Bias', 'riskPercent',
'rrr', 'position', 'mode', 'entry', 'sl', 'tp', 'exit', 'whyOpen',
'feelings', 'closeReason', 'profit', 'accountReward', 'closeRRR', 'resultAfterClose'
].forEach(field => {
const td = document.createElement('td');
let val = formData.get(field);
if (val === null || val === '') val = '-';
td.textContent = val;
tr.appendChild(td);
});
tableBody.appendChild(tr);
form.reset();
});
</script>
</body>
</html>
How to use it:
- Open the file in any modern browser.
- Fill out the form fields for your trade.
- Click "Add Trade" to add the trade to the journal table below.
- Each added trade appears as a new row in the table.
If you want something more advanced such as saving data locally or filtering/searching trades, please let me know! This is a simple client-side journal as a starting point.