Files
xSaherelmWorkspace/Documents/Docs/Others/بازنویسی مکانیکال استراتژی NYSLF.html
T
2026-10-15 00:05:32 +03:30

1443 lines
73 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!DOCTYPE html>
<html lang="fa" dir="rtl">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>بازنویسی مکانیکال استراتژی NYSLF | قوانین ورود، واژه‌نامه و بهینه‌سازی</title>
<style>
@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700;800&display=swap');
:root {
--primary: #1a365d;
--primary-light: #2c5282;
--accent: #c9a961;
--accent-dark: #a8893f;
--bg: #faf9f6;
--card-bg: #ffffff;
--text: #1a202c;
--text-muted: #4a5568;
--border: #e2e8f0;
--success: #38a169;
--danger: #e53e3e;
--warning: #dd6b20;
--shadow: 0 4px 6px rgba(0,0,0,0.05), 0 10px 30px rgba(26,54,93,0.08);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
font-family: 'Vazirmatn', Tahoma, sans-serif;
background: var(--bg);
color: var(--text);
line-height: 1.9;
font-size: 15px;
padding: 30px 15px;
}
.document-container {
max-width: 950px;
margin: 0 auto;
background: var(--card-bg);
box-shadow: var(--shadow);
border-radius: 12px;
overflow: hidden;
}
.document-header {
background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
color: white;
padding: 50px 40px 40px;
position: relative;
border-bottom: 4px solid var(--accent);
}
.document-header::before {
content: '';
position: absolute;
top: 0; right: 0;
width: 200px; height: 200px;
background: radial-gradient(circle, rgba(201,169,97,0.15) 0%, transparent 70%);
border-radius: 50%;
transform: translate(50%, -50%);
}
.header-top {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 30px;
position: relative;
z-index: 1;
}
.company-badge {
display: flex;
align-items: center;
gap: 12px;
}
.company-logo {
width: 60px; height: 60px;
background: var(--accent);
border-radius: 12px;
box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.doc-meta {
text-align: left;
font-size: 12px;
opacity: 0.9;
}
.doc-meta div { margin-bottom: 3px; }
.document-title {
text-align: center;
position: relative;
z-index: 1;
padding: 20px 0;
}
.document-title .label {
display: inline-block;
background: rgba(201,169,97,0.2);
color: var(--accent);
padding: 4px 16px;
border-radius: 20px;
font-size: 12px;
font-weight: 600;
margin-bottom: 15px;
border: 1px solid rgba(201,169,97,0.4);
}
.document-title h1 {
font-size: 28px;
font-weight: 800;
margin-bottom: 10px;
letter-spacing: -0.5px;
}
.document-title h2 {
font-size: 16px;
font-weight: 400;
opacity: 0.9;
}
.document-body {
padding: 40px;
}
.intro-text {
background: linear-gradient(to left, #f7fafc, #edf2f7);
border-right: 4px solid var(--accent);
padding: 20px 25px;
border-radius: 8px;
margin-bottom: 35px;
font-size: 14px;
color: var(--text-muted);
}
.section {
margin-bottom: 40px;
page-break-inside: avoid;
}
.section-header {
display: flex;
align-items: center;
gap: 15px;
padding-bottom: 12px;
border-bottom: 2px solid var(--border);
margin-bottom: 20px;
}
.section-number {
width: 50px; height: 50px;
background: linear-gradient(135deg, var(--primary), var(--primary-light));
color: white;
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
font-weight: 800;
font-size: 20px;
flex-shrink: 0;
box-shadow: 0 4px 10px rgba(26,54,93,0.2);
}
.section-title { flex: 1; }
.section-title h3 {
font-size: 19px;
font-weight: 700;
color: var(--primary);
margin-bottom: 2px;
}
.section-title .subtitle {
font-size: 12px;
color: var(--text-muted);
}
.section-content {
padding-right: 10px;
}
.section-content p {
margin-bottom: 12px;
text-align: justify;
text-indent: 20px;
}
.section-content p.no-indent { text-indent: 0; }
.highlight-box {
background: linear-gradient(to left, #fffaf0, #fef5e7);
border: 1px solid #f6e05e;
border-right: 4px solid var(--accent);
padding: 18px 22px;
border-radius: 8px;
margin: 20px 0;
font-size: 14px;
}
.highlight-box strong {
color: var(--accent-dark);
}
.info-box {
background: linear-gradient(to left, #ebf8ff, #e6f6ff);
border: 1px solid #90cdf4;
border-right: 4px solid var(--primary-light);
padding: 18px 22px;
border-radius: 8px;
margin: 20px 0;
font-size: 14px;
}
.success-box {
background: linear-gradient(to left, #f0fff4, #e6fffa);
border: 1px solid #9ae6b4;
border-right: 4px solid var(--success);
padding: 18px 22px;
border-radius: 8px;
margin: 20px 0;
font-size: 14px;
}
.warning-box {
background: linear-gradient(to left, #fffaf0, #fef5e7);
border: 1px solid #fbd38d;
border-right: 4px solid var(--warning);
padding: 18px 22px;
border-radius: 8px;
margin: 20px 0;
font-size: 14px;
}
.danger-box {
background: linear-gradient(to left, #fff5f5, #fed7d7);
border: 1px solid #feb2b2;
border-right: 4px solid var(--danger);
padding: 18px 22px;
border-radius: 8px;
margin: 20px 0;
font-size: 14px;
}
.styled-table {
width: 100%;
border-collapse: collapse;
margin: 20px 0;
background: white;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.styled-table thead {
background: linear-gradient(135deg, var(--primary), var(--primary-light));
color: white;
}
.styled-table th {
padding: 14px 16px;
text-align: right;
font-weight: 600;
font-size: 13px;
}
.styled-table td {
padding: 13px 16px;
border-bottom: 1px solid var(--border);
font-size: 13px;
}
.styled-table tbody tr:last-child td { border-bottom: none; }
.styled-table tbody tr:nth-child(even) { background: #f8fafc; }
.styled-table .highlight-row {
background: #fffaf0 !important;
font-weight: 600;
}
.comparison-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 20px;
margin: 25px 0;
}
.comparison-card {
background: #f8fafc;
border: 2px solid var(--border);
border-radius: 10px;
padding: 20px;
position: relative;
}
.comparison-card.recommended {
border-color: var(--success);
background: linear-gradient(to left, #f0fff4, #e6fffa);
}
.comparison-card .card-badge {
position: absolute;
top: -10px;
right: 20px;
background: var(--success);
color: white;
padding: 3px 12px;
border-radius: 15px;
font-size: 11px;
font-weight: 600;
}
.comparison-card h4 {
font-size: 16px;
font-weight: 700;
color: var(--primary);
margin-bottom: 15px;
padding-bottom: 10px;
border-bottom: 2px solid var(--border);
}
.comparison-card.recommended h4 {
border-bottom-color: var(--success);
}
.comparison-card ul {
list-style: none;
padding: 0;
}
.comparison-card ul li {
padding: 8px 0;
border-bottom: 1px solid var(--border);
font-size: 13px;
display: flex;
justify-content: space-between;
}
.comparison-card ul li:last-child { border-bottom: none; }
.comparison-card ul li .value {
font-weight: 600;
color: var(--primary);
}
.quote-box {
background: linear-gradient(135deg, #f7fafc, #edf2f7);
border-right: 4px solid var(--accent);
padding: 20px 25px;
border-radius: 8px;
margin: 20px 0;
position: relative;
}
.quote-box::before {
content: '"';
position: absolute;
top: -10px;
right: 15px;
font-size: 60px;
color: var(--accent);
opacity: 0.3;
font-family: Georgia, serif;
}
.quote-box p {
font-style: italic;
color: var(--text-muted);
margin-bottom: 10px;
text-indent: 0 !important;
}
.quote-box .source {
font-size: 12px;
color: var(--text-muted);
text-align: left;
font-style: normal;
}
.stats-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 15px;
margin: 25px 0;
}
.stat-card {
background: linear-gradient(135deg, var(--primary), var(--primary-light));
color: white;
padding: 20px;
border-radius: 10px;
text-align: center;
box-shadow: 0 4px 12px rgba(26,54,93,0.2);
}
.stat-card .stat-value {
font-size: 24px;
font-weight: 800;
margin-bottom: 5px;
color: var(--accent);
line-height: 1.3;
}
.stat-card .stat-label {
font-size: 12px;
opacity: 0.9;
}
.figure-wrap {
text-align: center;
margin: 25px 0;
}
.figure-wrap svg {
max-width: 660px;
width: 100%;
height: auto;
background: #fdfcf9;
border: 1px solid var(--border);
border-radius: 10px;
box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.figure-caption {
font-size: 12px;
color: var(--text-muted);
margin-top: 10px;
}
.conclusion-box {
background: linear-gradient(135deg, var(--primary), var(--primary-light));
color: white;
padding: 30px;
border-radius: 12px;
margin: 30px 0;
text-align: center;
box-shadow: 0 8px 20px rgba(26,54,93,0.3);
}
.conclusion-box h3 {
font-size: 22px;
font-weight: 800;
margin-bottom: 15px;
color: var(--accent);
}
.conclusion-box p {
font-size: 14px;
line-height: 1.8;
text-indent: 0 !important;
margin-bottom: 15px;
}
.conclusion-box .highlight {
background: rgba(201,169,97,0.2);
padding: 15px 20px;
border-radius: 8px;
margin-top: 20px;
border: 1px solid rgba(201,169,97,0.4);
}
.document-footer {
background: var(--primary);
color: white;
padding: 25px 40px;
text-align: center;
font-size: 12px;
margin-top: 40px;
}
.document-footer .footer-brand {
font-weight: 700;
color: var(--accent);
margin-bottom: 5px;
font-size: 14px;
}
.footer-divider {
width: 60px;
height: 2px;
background: var(--accent);
margin: 10px auto;
}
.page-info {
text-align: center;
padding: 15px;
font-size: 11px;
color: var(--text-muted);
border-top: 1px solid var(--border);
margin-top: 30px;
}
@media print {
body { background: white; padding: 0; }
.document-container { box-shadow: none; border-radius: 0; }
.section { page-break-inside: avoid; }
}
@media (max-width: 768px) {
.document-body { padding: 25px 20px; }
.document-header { padding: 30px 20px; }
.comparison-grid { grid-template-columns: 1fr; }
.stats-grid { grid-template-columns: 1fr; }
.header-top { flex-direction: column; gap: 15px; }
.doc-meta { text-align: center; }
}
</style>
</head>
<body>
<div class="document-container">
<header class="document-header">
<div class="header-top">
<div class="company-badge">
<div class="company-logo"></div>
</div>
<div class="doc-meta">
<div>شماره مستند: NYSLF-RW-1405-002</div>
<div>نسخه: ۲.۰ (بازنویسی مکانیکال)</div>
<div>تاریخ تهیه: ۲۰ مهر ۱۴۰۵</div>
<div>طبقه‌بندی: محرمانه</div>
</div>
</div>
<div class="document-title">
<span class="label">MECHANICAL REWRITE</span>
<h1>بازنویسی مکانیکال استراتژی NYSLF</h1>
<h2>قوانین ورود بدون دخالت احساس، واژه‌نامه، تکمیل قوانین و پیشنهاد بهینه‌سازی</h2>
</div>
</header>
<div class="document-body">
<div class="intro-text">
<strong>هدف این مستند،</strong><br>
تبدیل قوانین کیفی و توصیفی استراتژی NYSLF به یک مجموعه <strong>قوانین مکانیکال، کمّی و غیرقابل تأویل</strong> است تا اجرای معاملات بدون دخالت احساس ممکن شود. در این مستند: (۱) قوانین ورود به شکل مکانیکال بازنویسی شده، (۲) تمام واژگان کلیدی تعریف شده، (۳) پیشنهادهای بهینه‌سازی ارائه شده، (۴) نمودارهای بصری برای قوانین کلیدی رسم شده و (۵) نواقص استراتژی (حد سود/ضرر مشخص، سقف معاملات روزانه، سقف باخت روزانه و ...) رفع شده است.
</div>
<div class="danger-box">
<strong>⚠ قانون آهنین سیستم مکانیکال:</strong> در این رویکرد، تنها اختیار معامله‌کننده <strong>پاسخ‌دادن به شرایط</strong> است، نه تغییر شرایط. هر شرطی که پاس نشود → ستاپ فوراً رد می‌شود. جملاتی مثل «این بار فرق دارد»، «احتمالاً» یا «نزدیک است» در سیستم مکانیکال ممنوعند.
</div>
<div class="section">
<div class="section-header">
<div class="section-number">۱</div>
<div class="section-title">
<h3>بررسی اجمالی استراتژی فعلی</h3>
<div class="subtitle">Current Strategy Review</div>
</div>
</div>
<div class="section-content">
<p>استراتژی NYSLF یک سیستم «لگ دوم» برای تایم‌فریم ۵ دقیقه طلا است که بر شناسایی ساختار حرکت قیمت، اصلاح و ادامه حرکت متمرکز است. بررسی ما نشان می‌دهد ایده اصلی سالم است، اما بخش بزرگی از قوانین آن کیفی و قابل تأویل‌اند که مکانیزم اصلی احساسی بودن معاملات است:</p>
<table class="styled-table">
<thead>
<tr>
<th>نقاط قوت موجود</th>
<th>نقاط ضعف / نواقص رفع‌شده در این مستند</th>
</tr>
</thead>
<tbody>
<tr>
<td>مفهوم ساختاری منطقی (لگ اول → اصلاح → لگ دوم)</td>
<td>تعریف «حرکت قدرتمند» و «لگ معتبر» کیفی و غیرقابل‌سنجش بود</td>
</tr>
<tr>
<td>شرط اجباری Exhaustion Gap — فیلتر قوی</td>
<td>تعریف دقیق گپ (اندازه، موقعیت، پرنشدن) نداشت</td>
</tr>
<tr>
<td>تأکید بر بسته‌شدن کندل برای شکست سطوح</td>
<td>تعریف «کندل سیگنال» و «کندل تأیید» نبود</td>
</tr>
<tr>
<td>حد ضرر ساختاری (نه فاصله ثابت دلخواه)</td>
<td>قوانین قرینه‌ی نزولی ذکر نشده بود</td>
</tr>
<tr>
<td>سقف زیان روزانه ۳٪</td>
<td>سقف تعداد معاملات روزانه، سقف باخت روزانه، سایزینگ و قاعده خروج زمانی وجود نداشت</td>
</tr>
<tr class="highlight-row">
<td><strong>اسناد مرتب و شفاف</strong></td>
<td><strong>فیلتر خبر، ساعت معامله و فیلتر تایم‌فریم بالاتر نداشت</strong></td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section">
<div class="section-header">
<div class="section-number">۲</div>
<div class="section-title">
<h3>واژه‌نامه کلیدی استراتژی</h3>
<div class="subtitle">Glossary of Key Terms</div>
</div>
</div>
<div class="section-content">
<p>تمام واژگان به‌کاررفته در استراتژی با تعریف دقیق و قابل‌سنجش در ادامه آمده است. هر جا تعریف اصلی مبهم بوده، تعریف عملیاتی پیشنهادی ما جایگزین شده و با علامت ★ مشخص شده است:</p>
<table class="styled-table">
<thead>
<tr>
<th style="width: 22%;">واژه</th>
<th>تعریف دقیق</th>
</tr>
</thead>
<tbody>
<tr>
<td><strong>لگ (Leg)</strong></td>
<td>حرکت جهت‌دار قیمت که می‌تواند با یک کندل قدرتمند یا مجموعه‌ای از کندل‌های متوالی هم‌جهت شکل بگیرد. ★ در نسخه مکانیکال: حداقل ۳ کندل هم‌جهت یا یک کندل با بدنه ≥ ۱.۵ برابر میانگین بدنه ۲۰ کندل گذشته.</td>
</tr>
<tr>
<td><strong>لگ اول</strong></td>
<td>اولین حرکت جهت‌دار قوی که ساختار معامله را آغاز می‌کند و مرجع اندازه‌گیری اصلاح است.</td>
</tr>
<tr>
<td><strong>اصلاح قیمت (Pullback)</strong></td>
<td>بازگشت موقت قیمت در خلاف جهت لگ اول. ★ عمق مجاز: ۳۸.۲٪ تا ۶۱.۸٪ دامنه لگ اول (باند فیبوناچی)؛ حداکثر مدت: ۱۲ کندل (یک ساعت).</td>
</tr>
<tr>
<td><strong>لگ دوم</strong></td>
<td>ادامه حرکت در جهت لگ اول پس از اصلاح. ★ نقطه شروع آن: بسته‌شدن یک کندل بالای سقف اصلاح (صعودی) یا پایین کف اصلاح (نزولی).</td>
</tr>
<tr>
<td><strong>Exhaustion Gap (گپ خستگی)</strong></td>
<td>گپ قیمتی هم‌جهت با لگ اصلی که در نزدیکی تکمیل اصلاح یا پس از تکمیل لگ دوم شکل می‌گیرد و نشان‌دهنده تمام‌شدن فشار اصلاحی است. <strong>شرط اجباری ورود.</strong> ★ تعریف مکانیکال در بخش ۴.</td>
</tr>
<tr>
<td><strong>FVG (Fair Value Gap / گپ ارزش منصفانه)</strong></td>
<td>در سه کندل متوالی، فاصله بین سقف کندل اول و کف کندل سوم (صعودی) که بیان‌گر عدم تعادل عرضه و تقاضا است. <strong>کیفیت‌بخش لگ است، نه سیگنال مستقل.</strong></td>
</tr>
<tr>
<td><strong>کندل سیگنال (Signal Candle)</strong></td>
<td>کندل هم‌جهت با لگ اصلی که شروع لگ دوم را نشان می‌دهد. ★ تعریف مکانیکال: بدنه ≥ ۱.۲ برابر میانگین بدنه ۲۰ کندل، سایه حداکثر ۳۰٪ دامنه، و بسته‌شدن فراتر از سقف اصلاح (صعودی).</td>
</tr>
<tr>
<td><strong>کندل تأیید (Confirmation Candle)</strong></td>
<td>کندل بلافاصله پس از کندل سیگنال. ★ شرط ورود صعودی: بسته‌شدن آن بالاتر از سقف کندل سیگنال. فقط عبور سایه کافی نیست.</td>
</tr>
<tr>
<td><strong>شکست سطح (Breakout)</strong></td>
<td>عبور قیمت از یک سطح کلیدی (سقف/کف اصلاح، سقف کندل سیگنال). ★ معتبر فقط با بسته‌شدن بدنه کندل در سمت مورد انتظار.</td>
</tr>
<tr>
<td><strong>سایه کندل (Wick / Shadow)</strong></td>
<td>بخش نازک بالا یا پایین بدنه کندل که قیمت‌های لمس‌شده اما بسته‌نشده را نشان می‌دهد و به‌تنهایی تأیید شکست نیست.</td>
</tr>
<tr>
<td><strong>بدنه کندل (Body)</strong></td>
<td>فاصله بین قیمت بازوش و بسته‌شدن کندل؛ معیار اصلی قدرت کندل در این استراتژی.</td>
</tr>
<tr>
<td><strong>ساختار بازار (Market Structure)</strong></td>
<td>الگوی قله‌ها و دره‌های قیمت: قله‌های بالاتر/دره‌های بالاتر در روند صعودی و برعکس در روند نزولی.</td>
</tr>
<tr>
<td><strong>رنج (Range)</strong></td>
<td>وضعیت بازار بدون روند که قیمت بین سقف و کف مشخص نوسان می‌کند؛ در رنج شدید، ورود توصیه نمی‌شود.</td>
</tr>
<tr>
<td><strong>کانال (Channel)</strong></td>
<td>محدوده حرکت قیمت بین دو خط موازی (روندی یا افقی).</td>
</tr>
<tr>
<td><strong>Round Level (سطح رند)</strong></td>
<td>سطوح رُند روانی قیمت (در طلا: هر ۲۰ دلار، مثل ۳٬۴۰۰ یا ۳٬۴۲۰). فقط برای بررسی زمینه بازار و هماهنگی تارگت‌ها؛ به‌تنهایی سیگنال نیست.</td>
</tr>
<tr>
<td><strong>حد ضرر (Stop Loss)</strong></td>
<td>سطح خروج از پوزیشن در صورت نادرست بودن سناریو. ★ در این استراتژی: کف اصلاح (صعودی) منهای بافر ۰.۱ برابر ATR.</td>
</tr>
<tr>
<td><strong>حد سود / تارگت (Take Profit)</strong></td>
<td>سطح خروج سودده. ★ در نسخه مکانیکال: TP1 تا TP7 بر اساس مضارب R (واحد ریسک) نسبت به ورود؛ هدف پایه TP2.</td>
</tr>
<tr>
<td><strong>R (واحد ریسک)</strong></td>
<td>فاصله قیمتی بین نقطه ورود و حد ضرر. تمام سودها و ضررها به‌صورت مضارب آن سنجیده می‌شوند (مثلاً TP2 = ۲R).</td>
</tr>
<tr>
<td><strong>سقف زیان روزانه</strong></td>
<td>حداکثر ضرر مجاز در یک روز معاملاتی (۳٪ سرمایه). با رسیدن به آن، تمام معاملات روز متوقف می‌شود.</td>
</tr>
<tr>
<td><strong>ATR (Average True Range)</strong></td>
<td>میانگین دامنه واقعی کندل در N دوره گذشته؛ معیار نوسان بازار که برای اندازه‌گیری گپ، بدنه و بافر حد ضرر استفاده می‌شود. ★ پارامتر پیشنهادی: ATR(۱۴) روی تایم‌فریم ۵ دقیقه.</td>
</tr>
<tr>
<td><strong>HTF (تایم‌فریم بالاتر)</strong></td>
<td>تایم‌فریم‌های ۱۵ دقیقه و ۱ ساعت جهت تشخیص روند غالب و فیلتر هم‌جهتی.</td>
</tr>
<tr>
<td><strong>تریل استاپ (Trailing Stop)</strong></td>
<td>جابه‌جایی تدریجی حد ضرر در جهت سود برای حفظ سود کسب‌شده در معاملات رانر (TP3 به بالا).</td>
</tr>
<tr>
<td><strong>بک‌تست / اعتبارسنجی خارج نمونه</strong></td>
<td>آزمایش استراتژی روی داده تاریخی / آزمون روی داده‌ای که در بهینه‌سازی استفاده نشده است (ضروری پیش از استفاده عملیاتی).</td>
</tr>
</tbody>
</table>
<div class="info-box">
<strong>💡 نکته واژه‌نامه:</strong> هر تعریفی که با ★ مشخص شده، پیشنهاد عملیاتی ما برای حذف ابهام است. این آستانه‌ها باید در مرحله اعتبارسنجی (بخش ۷) روی داده آزمایش و در صورت نیاز تنظیم شوند.
</div>
</div>
</div>
<div class="section">
<div class="section-header">
<div class="section-number">۳</div>
<div class="section-title">
<h3>ساختار بصری استراتژی</h3>
<div class="subtitle">Visual Structure of the Strategy</div>
</div>
</div>
<div class="section-content">
<p>قبل از قوانین مکانیکال، شکل کلی سناریوی صعودی را ببینید. این نمودار مرجع بصری تمام بخش‌های بعدی است:</p>
<div class="figure-wrap">
<svg viewBox="0 0 680 360" xmlns="http://www.w3.org/2000/svg" style="font-family:'Vazirmatn',Tahoma,sans-serif;">
<!-- price scale: y(p) = 340 - (p-90)*5.5 -->
<!-- fibonacci band 38.2% (114.83 -> y=203.4) to 61.8% (109.17 -> y=229.9) -->
<rect x="40" y="203.4" width="400" height="26.5" fill="#c9a961" opacity="0.12"/>
<line x1="40" y1="203.4" x2="440" y2="203.4" stroke="#c9a961" stroke-width="1" stroke-dasharray="4 3"/>
<line x1="40" y1="229.9" x2="440" y2="229.9" stroke="#c9a961" stroke-width="1" stroke-dasharray="4 3"/>
<text x="448" y="207" font-size="10" fill="#a8893f" text-anchor="start">۳۸.۲٪</text>
<text x="448" y="233" font-size="10" fill="#a8893f" text-anchor="start">۶۱.۸٪</text>
<text x="448" y="218" font-size="9" fill="#a8893f" text-anchor="start">باند</text>
<text x="448" y="228" font-size="9" fill="#a8893f" text-anchor="start">اصلاح</text>
<!-- correction zone shading -->
<rect x="195" y="60" width="150" height="270" fill="#dd6b20" opacity="0.06" stroke="#dd6b20" stroke-width="1" stroke-dasharray="5 4"/>
<text x="270" y="76" font-size="11" fill="#dd6b20" text-anchor="middle">فاز اصلاح</text>
<!-- baseline -->
<line x1="40" y1="335" x2="640" y2="335" stroke="#e2e8f0" stroke-width="1.5"/>
<!-- correction low dashed line (y=225) -->
<line x1="40" y1="225" x2="640" y2="225" stroke="#e53e3e" stroke-width="1.2" stroke-dasharray="6 4"/>
<text x="452" y="240" font-size="10" fill="#e53e3e" text-anchor="start">کف اصلاح = مرجع لگ دوم + حد ضرر</text>
<!-- correction high dashed line (y=137.5) -->
<line x1="40" y1="137.5" x2="640" y2="137.5" stroke="#38a169" stroke-width="1.2" stroke-dasharray="6 4"/>
<text x="452" y="131" font-size="10" fill="#38a169" text-anchor="start">سقف اصلاح — شکست آن = شروع لگ دوم</text>
<!-- leg1 bracket -->
<line x1="55" y1="48" x2="55" y2="56" stroke="#1a365d" stroke-width="1.5"/>
<line x1="185" y1="48" x2="185" y2="56" stroke="#1a365d" stroke-width="1.5"/>
<line x1="55" y1="52" x2="185" y2="52" stroke="#1a365d" stroke-width="1.5"/>
<text x="120" y="44" font-size="12" font-weight="700" fill="#1a365d" text-anchor="middle">لگ اول</text>
<!-- leg2 bracket -->
<line x1="355" y1="48" x2="355" y2="56" stroke="#1a365d" stroke-width="1.5"/>
<line x1="435" y1="48" x2="435" y2="56" stroke="#1a365d" stroke-width="1.5"/>
<line x1="355" y1="52" x2="435" y2="52" stroke="#1a365d" stroke-width="1.5"/>
<text x="395" y="44" font-size="12" font-weight="700" fill="#1a365d" text-anchor="middle">لگ دوم</text>
<!-- candles: leg1 (green) -->
<!-- C1: o100 c108 h110 l99 -->
<line x1="70" y1="285" x2="70" y2="290.5" stroke="#276749" stroke-width="2"/>
<rect x="62" y="238" width="16" height="47" fill="#38a169" stroke="#276749"/>
<!-- C2: o108 c116 h118 l107 -->
<line x1="120" y1="234" x2="120" y2="243.5" stroke="#276749" stroke-width="2"/>
<rect x="112" y="238" width="16" height="49" fill="#38a169" stroke="#276749"/>
<!-- C3: o116 c124 h126 l115 -->
<line x1="170" y1="126.5" x2="170" y2="132" stroke="#276749" stroke-width="2"/>
<rect x="162" y="132" width="16" height="61" fill="#38a169" stroke="#276749"/>
<!-- correction candles (red) -->
<!-- C4: o124 c117 h125 l116 -->
<line x1="220" y1="137.5" x2="220" y2="143" stroke="#c53030" stroke-width="2"/>
<rect x="212" y="143" width="16" height="49" fill="#e53e3e" stroke="#c53030"/>
<!-- C5: o117 c112 h118 l110 -->
<line x1="270" y1="181" x2="270" y2="192.5" stroke="#c53030" stroke-width="2"/>
<rect x="262" y="186.5" width="16" height="54" fill="#e53e3e" stroke="#c53030"/>
<!-- C6: o112 c115 h116 l111 -->
<line x1="320" y1="192" x2="320" y2="197.5" stroke="#c53030" stroke-width="2"/>
<rect x="312" y="192" width="16" height="24.5" fill="#e53e3e" stroke="#c53030"/>
<!-- second leg candles (green) -->
<!-- C7: o115 c126 h127 l114 -->
<line x1="370" y1="126.5" x2="370" y2="132" stroke="#276749" stroke-width="2"/>
<rect x="362" y="132" width="16" height="61" fill="#38a169" stroke="#276749"/>
<!-- C8: o126 c133 h135 l125 -->
<line x1="420" y1="82.5" x2="420" y2="92" stroke="#276749" stroke-width="2"/>
<rect x="412" y="92" width="16" height="65" fill="#38a169" stroke="#276749"/>
<!-- breakout marker -->
<polygon points="362,122 378,122 370,108" fill="#c9a961"/>
<text x="370" y="100" font-size="10" font-weight="600" fill="#a8893f" text-anchor="middle">کندل شکست (بسته بالای سقف اصلاح)</text>
<!-- bottom labels -->
<text x="120" y="352" font-size="10" fill="#4a5568" text-anchor="middle">حرکت جهت‌دار قدرتمند</text>
<text x="270" y="352" font-size="10" fill="#4a5568" text-anchor="middle">بازگشت ۳۸٫۲–۶۱٫۸٪ لگ اول</text>
<text x="395" y="352" font-size="10" fill="#4a5568" text-anchor="middle">ادامه جهت اصلی پس از تأیید</text>
</svg>
<div class="figure-caption">نمودار ۱ — سناریوی صعودی: لگ اول → اصلاح در باند فیبوناچی → شکست سقف اصلاح → لگ دوم. قرینه‌ی نزولی: همه شروط با کف/سقف معکوس می‌شوند.</div>
</div>
</div>
</div>
<div class="section">
<div class="section-header">
<div class="section-number">۴</div>
<div class="section-title">
<h3>بازنویسی مکانیکال قوانین ورود</h3>
<div class="subtitle">Mechanical Entry Rules (Emotion-Free)</div>
</div>
</div>
<div class="section-content">
<p>قوانین ورود به ۹ فاز متوالی تبدیل شده‌اند. هر فاز یک <strong>شرط پاس/رد قطعی</strong> دارد. معامله‌کننده فقط پاسخ «پاس» یا «رد» می‌دهد و هیچ اختیار تفسیری ندارد. سناریوی صعودی توضیح داده شده؛ سناریوی نزولی دقیقاً قرینه است (همه سقف‌ها به کف‌ها و بالاها به پایین‌ها تبدیل می‌شوند):</p>
<table class="styled-table">
<thead>
<tr>
<th style="width: 13%;">فاز</th>
<th style="width: 24%;">شرط</th>
<th style="width: 41%;">معیار کمّی (مکانیکال)</th>
<th style="width: 22%;">در صورت عدم تحقق</th>
</tr>
</thead>
<tbody>
<tr>
<td><strong>فاز ۰</strong><br>زمینه بازار</td>
<td>هم‌جهتی روند و غیررنج بودن</td>
<td>روند تایم‌فریم بالاتر (۱۵دقیقه/۱ساعت) هم‌جهت با جهت مورد نظر؛ قیمت خارج از کانال افقی شدید باشد (دامنه کانال &lt; ۱ برابر ATR در ۲۰ کندل = رنج شدید)</td>
<td>ستاپ <span style="color: var(--danger); font-weight: 700;">رد</span> می‌شود</td>
</tr>
<tr>
<td><strong>فاز ۱</strong><br>شناسایی لگ اول</td>
<td>وجود حرکت جهت‌دار قدرتمند</td>
<td>حداقل ۳ کندل متوالی هم‌جهت <strong>یا</strong> یک کندل با بدنه ≥ ۱.۵ برابر میانگین بدنه ۲۰ کندل گذشته؛ دامنه کل لگ ≥ ۰.۵ برابر ATR(۱۴)</td>
<td>منتظر ماندن (بدون پوزیشن)</td>
</tr>
<tr>
<td><strong>فاز ۲</strong><br>بررسی اصلاح</td>
<td>عمق و مدت اصلاح مجاز</td>
<td>بازگشت قیمت بین ۳۸.۲٪ تا ۶۱.۸٪ دامنه لگ اول؛ حداکثر ۱۲ کندل (۱ ساعت) طول بکشد؛ در صعودی: کف اصلاح <strong>بالاتر</strong> از ابتدای لگ اول باشد</td>
<td>ستاپ <span style="color: var(--danger); font-weight: 700;">رد</span> (اصلاح عمیق‌تر = بی‌اعتبار)</td>
</tr>
<tr>
<td><strong>فاز ۳</strong><br>تکمیل لگ دوم</td>
<td>شروع حرکت مجدد</td>
<td>بسته‌شدن یک کندل بالای سقف بالاترین کندل اصلاح (صعودی). فقط سایه کافی نیست</td>
<td>منتظر ماندن</td>
</tr>
<tr class="highlight-row">
<td><strong>فاز ۴</strong><br>Exhaustion Gap</td>
<td><strong>شرط اجباری</strong></td>
<td>گپ هم‌جهت (در صعودی: کف کندل &gt; سقف کندل قبلی) با اندازه ≥ ۰.۲ برابر ATR(۱۴)، در ۳ کندل گذشته از تکمیل اصلاح یا در ابتدای لگ دوم؛ و <strong>گپ تا پایان کندل تأیید پر نشده باشد</strong></td>
<td>ستاپ <span style="color: var(--danger); font-weight: 700;">رد</span> — <strong>بدون گپ هیچ ورودی (قانون آهنین)</strong></td>
</tr>
<tr>
<td><strong>فاز ۵</strong><br>بررسی FVG</td>
<td>کیفیت‌بخش (اختیاری)</td>
<td>وجود FVG هم‌جهت در مسیر لگ (سه‌کندلی: کف کندل سوم &gt; سقف کندل اول، صعودی) → کیفیت ستاپ بالا؛ عدم وجود → ستاپ مجاز با ریسک استاندارد</td>
<td>ادامه (FVG فیلتر نیست، وزن‌دهنده است)</td>
</tr>
<tr>
<td><strong>فاز ۶</strong><br>کندل سیگنال</td>
<td>تعریف دقیق کندل سیگنال</td>
<td>کندل هم‌جهت با: بدنه ≥ ۱.۲ برابر میانگین بدنه ۲۰ کندل؛ سایه بالا/پایین ≤ ۳۰٪ دامنه کندل؛ بسته‌شدن فراتر از سقف اصلاح (صعودی)</td>
<td>منتظر ماندن</td>
</tr>
<tr>
<td><strong>فاز ۷</strong><br>کندل تأیید</td>
<td>تأیید نهایی ورود</td>
<td>کندل بعدی باید <strong>بسته شود</strong> بالاتر از سقف کندل سیگنال (صعودی). اگر این کندل تأیید نکند، یک کندل فرصت دیگر دارد؛ پس از آن ستاپ باطل</td>
<td>ستاپ <span style="color: var(--danger); font-weight: 700;">باطل</span> پس از کندل دوم</td>
</tr>
<tr>
<td><strong>فاز ۸</strong><br>اجرای ورود</td>
<td>نقطه ورود</td>
<td>ورود مارکت <strong>در لحظه بسته‌شدن کندل تأیید</strong> (نه در میانه کندل، نه در سایه). همزمان ثبت فوری: ورود، حد ضرر، تارگت‌ها، حجم</td>
<td>—</td>
</tr>
</tbody>
</table>
<div class="quote-box">
<p>در سیستم مکانیکال، معامله‌کننده نباید دنبال دلایل برای ورود باشد؛ بلکه باید دنبال دلایل برای رد شدن باشد. اگر دلیل رد پیدا نشد، ورود اجرا می‌شود.</p>
<div class="source">— اصل طراحی این بازنویسی</div>
</div>
</div>
</div>
<div class="section">
<div class="section-header">
<div class="section-number">۵</div>
<div class="section-title">
<h3>تعریف بصری گپ خستگی، FVG و کندل‌های سیگنال</h3>
<div class="subtitle">Visual Definitions</div>
</div>
</div>
<div class="section-content">
<p>سه مفهوم کلیدی استراتژی را در نمودارهای زیر ببینید. این تصاویر دقیقاً همان چیزی هستند که باید در چارت شناسایی شود:</p>
<div class="figure-wrap">
<svg viewBox="0 0 680 320" xmlns="http://www.w3.org/2000/svg" style="font-family:'Vazirmatn',Tahoma,sans-serif;">
<!-- divider -->
<line x1="340" y1="40" x2="340" y2="300" stroke="#e2e8f0" stroke-width="1.5" stroke-dasharray="5 4"/>
<text x="170" y="24" font-size="13" font-weight="700" fill="#38a169" text-anchor="middle">مورد مجاز ✓</text>
<text x="510" y="24" font-size="13" font-weight="700" fill="#e53e3e" text-anchor="middle">مرد بی‌اعتبار ✗</text>
<!-- VALID PANEL: y(p)=300-(p-100)*4.5 -->
<!-- C1: o118 c112 h120 l111 (red) -->
<line x1="100" y1="225" x2="100" y2="265.5" stroke="#c53030" stroke-width="2"/>
<rect x="92" y="234" width="16" height="39" fill="#e53e3e" stroke="#c53030"/>
<!-- C2: o124 c133 h135 l123 (green) -->
<line x1="170" y1="172.5" x2="170" y2="220.5" stroke="#276749" stroke-width="2"/>
<rect x="162" y="178.5" width="16" height="42" fill="#38a169" stroke="#276749"/>
<!-- C3: o133 c139 h141 l132 (green) -->
<line x1="240" y1="142.5" x2="240" y2="183" stroke="#276749" stroke-width="2"/>
<rect x="232" y="151.5" width="16" height="36" fill="#38a169" stroke="#276749"/>
<!-- gap zone 120->123 : y 225..220.5 -->
<rect x="70" y="220.5" width="200" height="4.5" fill="#c9a961" opacity="0.6"/>
<line x1="70" y1="222.75" x2="340" y2="222.75" stroke="#c9a961" stroke-width="1" stroke-dasharray="4 3"/>
<text x="170" y="208" font-size="11" font-weight="700" fill="#a8893f" text-anchor="middle">Exhaustion Gap</text>
<line x1="170" y1="211" x2="170" y2="219" stroke="#a8893f" stroke-width="1"/>
<text x="170" y="280" font-size="11" font-weight="600" fill="#38a169" text-anchor="middle">✓ گپ پر نشد — شرط برقرار است</text>
<!-- INVALID PANEL -->
<!-- C1: o118 c112 h120 l111 (red) -->
<line x1="430" y1="225" x2="430" y2="265.5" stroke="#c53030" stroke-width="2"/>
<rect x="422" y="234" width="16" height="39" fill="#e53e3e" stroke="#c53030"/>
<!-- C2: o124 c130 h132 l122 (green) -->
<line x1="500" y1="186" x2="500" y2="229" stroke="#276749" stroke-width="2"/>
<rect x="492" y="195" width="16" height="29" fill="#38a169" stroke="#276749"/>
<!-- gap zone 120->122 : y 225..229 -->
<rect x="400" y="225" width="200" height="4" fill="#c9a961" opacity="0.6"/>
<!-- C3: o130 c124 h129 l117 (red) - fills gap -->
<line x1="570" y1="193.5" x2="570" y2="241.5" stroke="#c53030" stroke-width="2"/>
<rect x="562" y="216" width="16" height="22.5" fill="#e53e3e" stroke="#c53030"/>
<!-- red X over gap -->
<line x1="492" y1="219" x2="508" y2="235" stroke="#e53e3e" stroke-width="3.5"/>
<line x1="492" y1="235" x2="508" y2="219" stroke="#e53e3e" stroke-width="3.5"/>
<text x="510" y="280" font-size="11" font-weight="600" fill="#e53e3e" text-anchor="middle">✗ گپ پر شد — ورود ممنوع</text>
<!-- definition footer -->
<text x="340" y="308" font-size="10.5" fill="#4a5568" text-anchor="middle">تعریف مکانیکال گپ: فاصله بین سقف کندل قبل و کف کندل بعد ≥ ۰.۲×ATR(۱۴)، هم‌جهت با لگ اصلی، در ۳ کندل گذشته از تکمیل اصلاح یا ابتدای لگ دوم</text>
</svg>
<div class="figure-caption">نمودار ۲ — Exhaustion Gap: سمت چپ (مجاز) گپ بالا را پر نکرده؛ سمت راست (بی‌اعتبار) کندل بعدی گپ را پر کرده و سیگنال لغو می‌شود.</div>
</div>
<div class="figure-wrap">
<svg viewBox="0 0 680 280" xmlns="http://www.w3.org/2000/svg" style="font-family:'Vazirmatn',Tahoma,sans-serif;">
<!-- y(p)=260-(p-100)*4.5 -->
<!-- C1: o110 c116 h118 l108 -->
<line x1="150" y1="179" x2="150" y2="224" stroke="#276749" stroke-width="2"/>
<rect x="142" y="188" width="16" height="27" fill="#38a169" stroke="#276749"/>
<!-- C2: o116 c130 h132 l115 -->
<line x1="230" y1="116" x2="230" y2="192.5" stroke="#276749" stroke-width="2"/>
<rect x="222" y="125" width="16" height="63" fill="#38a169" stroke="#276749"/>
<!-- C3: o130 c136 h138 l124 -->
<line x1="310" y1="89" x2="310" y2="152" stroke="#276749" stroke-width="2"/>
<rect x="302" y="98" width="16" height="27" fill="#38a169" stroke="#276749"/>
<!-- FVG zone: C1 high 118 (y=179) to C3 low 124 (y=152) -->
<rect x="120" y="152" width="220" height="27" fill="#c9a961" opacity="0.5"/>
<line x1="340" y1="179" x2="440" y2="179" stroke="#c9a961" stroke-width="1" stroke-dasharray="4 3"/>
<line x1="340" y1="152" x2="440" y2="152" stroke="#c9a961" stroke-width="1" stroke-dasharray="4 3"/>
<text x="230" y="140" font-size="13" font-weight="700" fill="#a8893f" text-anchor="middle">FVG صعودی</text>
<text x="452" y="162" font-size="10.5" fill="#4a5568" text-anchor="start">کف کندل ۳ بالاتر از</text>
<text x="452" y="176" font-size="10.5" fill="#4a5568" text-anchor="start">سقف کندل ۱</text>
<text x="340" y="248" font-size="11" font-weight="600" fill="#1a365d" text-anchor="middle">FVG کیفیت لگ را افزایش می‌دهد — به‌تنهایی سیگنال ورود نیست</text>
<text x="340" y="266" font-size="10" fill="#4a5568" text-anchor="middle">قرینه نزولی: سقف کندل ۳ پایین‌تر از کف کندل ۱</text>
</svg>
<div class="figure-caption">نمودار ۳ — FVG سه‌کندلی صعودی: ناحیه طلایی فجای قیمتی است که توسط کندل دوم ایجاد شده و هنوز پر نشده.</div>
</div>
<div class="figure-wrap">
<svg viewBox="0 0 680 340" xmlns="http://www.w3.org/2000/svg" style="font-family:'Vazirmatn',Tahoma,sans-serif;">
<!-- y(p)=320-(p-100)*5 -->
<line x1="345" y1="40" x2="345" y2="320" stroke="#e2e8f0" stroke-width="1.5" stroke-dasharray="5 4"/>
<text x="170" y="22" font-size="13" font-weight="700" fill="#38a169" text-anchor="middle">سناریوی مجاز ✓</text>
<text x="520" y="22" font-size="13" font-weight="700" fill="#e53e3e" text-anchor="middle">سناریوی نامعتبر ✗</text>
<!-- VALID: C1 o120 c117 h121 l116 (red) -->
<line x1="100" y1="255" x2="100" y2="280" stroke="#c53030" stroke-width="2"/>
<rect x="92" y="260" width="16" height="15" fill="#e53e3e" stroke="#c53030"/>
<!-- C2 signal: o117 c130 h131 l116 (green) -->
<line x1="190" y1="205" x2="190" y2="280" stroke="#276749" stroke-width="2"/>
<rect x="182" y="205" width="16" height="70" fill="#38a169" stroke="#276749"/>
<!-- signal high line y=205 -->
<line x1="160" y1="205" x2="330" y2="205" stroke="#1a365d" stroke-width="1.2" stroke-dasharray="6 4"/>
<text x="165" y="198" font-size="10" fill="#1a365d" text-anchor="start">سقف کندل سیگنال</text>
<!-- C3 confirmation: o130 c136 h137 l129 (green) -->
<line x1="280" y1="175" x2="280" y2="215" stroke="#276749" stroke-width="2"/>
<rect x="272" y="175" width="16" height="35" fill="#38a169" stroke="#276749"/>
<!-- entry arrow -->
<line x1="280" y1="152" x2="280" y2="170" stroke="#c9a961" stroke-width="2"/>
<polygon points="274,166 286,166 280,176" fill="#c9a961"/>
<text x="280" y="144" font-size="11" font-weight="700" fill="#a8893f" text-anchor="middle">ورود: بسته‌شدن کندل تأیید بالای سقف سیگنال</text>
<!-- INVALID: C1 -->
<line x1="430" y1="255" x2="430" y2="280" stroke="#c53030" stroke-width="2"/>
<rect x="422" y="260" width="16" height="15" fill="#e53e3e" stroke="#c53030"/>
<!-- C2 signal: o117 c128 h129 l115 -->
<line x1="520" y1="210" x2="520" y2="285" stroke="#276749" stroke-width="2"/>
<rect x="512" y="210" width="16" height="65" fill="#38a169" stroke="#276749"/>
<line x1="490" y1="210" x2="660" y2="210" stroke="#1a365d" stroke-width="1.2" stroke-dasharray="6 4"/>
<text x="495" y="203" font-size="10" fill="#1a365d" text-anchor="start">سقف کندل سیگنال</text>
<!-- C3: o128 c126 h130 l124 (red) - wick above but close below -->
<line x1="610" y1="210" x2="610" y2="240" stroke="#c53030" stroke-width="2"/>
<rect x="602" y="215" width="16" height="15" fill="#e53e3e" stroke="#c53030"/>
<!-- red X -->
<line x1="600" y1="185" x2="620" y2="205" stroke="#e53e3e" stroke-width="3.5"/>
<line x1="600" y1="205" x2="620" y2="185" stroke="#e53e3e" stroke-width="3.5"/>
<text x="545" y="176" font-size="10.5" font-weight="700" fill="#e53e3e" text-anchor="middle">بسته نشد → ورود نگیر</text>
<text x="545" y="163" font-size="9.5" fill="#e53e3e" text-anchor="middle">عبور سایه کافی نیست</text>
<text x="170" y="326" font-size="10.5" font-weight="600" fill="#38a169" text-anchor="middle">✓ کندل تأیید بالای سقف سیگنال بسته شد</text>
<text x="520" y="326" font-size="10.5" font-weight="600" fill="#e53e3e" text-anchor="middle">✗ سایه از سقف عبور کرد اما کندل بسته نشد</text>
</svg>
<div class="figure-caption">نمودار ۴ — کندل سیگنال و تأیید: ورود فقط در بسته‌شدن کندل تأیید بالاتر از سقف کندل سیگنال (نمودار چپ). سمت راست: سایه کندل از سقف گذشته اما بدنه بسته نشده — ورود ممنوع.</div>
</div>
</div>
</div>
<div class="section">
<div class="section-header">
<div class="section-number">۶</div>
<div class="section-title">
<h3>حد ضرر و اهداف قیمتی مشخص (رفع ناقص اصلی)</h3>
<div class="subtitle">Mechanical SL & TP Definition</div>
</div>
</div>
<div class="section-content">
<p>یکی از بزرگ‌ترین نواقص مستند اصلی، نبود تعریف کمّی حد ضرر و اهداف بود. در نسخه مکانیکال، همه سطوح بر اساس <strong>R (واحد ریسک)</strong> تعریف می‌شوند تا سنجش یکسان و خودکار باشود:</p>
<table class="styled-table">
<thead>
<tr>
<th>عنصر</th>
<th>تعریف مکانیکال</th>
</tr>
</thead>
<tbody>
<tr>
<td><strong>حد ضرر (SL)</strong></td>
<td>کف اصلاح (سناریو صعودی) منهای بافر ۰.۱ برابر ATR(۱۴). <strong>ممنوع:</strong> تغییر حد ضرر در جهت ضرر پس از ورود</td>
</tr>
<tr>
<td><strong>اعتبار اندازه SL</strong></td>
<td>فاصله ورود تا SL باید بین ۰.۵ تا ۲ برابر ATR باشد؛ در غیر این صورت ستاپ رد می‌شود (ساختار نامناسب)</td>
</tr>
<tr>
<td><strong>R (واحد ریسک)</strong></td>
<td>فاصله قیمتی ورود تا SL. مثال: ورود ۳٬۴۰۰$ و SL ۳٬۳۹۱$ → R = ۹$</td>
</tr>
<tr class="highlight-row">
<td><strong>تارگت‌ها</strong></td>
<td>TP1 = 1R — TP1.5 = 1.5R — <strong>TP2 = 2R (هدف پایه)</strong> — TP3 = 3R — TP4 = 4R — TP5 = 5R — TP6 = 6R — TP7 = 7R</td>
</tr>
<tr>
<td><strong>خروج جزئی پیشنهادی</strong></td>
<td>۵۰٪ حجم در TP2 خروج؛ حد ضرر به ورود منتقل می‌شود؛ ۵۰٪ باقی‌مانده با تریل استاپ (فاصله ۱R پشت قیمت) ادامه می‌یابد تا حداکثر TP7</td>
</tr>
<tr>
<td><strong>تایم‌استاپ</strong></td>
<td>اگر تا ۲۴ کندل (۲ ساعت) از ورود، TP1 لمس نشود، پوزیشن بسته می‌شود (سرمایه بنداندازی نیست)</td>
</tr>
<tr>
<td><strong>حداقل نسبت ریوارد</strong></td>
<td>فاصله ورود تا TP2 باید حداقل ۱.۵ برابر فاصله ورود تا SL باشد؛ در غیر این صورت ستاپ رد می‌شود</td>
</tr>
</tbody>
</table>
<div class="figure-wrap">
<svg viewBox="0 0 680 380" xmlns="http://www.w3.org/2000/svg" style="font-family:'Vazirmatn',Tahoma,sans-serif;">
<!-- y(p)=360-(p-94)*7.5 -->
<text x="340" y="24" font-size="14" font-weight="700" fill="#1a365d" text-anchor="middle">مدیریت پوزیشن بر اساس مضارب R</text>
<!-- context candles near entry -->
<line x1="120" y1="307.5" x2="120" y2="326.25" stroke="#276749" stroke-width="2"/>
<rect x="112" y="307.5" width="16" height="3.75" fill="#38a169" stroke="#276749"/>
<line x1="150" y1="311.25" x2="150" y2="322.5" stroke="#276749" stroke-width="2"/>
<rect x="142" y="311.25" width="16" height="3.75" fill="#38a169" stroke="#276749"/>
<line x1="180" y1="303.75" x2="180" y2="318.75" stroke="#276749" stroke-width="2"/>
<rect x="172" y="303.75" width="16" height="3.75" fill="#38a169" stroke="#276749"/>
<!-- TP7 121 -> y=150 -->
<line x1="70" y1="150" x2="470" y2="150" stroke="#38a169" stroke-width="1.5"/>
<text x="482" y="154" font-size="11" fill="#276749" text-anchor="start">TP7 = +7R — رانر (تریل تا شکست)</text>
<!-- TP6 118 -> y=172.5 -->
<line x1="70" y1="172.5" x2="470" y2="172.5" stroke="#38a169" stroke-width="1.5"/>
<text x="482" y="176.5" font-size="11" fill="#276749" text-anchor="start">TP6 = +6R</text>
<!-- TP5 115 -> y=195 -->
<line x1="70" y1="195" x2="470" y2="195" stroke="#38a169" stroke-width="1.5"/>
<text x="482" y="199" font-size="11" fill="#276749" text-anchor="start">TP5 = +5R</text>
<!-- TP4 112 -> y=217.5 -->
<line x1="70" y1="217.5" x2="470" y2="217.5" stroke="#38a169" stroke-width="1.5"/>
<text x="482" y="221.5" font-size="11" fill="#276749" text-anchor="start">TP4 = +4R</text>
<!-- TP3 109 -> y=240 -->
<line x1="70" y1="240" x2="470" y2="240" stroke="#38a169" stroke-width="1.5"/>
<text x="482" y="244" font-size="11" fill="#276749" text-anchor="start">TP3 = +3R — تریل استاپ فعال</text>
<!-- TP2 106 -> y=262.5 -->
<line x1="70" y1="262.5" x2="470" y2="262.5" stroke="#c9a961" stroke-width="3"/>
<text x="482" y="266.5" font-size="11" font-weight="700" fill="#a8893f" text-anchor="start">TP2 = +2R — هدف پایه: خروج ۵۰٪ + SL به ورود</text>
<!-- TP1.5 104.5 -> y=281.25 -->
<line x1="70" y1="281.25" x2="470" y2="281.25" stroke="#38a169" stroke-width="1.5"/>
<text x="482" y="285.25" font-size="11" fill="#276749" text-anchor="start">TP1.5 = +1.5R</text>
<!-- TP1 103 -> y=292.5 -->
<line x1="70" y1="292.5" x2="470" y2="292.5" stroke="#38a169" stroke-width="1.5"/>
<text x="482" y="296.5" font-size="11" fill="#276749" text-anchor="start">TP1 = +1R</text>
<!-- Entry 100 -> y=315 -->
<line x1="70" y1="315" x2="470" y2="315" stroke="#2c5282" stroke-width="2.5"/>
<text x="482" y="319" font-size="11" font-weight="700" fill="#2c5282" text-anchor="start">ورود = 0R</text>
<!-- SL 97 -> y=337.5 -->
<line x1="70" y1="337.5" x2="470" y2="337.5" stroke="#e53e3e" stroke-width="2.5"/>
<text x="482" y="341.5" font-size="11" font-weight="700" fill="#e53e3e" text-anchor="start">SL = −1R (کف اصلاح − بافر ۰.۱×ATR)</text>
<text x="340" y="368" font-size="10" fill="#4a5568" text-anchor="middle">R = فاصله ورود تا حد ضرر. همه سطوح به‌صورت خودکار از R مشتق می‌شوند و وابسته به تغییرات قیمت مطلق نیستند</text>
</svg>
<div class="figure-caption">نمودار ۵ — نردبان R: حد ضرر ۱R پایین ورود و تارگت‌های ۱ تا ۷R بالای آن. خط طلایی TP2 هدف پایه و نقطه خروج نصف حجم است.</div>
</div>
<table class="styled-table">
<thead>
<tr>
<th>مثال عددی (سناریوی صعودی)</th>
<th>قیمت</th>
<th>معادل R</th>
</tr>
</thead>
<tbody>
<tr>
<td>نقطه ورود</td>
<td>۳٬۴۰۰$</td>
<td>۰</td>
</tr>
<tr>
<td>حد ضرر</td>
<td>۳٬۳۹۱$</td>
<td style="color: var(--danger); font-weight: 600;">−1R (R = ۹$)</td>
</tr>
<tr>
<td>TP1 / TP1.5</td>
<td>۳٬۴۰۹$ / ۳٬۴۱۳.۵$</td>
<td>+1R / +1.5R</td>
</tr>
<tr class="highlight-row">
<td><strong>TP2 (هدف پایه)</strong></td>
<td><strong>۳٬۴۱۸$</strong></td>
<td><strong>+2R — خروج ۵۰٪</strong></td>
</tr>
<tr>
<td>TP3 / TP4 / TP5</td>
<td>۳٬۴۲۷$ / ۳٬۴۳۶$ / ۳٬۴۴۵$</td>
<td>+3R / +4R / +5R</td>
</tr>
<tr>
<td>TP6 / TP7</td>
<td>۳٬۴۵۴$ / ۳٬۴۶۳$</td>
<td>+6R / +7R (رانر)</td>
</tr>
</tbody>
</table>
<div class="info-box">
<strong>💡 نکته سایزینگ:</strong> با سرمایه ۱۰٬۰۰۰$ و ریسک ۰.۵٪ هر معامله (۵۰$) و R = ۹$: حجم پوزیشن = ۵۰ ÷ ۹ ≈ ۵.۵ اونس طلا. اگر ساختار باعث شود R بیش از ۲×ATR شود، یا حجم محاسبه‌شده بسیار کوچک باشد — ستاپ رد می‌شود. سطوح رند (مثل ۳٬۴۰۰ و ۳٬۴۲۰) فقط برای بررسی هم‌راستایی تارگت‌ها استفاده می‌شوند.
</div>
</div>
</div>
<div class="section">
<div class="section-header">
<div class="section-number">۷</div>
<div class="section-title">
<h3>تکمیل قوانین مدیریت ریسک و محدودیت‌های روزانه</h3>
<div class="subtitle">Risk Management & Daily Limits</div>
</div>
</div>
<div class="section-content">
<p>مستند اصلی فقط سقف زیان ۳٪ روزانه را تعریف کرده بود. جدول زیر محدودیت‌های مفقوده را به‌صورت کمّی تکمیل می‌کند. این قوانین <strong>حتماً</strong> اجرایی‌تر از خود سیگنال‌ها هستند و هیچ استثنایی ندارند:</p>
<table class="styled-table">
<thead>
<tr>
<th style="width: 26%;">قانون</th>
<th style="width: 22%;">مقدار پیشنهادی</th>
<th>توضیح و اثر</th>
</tr>
</thead>
<tbody>
<tr>
<td><strong>ریسک هر معامله</strong></td>
<td>۰.۵٪ سرمایه (بازه مجاز: ۰.۲۵–۱٪)</td>
<td>ثابت نگه داشتن ریسک، حذف تصمیم احساسی درباره حجم</td>
</tr>
<tr class="highlight-row">
<td><strong>حداکثر معاملات فعال همزمان</strong></td>
<td><strong>۱ پوزیشن</strong></td>
<td>تمرکز کامل بر یک سناریو؛ حذف سردرگمی مدیریت چند پوزیشن</td>
</tr>
<tr class="highlight-row">
<td><strong>حداکثر معاملات در روز</strong></td>
<td><strong>۳ معامله</strong></td>
<td>جلوگیری از معامله‌گری بیش‌ازحد (Overtrading) و فرسودگی تمرکز</td>
</tr>
<tr class="highlight-row">
<td><strong>بیشترین معاملات ناموفق در روز</strong></td>
<td><strong>۲ باخت → توقف کامل روز</strong></td>
<td>پس از دومین باخت، هیچ ورودی تا پایان روز مجاز نیست — حتی اگر سقف ۳٪ لمس نشده باشد</td>
</tr>
<tr class="highlight-row">
<td><strong>سقف زیان روزانه</strong></td>
<td><strong>۳٪ سرمایه (حفظ از اصلی)</strong></td>
<td>با رسیدن به آن: توقف فوری، بازرسی معاملات روز و ثبت علت</td>
</tr>
<tr>
<td><strong>ساعت مجاز معامله</strong></td>
<td>سشن لندن (۱۰:۳۰–۱۹:۳۰ تهران) و هم‌پوشانی لندن–نیویورک (۱۶:۳۰–۱۹:۳۰)</td>
<td>بر اساس داده بک‌تست، بیشترین فعالیت و کیفیت ستاپ در این بازه‌هاست</td>
</tr>
<tr>
<td><strong>فیلتر خبر</strong></td>
<td>ممنوعیت ورود ۳۰ دقیقه قبل و بعد از اخبار پرنفوذ (CPI، FOMC، اشتغال، ادعای بیکاری)</td>
<td>۲ مورد از ۴۰ باخت بک‌تست مستقیماً به سایه کندل خبری نسبت داده شده بود</td>
</tr>
<tr>
<td><strong>قاعده خروج زمانی</strong></td>
<td>خروج اگر تا ۲۴ کندل (۲ ساعت) به TP1 نرسید</td>
<td>جلوگیری از بنداندازی سرمایه در پوزیشن بی‌حرکت</td>
</tr>
<tr>
<td><strong>قاعده بریک‌ایون</strong></td>
<td>در رسیدن به TP1، حد ضرر به نقطه ورود منتقل می‌شود</td>
<td>تبدیل معامله به «بدون ریسک» از آن لحظه</td>
</tr>
<tr>
<td><strong>ممنوعیت‌های مطلق</strong></td>
<td>ورود انتقامی — افزایش حجم برای جبران — جابه‌جایی SL در جهت ضرر — ورود پس از رسیدن به هر سقف روزانه</td>
<td>مهم‌ترین قوانین حفظ سرمایه؛ نقض هر کدام = توقف معاملات تا پایان روز</td>
</tr>
<tr>
<td><strong>بازرسی هفتگی</strong></td>
<td>بررسی عملکرد در پایان هر هفته</td>
<td>شمارش دقیق: تعداد ستاپ‌های اجراشده <strong>و ردشده</strong>، نرخ برد واقعی، میانگین R</td>
</tr>
</tbody>
</table>
<div class="warning-box">
<strong>⚠ چرا سقف باخت روزانه ضروری است:</strong> در بک‌تست، بیشترین باخت متوالی فقط ۲ معامله بود. قانون «۲ باخت = توقف روز» با همین داده سازگار است و از ورود سوم در روزهای بد — که معمولاً نقطه شکست حساب می‌شود — جلوگیری می‌کند. توجه کنید این قانون، <strong>استقلال آماری معاملات را نیز بهبود می‌بخشد</strong> چون معاملات یک روز اغلب همبستگی دارند.
</div>
</div>
</div>
<div class="section">
<div class="section-header">
<div class="section-number">۸</div>
<div class="section-title">
<h3>پیشنهادهای بهینه‌سازی استراتژی</h3>
<div class="subtitle">Optimization Suggestions</div>
</div>
</div>
<div class="section-content">
<p>موارد زیر به ترتیب اولویت، مؤثرترین راه‌های بهبود استراتژی هستند. هر تغییر پارامتری باید در چارچوب Walk-forward و با داده خارج نمونه آزمایش شود، نه بر اساس «حدس منطقی»:</p>
<table class="styled-table">
<thead>
<tr>
<th style="width: 5%;">#</th>
<th style="width: 30%;">پیشنهاد</th>
<th style="width: 14%;">نوع</th>
<th style="width: 33%;">اثر مورد انتظار</th>
<th style="width: 18%;">اولویت</th>
</tr>
</thead>
<tbody>
<tr class="highlight-row">
<td>۱</td>
<td><strong>اعتبارسنجی واقعی با R واقعی</strong> — بازنویسی بک‌تست بر اساس خروج واقعی (نه بالاترین TP لمس‌شده)</td>
<td>داده</td>
<td>حذف بهینه‌نمایی اصلی؛ تخمین واقعی بازده (حدود ۳.۱R به‌جای ۳.۶R)</td>
<td style="color: var(--danger); font-weight: 700;">حیاتی</td>
</tr>
<tr class="highlight-row">
<td>۲</td>
<td><strong>لاگ ستاپ‌های ردشده</strong> — ثبت تمام مواقعیت‌هایی که شرایط را نداشتند</td>
<td>داده</td>
<td>سنجش نرخ مثبت‌کاذب و انتخاب‌گری؛ محاسبه expectancy واقعی</td>
<td style="color: var(--danger); font-weight: 700;">حیاتی</td>
</tr>
<tr>
<td>۳</td>
<td>فیلتر هم‌جهتی تایم‌فریم بالاتر (۱۵دقیقه/۱ساعت)</td>
<td>آماری</td>
<td>کاهش معاملات ضد روند؛ بهبود نسبت برد در سشن‌های ضعیف</td>
<td style="color: var(--warning); font-weight: 700;">بالا</td>
</tr>
<tr>
<td>۴</td>
<td>آزمایش باندهای اصلاح جایگزین (مثلاً ۵۰–۶۱.۸٪ در برابر ۳۸.۲–۶۱.۸٪)</td>
<td>آماری</td>
<td>افزایش کیفیت ستاپ با حذف اصلاحات کم‌عمق</td>
<td style="color: var(--warning); font-weight: 700;">بالا</td>
</tr>
<tr>
<td>۵</td>
<td>فیلتر سشن (تمرکز بر لندن و هم‌پوشانی بر اساس داده)</td>
<td>آماری</td>
<td>حذف ستاپ‌های کم‌کیفیت سشن آسیا؛ افزایش تمرکز</td>
<td style="color: var(--warning); font-weight: 700;">بالا</td>
</tr>
<tr>
<td>۶</td>
<td>فیلتر نوسان ATR (فقط در رژیم نوسان نرمال ورود)</td>
<td>آماری</td>
<td>اجتناب از بازارهای خیلی آرام یا خیلی پرنوسان</td>
<td style="color: var(--warning); font-weight: 700;">بالا</td>
</tr>
<tr>
<td>۷</td>
<td>بهینه‌سازی خروج جزئی (مقایسه ۵۰٪ در TP2 + تریل، در برابر خروج کامل در TP2)</td>
<td>آماری</td>
<td>یافتن بهترین تعادل بین واقعی‌سازی سود و پتانسیل رانر</td>
<td style="color: var(--warning); font-weight: 700;">بالا</td>
</tr>
<tr>
<td>۸</td>
<td>تنظیم آستانه‌های کندل سیگنال (نسبت بدنه ۱.۲×، سایه ۳۰٪)</td>
<td>آماری</td>
<td>حذف کندل‌های مرزی و ابهامی از تعریف سیگنال</td>
<td style="color: var(--warning); font-weight: 700;">بالا</td>
</tr>
<tr>
<td>۹</td>
<td>Walk-forward و تست خارج نمونه (مثلاً بهینه‌سازی روی ۹ ماه، تست روی ۳ ماه)</td>
<td>اعتبارسنجی</td>
<td>قطعی شدن نتایج و جلوگیری از overfitting</td>
<td style="color: var(--danger); font-weight: 700;">حیاتی</td>
</tr>
<tr>
<td>۱۰</td>
<td>شبیه‌سازی مونت‌کارلو روی توزیع R معاملات</td>
<td>ریسک</td>
<td>سنجش احتمال دراودان و روزهای پرنفوذ باخت</td>
<td>میانه</td>
</tr>
<tr>
<td>۱۱</td>
<td>مقایسه با پایه (ورود تصادفی / خرید-و-نگهداری طلا)</td>
<td>اعتبارسنجی</td>
<td>اثبات ارزش افزوده استراتژی نسبت به ساده‌ترین گزینه</td>
<td>میانه</td>
</tr>
<tr>
<td>۱۲</td>
<td>خودکارسازی هشدار (Alert) برای فازهای ۱ تا ۷</td>
<td>اجرایی</td>
<td>حذف دخالت احساسی و خطای انسانی در پایش چارت</td>
<td style="color: var(--warning); font-weight: 700;">بالا</td>
</tr>
</tbody>
</table>
<div class="success-box">
<strong>✓ رویکرد بهینه‌سازی درست:</strong> هرگز چندین پارامتر را همزمان روی کل داده تنظیم نکنید (Overfitting). یک پارامتر را تغییر دهید، در داده داخل نمونه اندازه بگیرید، سپس در داده خارج نمونه تأیید کنید. اگر در داده خارج نمونه نتیجه بده داد، آن پارامتر بخشی از شکست بک‌تست است، نه بازار.
</div>
</div>
</div>
<div class="section">
<div class="section-header">
<div class="section-number">۹</div>
<div class="section-title">
<h3>چک‌لیست اجرایی روزانه و جمع‌بندی</h3>
<div class="subtitle">Daily Execution Checklist & Summary</div>
</div>
</div>
<div class="section-content">
<p>برای اجرای مکانیکال، روز معاملاتی به چهار مرحله ثابت تقسیم می‌شود. این چک‌لیست را تا زمانی که قوانین خودکار نشده، کاغذی در کنار چارت نگه دارید:</p>
<table class="styled-table">
<thead>
<tr>
<th style="width: 18%;">مرحله</th>
<th>اقدامات</th>
</tr>
</thead>
<tbody>
<tr>
<td><strong>قبل از بازار</strong></td>
<td>بررسی روند HTF (۱۵دقیقه/۱ساعت) — چک تقویم اقتصادی (۳۰ دقیقه قبل/بعد اخبار = ممنوع) — تعیین سطوح رند و ساختاری کلیدی — شمارش معاملات و باخت‌های امروز تا این لحظه</td>
</tr>
<tr>
<td><strong>حین معامله</strong></td>
<td>اجرای متوالی فازهای ۰ تا ۸ — در هر فاز فقط «پاس/رد» — ثبت فوری ورود، SL، تارگت‌ها و حجم در دفتر معاملات — بدون تغییر SL در جهت ضرر</td>
</tr>
<tr>
<td><strong>مدیریت پوزیشن</strong></td>
<td>در TP1: انتقال SL به ورود — در TP2: خروج ۵۰٪ و تریل ۱R — تایم‌استاپ ۲۴ کندل — بررسی پرنشدن گپ خستگی</td>
</tr>
<tr class="highlight-row">
<td><strong>پایان روز</strong></td>
<td>شمارش نهایی: تعداد معاملات (سقف ۳)، باخت‌ها (سقف ۲)، ضرر (سقف ۳٪) — ثبت R واقعی هر معامله و علت باخت/برد — <strong>در صورت رسیدن به هر سقف: توقف قطعی</strong></td>
</tr>
</tbody>
</table>
<div class="conclusion-box">
<h3>🎯 جمع‌بندی نهایی</h3>
<p>این بازنویسی، ایده سالم «لگ دوم» را به یک سیستم مکانیکال تبدیل می‌کند: ۹ فاز ورود قطعی، تعریف کمّی گپ خستگی و FVG، کندل سیگنال/تأیید با آستانه‌های عددی، حد ضرر ساختاری با بافر ATR، تارگت‌های مضارب R، و محدودیت‌های روزانه مشخص (حداکثر ۳ معامله، ۲ باخت مجاز، سقف ضرر ۳٪).</p>
<p>مهم‌ترین تغییر نسبت به مستند اصلی، حذف <strong>تفسیر شخصی</strong> از زنجیره تصمیم است: هر فاز یا «پاس» است یا «رد» — و ستاپی که در هر فاز رد شود، هرگز با «دلیل احساسی» منقضی نمی‌شود.</p>
<div class="highlight">
<strong>💎 یادآوری کلیدی:</strong><br>
نسخه مکانیکال، پایه‌ی اجرای بی‌احساس است نه تضمین سود. پیش از معامله با سرمایه واقعی، حتماً اقدامات اولویت‌دار بخش ۸ (R واقعی، لاگ ردشده‌ها، Walk-forward) را انجام دهید.
</div>
</div>
<div class="info-box">
<strong>📞 گام بعدی:</strong> در صورت تمایل، می‌توانم (۱) قالب دفتر معاملات مکانیکال (فایل اکسل با چک‌لیست‌های فازی و محاسبه خودکار R و سقف‌های روزانه) یا (۲) پسودوکد/اسکریپت خودکارسازی هشدار این ۹ فاز را تهیه کنم.
</div>
</div>
</div>
<div class="page-info">
این مستند محرمانه بوده و صرفاً جهت بازنویسی و بهینه‌سازی استراتژی ارائه‌شده تهیه شده است. معاملات در بازارهای مالی ریسک بالایی دارد و هیچ استراتژی‌ای تضمین سود نمی‌کند.
</div>
</div>
<footer class="document-footer">
<div class="footer-brand">طراحی و توسعه: هادی خزاعی اصل</div>
<div class="footer-divider"></div>
<div>تاریخ تهیه: ۲۰ مهر ۱۴۰۵ &nbsp;|&nbsp; نسخه: ۲.۰ (بازنویسی مکانیکال) &nbsp;|&nbsp; طبقه‌بندی: محرمانه</div>
</footer>
</div>
</body>
</html>