Spaces:
Runtime error
Runtime error
<html lang="vi"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Phân tích dòng tiền cổ phiếu VSA</title> | |
<link rel="stylesheet" href="styles.css"> | |
</head> | |
<body> | |
<div class="container"> | |
<h1>Phân tích dòng tiền cổ phiếu theo VSA</h1> | |
<div class="controls"> | |
<label for="stock-symbol">Mã cổ phiếu:</label> | |
<input type="text" id="stock-symbol" value="VCB"> | |
<label for="entry-point">Điểm vào:</label> | |
<input type="number" id="entry-point" step="0.01"> | |
<label for="stop-loss">Dừng lỗ:</label> | |
<input type="number" id="stop-loss" step="0.01"> | |
<label for="take-profit">Chốt lời:</label> | |
<input type="number" id="take-profit" step="0.01"> | |
<button id="analyze-button">Phân tích</button> | |
<button id="set-points-button">Thiết lập điểm</button> | |
</div> | |
<div class="charts"> | |
<canvas id="priceChart"></canvas> | |
<canvas id="volumeChart"></canvas> | |
<canvas id="pvChart"></canvas> | |
<canvas id="mfiChart"></canvas> | |
<p><b>Money Flow Index (MFI)</b>: Chỉ số dòng tiền. Đường ngang ở mức 50 là ngưỡng trung bình. MFI trên 50 cho thấy áp lực mua, dưới 50 cho thấy áp lực bán.</p> | |
<p><b>Price Volume (PV)</b>: Tích số giá và khối lượng. Đường ngang ở mức 0 là ngưỡng trung bình. PV trên 0 cho thấy dòng tiền vào, dưới 0 cho thấy dòng tiền ra.</p> | |
</div> | |
<div id="trade-points"></div> | |
<div id="analysis-results"></div> | |
<p>Nhập mã cổ phiếu, điểm vào, dừng lỗ và chốt lời để phân tích.</p> | |
</div> | |
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script> | |
<script src="../src/app.js"></script> | |
</body> | |
</html> | |