StevenGrant10 commited on
Commit
a95fb51
·
verified ·
1 Parent(s): 4ff3159

make the website cleanet and black and the text white - Initial Deployment

Browse files
Files changed (2) hide show
  1. README.md +6 -4
  2. index.html +689 -19
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Candlestick Pattern Guide
3
- emoji: 👀
4
- colorFrom: indigo
5
  colorTo: gray
6
  sdk: static
7
  pinned: false
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
  ---
2
+ title: candlestick-pattern-guide
3
+ emoji: 🐳
4
+ colorFrom: gray
5
  colorTo: gray
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite
10
  ---
11
 
12
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
index.html CHANGED
@@ -1,19 +1,689 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Candlestick Patterns Mastery</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
9
+ <style>
10
+ .candle {
11
+ width: 30px;
12
+ height: 60px;
13
+ position: relative;
14
+ margin: 0 auto;
15
+ }
16
+ .candle-body {
17
+ width: 100%;
18
+ position: absolute;
19
+ border-radius: 2px;
20
+ }
21
+ .candle-wick {
22
+ width: 2px;
23
+ height: 10px;
24
+ background-color: #333;
25
+ position: absolute;
26
+ left: 50%;
27
+ transform: translateX(-50%);
28
+ }
29
+ .pattern-card:hover {
30
+ transform: translateY(-5px);
31
+ box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
32
+ }
33
+ .chart-container {
34
+ height: 300px;
35
+ background-color: #1f2937;
36
+ border-radius: 0.5rem;
37
+ position: relative;
38
+ overflow: hidden;
39
+ }
40
+ .chart-line {
41
+ position: absolute;
42
+ background-color: #e2e8f0;
43
+ width: 100%;
44
+ height: 1px;
45
+ }
46
+ @keyframes fadeIn {
47
+ from { opacity: 0; transform: translateY(20px); }
48
+ to { opacity: 1; transform: translateY(0); }
49
+ }
50
+ .animate-fade-in {
51
+ animation: fadeIn 0.5s ease-out forwards;
52
+ }
53
+ </style>
54
+ </head>
55
+ <body class="bg-black font-sans text-white">
56
+ <!-- Navigation -->
57
+ <nav class="bg-gray-900 text-white shadow-lg">
58
+ <div class="container mx-auto px-4 py-3 flex justify-between items-center">
59
+ <div class="flex items-center space-x-2">
60
+ <i class="fas fa-chart-line text-2xl"></i>
61
+ <span class="text-xl font-bold">CandleMaster</span>
62
+ </div>
63
+ <div class="hidden md:flex space-x-6">
64
+ <a href="#basics" class="hover:text-indigo-200 transition">Basics</a>
65
+ <a href="#patterns" class="hover:text-indigo-200 transition">Patterns</a>
66
+ <a href="#quiz" class="hover:text-indigo-200 transition">Quiz</a>
67
+ <a href="#resources" class="hover:text-indigo-200 transition">Resources</a>
68
+ </div>
69
+ <button class="md:hidden text-xl">
70
+ <i class="fas fa-bars"></i>
71
+ </button>
72
+ </div>
73
+ </nav>
74
+
75
+ <!-- Hero Section -->
76
+ <header class="bg-gradient-to-r from-gray-800 to-gray-700 text-white py-20">
77
+ <div class="container mx-auto px-4 text-center">
78
+ <h1 class="text-4xl md:text-6xl font-bold mb-6 animate-fade-in">Master Candlestick Patterns</h1>
79
+ <p class="text-xl md:text-2xl mb-8 max-w-3xl mx-auto animate-fade-in" style="animation-delay: 0.2s;">
80
+ Unlock the secrets of price action with our comprehensive guide to candlestick patterns
81
+ </p>
82
+ <div class="flex flex-col sm:flex-row justify-center gap-4 animate-fade-in" style="animation-delay: 0.4s;">
83
+ <a href="#patterns" class="bg-white text-indigo-800 font-bold py-3 px-6 rounded-lg hover:bg-indigo-100 transition duration-300">
84
+ Explore Patterns
85
+ </a>
86
+ <a href="#quiz" class="bg-transparent border-2 border-white text-white font-bold py-3 px-6 rounded-lg hover:bg-white hover:text-indigo-800 transition duration-300">
87
+ Test Your Knowledge
88
+ </a>
89
+ </div>
90
+ </div>
91
+ </header>
92
+
93
+ <!-- Basics Section -->
94
+ <section id="basics" class="py-16 bg-gray-900">
95
+ <div class="container mx-auto px-4">
96
+ <h2 class="text-3xl font-bold text-center mb-12 text-white">Candlestick Basics</h2>
97
+
98
+ <div class="grid md:grid-cols-2 gap-12 items-center">
99
+ <div>
100
+ <h3 class="text-2xl font-semibold mb-4 text-indigo-700">What Are Candlesticks?</h3>
101
+ <p class="text-gray-600 mb-6">
102
+ Candlestick charts originated in Japan over 300 years ago for tracking rice prices. Each candlestick represents price movement during a specific time period, showing the open, high, low, and close prices.
103
+ </p>
104
+ <p class="text-gray-600 mb-6">
105
+ The rectangular "body" shows the range between the opening and closing prices. The "wicks" or "shadows" show the highest and lowest prices during that period.
106
+ </p>
107
+ <div class="flex items-center space-x-4 mb-6">
108
+ <div class="flex items-center">
109
+ <div class="candle mr-3">
110
+ <div class="candle-wick top-0"></div>
111
+ <div class="candle-body bg-green-500 h-full"></div>
112
+ <div class="candle-wick bottom-0"></div>
113
+ </div>
114
+ <span>Bullish (Price rose)</span>
115
+ </div>
116
+ <div class="flex items-center">
117
+ <div class="candle mr-3">
118
+ <div class="candle-wick top-0"></div>
119
+ <div class="candle-body bg-red-500 h-full"></div>
120
+ <div class="candle-wick bottom-0"></div>
121
+ </div>
122
+ <span>Bearish (Price fell)</span>
123
+ </div>
124
+ </div>
125
+ </div>
126
+ <div class="chart-container p-4">
127
+ <div class="chart-line" style="top: 25%"></div>
128
+ <div class="chart-line" style="top: 50%"></div>
129
+ <div class="chart-line" style="top: 75%"></div>
130
+
131
+ <div class="flex justify-around items-end h-full">
132
+ <!-- Sample candles -->
133
+ <div class="flex flex-col items-center">
134
+ <div class="candle">
135
+ <div class="candle-wick" style="height: 15px; top: -15px;"></div>
136
+ <div class="candle-body bg-red-500" style="height: 40px;"></div>
137
+ <div class="candle-wick" style="height: 10px; bottom: -10px;"></div>
138
+ </div>
139
+ <span class="text-xs mt-2">Day 1</span>
140
+ </div>
141
+ <div class="flex flex-col items-center">
142
+ <div class="candle">
143
+ <div class="candle-wick" style="height: 5px; top: -5px;"></div>
144
+ <div class="candle-body bg-green-500" style="height: 60px;"></div>
145
+ <div class="candle-wick" style="height: 20px; bottom: -20px;"></div>
146
+ </div>
147
+ <span class="text-xs mt-2">Day 2</span>
148
+ </div>
149
+ <div class="flex flex-col items-center">
150
+ <div class="candle">
151
+ <div class="candle-wick" style="height: 25px; top: -25px;"></div>
152
+ <div class="candle-body bg-red-500" style="height: 30px;"></div>
153
+ <div class="candle-wick" style="height: 5px; bottom: -5px;"></div>
154
+ </div>
155
+ <span class="text-xs mt-2">Day 3</span>
156
+ </div>
157
+ <div class="flex flex-col items-center">
158
+ <div class="candle">
159
+ <div class="candle-wick" style="height: 10px; top: -10px;"></div>
160
+ <div class="candle-body bg-green-500" style="height: 70px;"></div>
161
+ <div class="candle-wick" style="height: 15px; bottom: -15px;"></div>
162
+ </div>
163
+ <span class="text-xs mt-2">Day 4</span>
164
+ </div>
165
+ </div>
166
+ </div>
167
+ </div>
168
+ </div>
169
+ </section>
170
+
171
+ <!-- Patterns Section -->
172
+ <section id="patterns" class="py-16 bg-gray-900">
173
+ <div class="container mx-auto px-4">
174
+ <h2 class="text-3xl font-bold text-center mb-12 text-white">Common Candlestick Patterns</h2>
175
+
176
+ <div class="grid md:grid-cols-2 lg:grid-cols-3 gap-8">
177
+ <!-- Pattern Card 1 -->
178
+ <div class="pattern-card bg-gray-800 rounded-lg overflow-hidden shadow-md transition duration-300">
179
+ <div class="p-6">
180
+ <h3 class="text-xl font-bold mb-2 text-indigo-700">Hammer</h3>
181
+ <div class="flex justify-center my-4">
182
+ <div class="candle">
183
+ <div class="candle-wick" style="height: 30px; top: -30px;"></div>
184
+ <div class="candle-body bg-green-500" style="height: 15px;"></div>
185
+ </div>
186
+ </div>
187
+ <p class="text-gray-600 mb-4">
188
+ A bullish reversal pattern that forms after a decline. It has a small body near the top and a long lower wick.
189
+ </p>
190
+ <div class="flex items-center text-sm text-gray-500">
191
+ <i class="fas fa-lightbulb mr-2 text-yellow-500"></i>
192
+ <span>Signals potential trend reversal upward</span>
193
+ </div>
194
+ </div>
195
+ </div>
196
+
197
+ <!-- Pattern Card 2 -->
198
+ <div class="pattern-card bg-white rounded-lg overflow-hidden shadow-md transition duration-300">
199
+ <div class="p-6">
200
+ <h3 class="text-xl font-bold mb-2 text-indigo-700">Hanging Man</h3>
201
+ <div class="flex justify-center my-4">
202
+ <div class="candle">
203
+ <div class="candle-wick" style="height: 30px; top: -30px;"></div>
204
+ <div class="candle-body bg-red-500" style="height: 15px;"></div>
205
+ </div>
206
+ </div>
207
+ <p class="text-gray-600 mb-4">
208
+ A bearish reversal pattern that forms after an advance. Similar to a hammer but appears in an uptrend.
209
+ </p>
210
+ <div class="flex items-center text-sm text-gray-500">
211
+ <i class="fas fa-lightbulb mr-2 text-yellow-500"></i>
212
+ <span>Signals potential trend reversal downward</span>
213
+ </div>
214
+ </div>
215
+ </div>
216
+
217
+ <!-- Pattern Card 3 -->
218
+ <div class="pattern-card bg-white rounded-lg overflow-hidden shadow-md transition duration-300">
219
+ <div class="p-6">
220
+ <h3 class="text-xl font-bold mb-2 text-indigo-700">Engulfing</h3>
221
+ <div class="flex justify-center my-4 space-x-2">
222
+ <div class="candle">
223
+ <div class="candle-wick" style="height: 10px; top: -10px;"></div>
224
+ <div class="candle-body bg-red-500" style="height: 30px;"></div>
225
+ <div class="candle-wick" style="height: 5px; bottom: -5px;"></div>
226
+ </div>
227
+ <div class="candle">
228
+ <div class="candle-wick" style="height: 5px; top: -5px;"></div>
229
+ <div class="candle-body bg-green-500" style="height: 50px;"></div>
230
+ <div class="candle-wick" style="height: 10px; bottom: -10px;"></div>
231
+ </div>
232
+ </div>
233
+ <p class="text-gray-600 mb-4">
234
+ A two-candle pattern where the second candle completely engulfs the body of the first.
235
+ </p>
236
+ <div class="flex items-center text-sm text-gray-500">
237
+ <i class="fas fa-lightbulb mr-2 text-yellow-500"></i>
238
+ <span>Bullish when after downtrend, bearish after uptrend</span>
239
+ </div>
240
+ </div>
241
+ </div>
242
+
243
+ <!-- Pattern Card 4 -->
244
+ <div class="pattern-card bg-white rounded-lg overflow-hidden shadow-md transition duration-300">
245
+ <div class="p-6">
246
+ <h3 class="text-xl font-bold mb-2 text-indigo-700">Doji</h3>
247
+ <div class="flex justify-center my-4">
248
+ <div class="candle">
249
+ <div class="candle-wick" style="height: 20px; top: -20px;"></div>
250
+ <div class="candle-body bg-gray-400" style="height: 2px;"></div>
251
+ <div class="candle-wick" style="height: 20px; bottom: -20px;"></div>
252
+ </div>
253
+ </div>
254
+ <p class="text-gray-600 mb-4">
255
+ Occurs when opening and closing prices are virtually equal, showing market indecision.
256
+ </p>
257
+ <div class="flex items-center text-sm text-gray-500">
258
+ <i class="fas fa-lightbulb mr-2 text-yellow-500"></i>
259
+ <span>Often signals potential reversal when after strong trend</span>
260
+ </div>
261
+ </div>
262
+ </div>
263
+
264
+ <!-- Pattern Card 5 -->
265
+ <div class="pattern-card bg-white rounded-lg overflow-hidden shadow-md transition duration-300">
266
+ <div class="p-6">
267
+ <h3 class="text-xl font-bold mb-2 text-indigo-700">Morning Star</h3>
268
+ <div class="flex justify-center my-4 space-x-1">
269
+ <div class="candle">
270
+ <div class="candle-wick" style="height: 10px; top: -10px;"></div>
271
+ <div class="candle-body bg-red-500" style="height: 40px;"></div>
272
+ <div class="candle-wick" style="height: 5px; bottom: -5px;"></div>
273
+ </div>
274
+ <div class="candle">
275
+ <div class="candle-wick" style="height: 5px; top: -5px;"></div>
276
+ <div class="candle-body bg-gray-400" style="height: 10px;"></div>
277
+ <div class="candle-wick" style="height: 5px; bottom: -5px;"></div>
278
+ </div>
279
+ <div class="candle">
280
+ <div class="candle-wick" style="height: 5px; top: -5px;"></div>
281
+ <div class="candle-body bg-green-500" style="height: 35px;"></div>
282
+ <div class="candle-wick" style="height: 10px; bottom: -10px;"></div>
283
+ </div>
284
+ </div>
285
+ <p class="text-gray-600 mb-4">
286
+ A three-candle bullish reversal pattern that appears after a downtrend.
287
+ </p>
288
+ <div class="flex items-center text-sm text-gray-500">
289
+ <i class="fas fa-lightbulb mr-2 text-yellow-500"></i>
290
+ <span>Strong signal of potential upward reversal</span>
291
+ </div>
292
+ </div>
293
+ </div>
294
+
295
+ <!-- Pattern Card 6 -->
296
+ <div class="pattern-card bg-white rounded-lg overflow-hidden shadow-md transition duration-300">
297
+ <div class="p-6">
298
+ <h3 class="text-xl font-bold mb-2 text-indigo-700">Shooting Star</h3>
299
+ <div class="flex justify-center my-4">
300
+ <div class="candle">
301
+ <div class="candle-wick" style="height: 30px; top: -30px;"></div>
302
+ <div class="candle-body bg-red-500" style="height: 10px;"></div>
303
+ <div class="candle-wick" style="height: 5px; bottom: -5px;"></div>
304
+ </div>
305
+ </div>
306
+ <p class="text-gray-600 mb-4">
307
+ A bearish reversal pattern with a small lower body and long upper wick, appearing after an uptrend.
308
+ </p>
309
+ <div class="flex items-center text-sm text-gray-500">
310
+ <i class="fas fa-lightbulb mr-2 text-yellow-500"></i>
311
+ <span>Indicates potential trend reversal downward</span>
312
+ </div>
313
+ </div>
314
+ </div>
315
+ </div>
316
+ </div>
317
+ </section>
318
+
319
+ <!-- Quiz Section -->
320
+ <section id="quiz" class="py-16 bg-gray-800 text-white">
321
+ <div class="container mx-auto px-4">
322
+ <h2 class="text-3xl font-bold text-center mb-12">Test Your Knowledge</h2>
323
+
324
+ <div class="max-w-3xl mx-auto bg-gray-800 rounded-lg shadow-xl overflow-hidden">
325
+ <div class="p-8 text-white">
326
+ <div id="quiz-container">
327
+ <div id="question-container" class="mb-8">
328
+ <h3 class="text-xl font-semibold mb-4 text-indigo-700" id="question">What does a hammer candlestick pattern typically indicate?</h3>
329
+ <div class="space-y-3" id="options">
330
+ <label class="flex items-center space-x-3 p-3 border border-gray-700 rounded-lg hover:bg-gray-700 cursor-pointer">
331
+ <input type="radio" name="answer" value="0" class="h-4 w-4 text-indigo-600">
332
+ <span>A continuation of the current downtrend</span>
333
+ </label>
334
+ <label class="flex items-center space-x-3 p-3 border border-gray-200 rounded-lg hover:bg-gray-50 cursor-pointer">
335
+ <input type="radio" name="answer" value="1" class="h-4 w-4 text-indigo-600">
336
+ <span>A potential bullish reversal after a downtrend</span>
337
+ </label>
338
+ <label class="flex items-center space-x-3 p-3 border border-gray-200 rounded-lg hover:bg-gray-50 cursor-pointer">
339
+ <input type="radio" name="answer" value="2" class="h-4 w-4 text-indigo-600">
340
+ <span>Market indecision with no clear direction</span>
341
+ </label>
342
+ <label class="flex items-center space-x-3 p-3 border border-gray-200 rounded-lg hover:bg-gray-50 cursor-pointer">
343
+ <input type="radio" name="answer" value="3" class="h-4 w-4 text-indigo-600">
344
+ <span>A strong bearish signal in an uptrend</span>
345
+ </label>
346
+ </div>
347
+ </div>
348
+ <div id="result" class="hidden p-4 mb-6 rounded-lg bg-indigo-100 text-indigo-800">
349
+ <p id="result-text"></p>
350
+ </div>
351
+ <div class="flex justify-between">
352
+ <button id="prev-btn" class="px-4 py-2 bg-gray-200 text-gray-700 rounded-lg hover:bg-gray-300 transition disabled:opacity-50" disabled>
353
+ Previous
354
+ </button>
355
+ <button id="next-btn" class="px-4 py-2 bg-indigo-600 text-white rounded-lg hover:bg-indigo-700 transition">
356
+ Next
357
+ </button>
358
+ <button id="submit-btn" class="hidden px-4 py-2 bg-green-600 text-white rounded-lg hover:bg-green-700 transition">
359
+ Submit Quiz
360
+ </button>
361
+ </div>
362
+ </div>
363
+ <div id="quiz-complete" class="hidden text-center py-8">
364
+ <i class="fas fa-trophy text-5xl text-yellow-500 mb-4"></i>
365
+ <h3 class="text-2xl font-bold mb-2 text-indigo-700">Quiz Complete!</h3>
366
+ <p class="text-lg mb-6">Your score: <span id="score" class="font-bold">0</span>/<span id="total-questions">0</span></p>
367
+ <button id="restart-quiz" class="px-6 py-2 bg-indigo-600 text-white rounded-lg hover:bg-indigo-700 transition">
368
+ Try Again
369
+ </button>
370
+ </div>
371
+ </div>
372
+ </div>
373
+ </div>
374
+ </section>
375
+
376
+ <!-- Resources Section -->
377
+ <section id="resources" class="py-16 bg-gray-900">
378
+ <div class="container mx-auto px-4">
379
+ <h2 class="text-3xl font-bold text-center mb-12 text-white">Learning Resources</h2>
380
+
381
+ <div class="grid md:grid-cols-3 gap-8">
382
+ <div class="bg-gray-800 p-6 rounded-lg border border-gray-700">
383
+ <div class="text-indigo-600 text-4xl mb-4">
384
+ <i class="fas fa-book"></i>
385
+ </div>
386
+ <h3 class="text-xl font-semibold mb-3">Recommended Books</h3>
387
+ <ul class="space-y-2 text-gray-600">
388
+ <li class="flex items-start">
389
+ <i class="fas fa-chevron-right text-indigo-500 mt-1 mr-2 text-xs"></i>
390
+ <span>"Japanese Candlestick Charting Techniques" by Steve Nison</span>
391
+ </li>
392
+ <li class="flex items-start">
393
+ <i class="fas fa-chevron-right text-indigo-500 mt-1 mr-2 text-xs"></i>
394
+ <span>"Encyclopedia of Candlestick Charts" by Thomas Bulkowski</span>
395
+ </li>
396
+ <li class="flex items-start">
397
+ <i class="fas fa-chevron-right text-indigo-500 mt-1 mr-2 text-xs"></i>
398
+ <span>"Candlestick Charting Explained" by Gregory Morris</span>
399
+ </li>
400
+ </ul>
401
+ </div>
402
+
403
+ <div class="bg-gray-50 p-6 rounded-lg border border-gray-200">
404
+ <div class="text-indigo-600 text-4xl mb-4">
405
+ <i class="fas fa-video"></i>
406
+ </div>
407
+ <h3 class="text-xl font-semibold mb-3">Video Courses</h3>
408
+ <ul class="space-y-2 text-gray-600">
409
+ <li class="flex items-start">
410
+ <i class="fas fa-chevron-right text-indigo-500 mt-1 mr-2 text-xs"></i>
411
+ <span>"Mastering Candlestick Patterns" on Udemy</span>
412
+ </li>
413
+ <li class="flex items-start">
414
+ <i class="fas fa-chevron-right text-indigo-500 mt-1 mr-2 text-xs"></i>
415
+ <span>"Technical Analysis Masterclass" on Coursera</span>
416
+ </li>
417
+ <li class="flex items-start">
418
+ <i class="fas fa-chevron-right text-indigo-500 mt-1 mr-2 text-xs"></i>
419
+ <span>"Price Action Trading Strategies" on YouTube</span>
420
+ </li>
421
+ </ul>
422
+ </div>
423
+
424
+ <div class="bg-gray-50 p-6 rounded-lg border border-gray-200">
425
+ <div class="text-indigo-600 text-4xl mb-4">
426
+ <i class="fas fa-tools"></i>
427
+ </div>
428
+ <h3 class="text-xl font-semibold mb-3">Practice Tools</h3>
429
+ <ul class="space-y-2 text-gray-600">
430
+ <li class="flex items-start">
431
+ <i class="fas fa-chevron-right text-indigo-500 mt-1 mr-2 text-xs"></i>
432
+ <span>TradingView charting platform</span>
433
+ </li>
434
+ <li class="flex items-start">
435
+ <i class="fas fa-chevron-right text-indigo-500 mt-1 mr-2 text-xs"></i>
436
+ <span>MetaTrader 4/5 with demo account</span>
437
+ </li>
438
+ <li class="flex items-start">
439
+ <i class="fas fa-chevron-right text-indigo-500 mt-1 mr-2 text-xs"></i>
440
+ <span>Investopedia's stock simulator</span>
441
+ </li>
442
+ </ul>
443
+ </div>
444
+ </div>
445
+ </div>
446
+ </section>
447
+
448
+ <!-- Footer -->
449
+ <footer class="bg-black text-white py-12">
450
+ <div class="container mx-auto px-4">
451
+ <div class="grid md:grid-cols-4 gap-8">
452
+ <div>
453
+ <h3 class="text-xl font-bold mb-4">CandleMaster</h3>
454
+ <p class="text-gray-400">
455
+ Your comprehensive guide to mastering candlestick patterns and technical analysis.
456
+ </p>
457
+ </div>
458
+ <div>
459
+ <h4 class="font-semibold mb-4">Quick Links</h4>
460
+ <ul class="space-y-2 text-gray-400">
461
+ <li><a href="#basics" class="hover:text-white transition">Basics</a></li>
462
+ <li><a href="#patterns" class="hover:text-white transition">Patterns</a></li>
463
+ <li><a href="#quiz" class="hover:text-white transition">Quiz</a></li>
464
+ <li><a href="#resources" class="hover:text-white transition">Resources</a></li>
465
+ </ul>
466
+ </div>
467
+ <div>
468
+ <h4 class="font-semibold mb-4">Contact</h4>
469
+ <ul class="space-y-2 text-gray-400">
470
+ <li class="flex items-center">
471
+ <i class="fas fa-envelope mr-2"></i>
472
+ <span>contact@candlemaster.com</span>
473
+ </li>
474
+ <li class="flex items-center">
475
+ <i class="fas fa-phone mr-2"></i>
476
+ <span>+1 (555) 123-4567</span>
477
+ </li>
478
+ </ul>
479
+ </div>
480
+ <div>
481
+ <h4 class="font-semibold mb-4">Follow Us</h4>
482
+ <div class="flex space-x-4">
483
+ <a href="#" class="text-gray-400 hover:text-white transition text-xl">
484
+ <i class="fab fa-twitter"></i>
485
+ </a>
486
+ <a href="#" class="text-gray-400 hover:text-white transition text-xl">
487
+ <i class="fab fa-facebook"></i>
488
+ </a>
489
+ <a href="#" class="text-gray-400 hover:text-white transition text-xl">
490
+ <i class="fab fa-instagram"></i>
491
+ </a>
492
+ <a href="#" class="text-gray-400 hover:text-white transition text-xl">
493
+ <i class="fab fa-linkedin"></i>
494
+ </a>
495
+ </div>
496
+ </div>
497
+ </div>
498
+ <div class="border-t border-gray-800 mt-8 pt-8 text-center text-gray-400">
499
+ <p>&copy; 2023 CandleMaster. All rights reserved.</p>
500
+ </div>
501
+ </div>
502
+ </footer>
503
+
504
+ <script>
505
+ // Quiz functionality
506
+ const quizData = [
507
+ {
508
+ question: "What does a hammer candlestick pattern typically indicate?",
509
+ options: [
510
+ "A continuation of the current downtrend",
511
+ "A potential bullish reversal after a downtrend",
512
+ "Market indecision with no clear direction",
513
+ "A strong bearish signal in an uptrend"
514
+ ],
515
+ answer: 1,
516
+ explanation: "The hammer is a bullish reversal pattern that forms after a price decline. It signals that the market is rejecting lower prices."
517
+ },
518
+ {
519
+ question: "Which of these is a bearish reversal pattern?",
520
+ options: [
521
+ "Hammer",
522
+ "Morning Star",
523
+ "Shooting Star",
524
+ "Bullish Engulfing"
525
+ ],
526
+ answer: 2,
527
+ explanation: "The shooting star is a bearish reversal pattern with a small lower body and long upper wick, appearing after an uptrend."
528
+ },
529
+ {
530
+ question: "What does a doji candlestick represent?",
531
+ options: [
532
+ "Strong bullish momentum",
533
+ "Strong bearish momentum",
534
+ "Market indecision",
535
+ "Continuation of the current trend"
536
+ ],
537
+ answer: 2,
538
+ explanation: "A doji occurs when opening and closing prices are virtually equal, showing that buyers and sellers are in equilibrium and the market is indecisive."
539
+ },
540
+ {
541
+ question: "Which pattern consists of three candles and signals a bullish reversal?",
542
+ options: [
543
+ "Hanging Man",
544
+ "Evening Star",
545
+ "Morning Star",
546
+ "Shooting Star"
547
+ ],
548
+ answer: 2,
549
+ explanation: "The morning star is a three-candle bullish reversal pattern that appears after a downtrend, consisting of a long red candle, a small-bodied candle, and a long green candle."
550
+ },
551
+ {
552
+ question: "What is the key characteristic of an engulfing pattern?",
553
+ options: [
554
+ "Small body with long wicks on both sides",
555
+ "The second candle completely engulfs the body of the first",
556
+ "Three consecutive candles moving in the same direction",
557
+ "A candle with no wicks at all"
558
+ ],
559
+ answer: 1,
560
+ explanation: "An engulfing pattern is a two-candle reversal pattern where the body of the second candle completely covers (engulfs) the body of the first candle."
561
+ }
562
+ ];
563
+
564
+ const questionEl = document.getElementById('question');
565
+ const optionsEl = document.getElementById('options');
566
+ const resultEl = document.getElementById('result');
567
+ const resultTextEl = document.getElementById('result-text');
568
+ const prevBtn = document.getElementById('prev-btn');
569
+ const nextBtn = document.getElementById('next-btn');
570
+ const submitBtn = document.getElementById('submit-btn');
571
+ const quizContainer = document.getElementById('quiz-container');
572
+ const quizComplete = document.getElementById('quiz-complete');
573
+ const scoreEl = document.getElementById('score');
574
+ const totalQuestionsEl = document.getElementById('total-questions');
575
+ const restartQuizBtn = document.getElementById('restart-quiz');
576
+
577
+ let currentQuestion = 0;
578
+ let score = 0;
579
+ let selectedAnswers = Array(quizData.length).fill(null);
580
+
581
+ function loadQuestion(questionIndex) {
582
+ const question = quizData[questionIndex];
583
+ questionEl.textContent = question.question;
584
+
585
+ optionsEl.innerHTML = '';
586
+ question.options.forEach((option, index) => {
587
+ const optionElement = document.createElement('label');
588
+ optionElement.className = 'flex items-center space-x-3 p-3 border border-gray-200 rounded-lg hover:bg-gray-50 cursor-pointer';
589
+
590
+ const radio = document.createElement('input');
591
+ radio.type = 'radio';
592
+ radio.name = 'answer';
593
+ radio.value = index;
594
+ radio.className = 'h-4 w-4 text-indigo-600';
595
+ if (selectedAnswers[questionIndex] === index) {
596
+ radio.checked = true;
597
+ }
598
+
599
+ optionElement.appendChild(radio);
600
+ optionElement.appendChild(document.createTextNode(option));
601
+ optionsEl.appendChild(optionElement);
602
+ });
603
+
604
+ prevBtn.disabled = questionIndex === 0;
605
+ nextBtn.style.display = questionIndex === quizData.length - 1 ? 'none' : 'block';
606
+ submitBtn.style.display = questionIndex === quizData.length - 1 ? 'block' : 'none';
607
+
608
+ resultEl.classList.add('hidden');
609
+ }
610
+
611
+ function showResult(isCorrect, explanation) {
612
+ resultEl.classList.remove('hidden');
613
+ if (isCorrect) {
614
+ resultEl.className = 'p-4 mb-6 rounded-lg bg-green-100 text-green-800';
615
+ resultTextEl.textContent = 'Correct! ' + explanation;
616
+ } else {
617
+ resultEl.className = 'p-4 mb-6 rounded-lg bg-red-100 text-red-800';
618
+ resultTextEl.textContent = 'Incorrect. ' + explanation;
619
+ }
620
+ }
621
+
622
+ function showQuizComplete() {
623
+ quizContainer.style.display = 'none';
624
+ quizComplete.style.display = 'block';
625
+ scoreEl.textContent = score;
626
+ totalQuestionsEl.textContent = quizData.length;
627
+ }
628
+
629
+ function restartQuiz() {
630
+ currentQuestion = 0;
631
+ score = 0;
632
+ selectedAnswers = Array(quizData.length).fill(null);
633
+ quizContainer.style.display = 'block';
634
+ quizComplete.style.display = 'none';
635
+ loadQuestion(0);
636
+ }
637
+
638
+ function checkAnswer() {
639
+ const selectedOption = document.querySelector('input[name="answer"]:checked');
640
+ if (!selectedOption) return false;
641
+
642
+ const answer = parseInt(selectedOption.value);
643
+ selectedAnswers[currentQuestion] = answer;
644
+
645
+ const isCorrect = answer === quizData[currentQuestion].answer;
646
+ if (isCorrect && selectedAnswers[currentQuestion] !== quizData[currentQuestion].answer) {
647
+ score++;
648
+ }
649
+
650
+ showResult(isCorrect, quizData[currentQuestion].explanation);
651
+ return isCorrect;
652
+ }
653
+
654
+ prevBtn.addEventListener('click', () => {
655
+ currentQuestion--;
656
+ loadQuestion(currentQuestion);
657
+ });
658
+
659
+ nextBtn.addEventListener('click', () => {
660
+ if (checkAnswer() || selectedAnswers[currentQuestion] !== null) {
661
+ currentQuestion++;
662
+ loadQuestion(currentQuestion);
663
+ } else {
664
+ alert('Please select an answer before proceeding.');
665
+ }
666
+ });
667
+
668
+ submitBtn.addEventListener('click', () => {
669
+ checkAnswer();
670
+ showQuizComplete();
671
+ });
672
+
673
+ restartQuizBtn.addEventListener('click', restartQuiz);
674
+
675
+ // Initialize quiz
676
+ loadQuestion(0);
677
+
678
+ // Smooth scrolling for anchor links
679
+ document.querySelectorAll('a[href^="#"]').forEach(anchor => {
680
+ anchor.addEventListener('click', function (e) {
681
+ e.preventDefault();
682
+ document.querySelector(this.getAttribute('href')).scrollIntoView({
683
+ behavior: 'smooth'
684
+ });
685
+ });
686
+ });
687
+ </script>
688
+ <p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=StevenGrant10/candlestick-pattern-guide" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
689
+ </html>