Spaces:
Sleeping
Sleeping
Commit ยท
ad7b538
1
Parent(s): 264c9bf
Added World Index tab with S&P 500, Dow Jones, and NASDAQ
Browse files- forex_macd_dashboard.html +2 -0
- forex_macd_strategy.py +5 -0
forex_macd_dashboard.html
CHANGED
|
@@ -912,6 +912,7 @@
|
|
| 912 |
|
| 913 |
<div class="tabs-container" id="tabs">
|
| 914 |
<button class="tab-btn active" onclick="filterCategory('NSE Live')">๐ฎ๐ณ NSE Live</button>
|
|
|
|
| 915 |
<button class="tab-btn" onclick="filterCategory('ForexLive')">Forex Live Signal</button>
|
| 916 |
<button class="tab-btn" onclick="filterCategory('Indian Indices & Commodities')">๐ญ Commodities
|
| 917 |
Live</button>
|
|
@@ -1078,6 +1079,7 @@
|
|
| 1078 |
(category === 'History' && btnText === 'Signal History') ||
|
| 1079 |
(category === 'Crypto Scalping' && btnText.includes('Crypto Live')) ||
|
| 1080 |
(category === 'NSE Live' && btnText.includes('NSE Live')) ||
|
|
|
|
| 1081 |
(category === 'Indian Indices & Commodities' && btnText.includes('Commodities Live')) ||
|
| 1082 |
(category === 'Indian Stocks' && btnText === 'Indian Stocks') ||
|
| 1083 |
(category === 'Stock Scalping' && btnText.includes('Stock Scalping')) ||
|
|
|
|
| 912 |
|
| 913 |
<div class="tabs-container" id="tabs">
|
| 914 |
<button class="tab-btn active" onclick="filterCategory('NSE Live')">๐ฎ๐ณ NSE Live</button>
|
| 915 |
+
<button class="tab-btn" onclick="filterCategory('World Index')">๐ World Index</button>
|
| 916 |
<button class="tab-btn" onclick="filterCategory('ForexLive')">Forex Live Signal</button>
|
| 917 |
<button class="tab-btn" onclick="filterCategory('Indian Indices & Commodities')">๐ญ Commodities
|
| 918 |
Live</button>
|
|
|
|
| 1079 |
(category === 'History' && btnText === 'Signal History') ||
|
| 1080 |
(category === 'Crypto Scalping' && btnText.includes('Crypto Live')) ||
|
| 1081 |
(category === 'NSE Live' && btnText.includes('NSE Live')) ||
|
| 1082 |
+
(category === 'World Index' && btnText.includes('World Index')) ||
|
| 1083 |
(category === 'Indian Indices & Commodities' && btnText.includes('Commodities Live')) ||
|
| 1084 |
(category === 'Indian Stocks' && btnText === 'Indian Stocks') ||
|
| 1085 |
(category === 'Stock Scalping' && btnText.includes('Stock Scalping')) ||
|
forex_macd_strategy.py
CHANGED
|
@@ -110,6 +110,11 @@ CONFIG = {
|
|
| 110 |
{"name": "Platinum", "symbol": "PL=F", "pip_size": 0.1, "flag": "๐", "category": "Metals/Energy"},
|
| 111 |
{"name": "Palladium", "symbol": "PA=F", "pip_size": 0.1, "flag": "๐", "category": "Metals/Energy"},
|
| 112 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 113 |
{"name": "EUR/USD", "symbol": "EURUSD=X", "pip_size": 0.0001, "flag": "๐ช๐บ๐บ๐ธ", "category": "Forex"},
|
| 114 |
{"name": "USD/JPY", "symbol": "USDJPY=X", "pip_size": 0.01, "flag": "๐บ๐ธ๐ฏ๐ต", "category": "Forex"},
|
| 115 |
{"name": "AUD/USD", "symbol": "AUDUSD=X", "pip_size": 0.0001, "flag": "๐ฆ๐บ๐บ๐ธ", "category": "Forex"},
|
|
|
|
| 110 |
{"name": "Platinum", "symbol": "PL=F", "pip_size": 0.1, "flag": "๐", "category": "Metals/Energy"},
|
| 111 |
{"name": "Palladium", "symbol": "PA=F", "pip_size": 0.1, "flag": "๐", "category": "Metals/Energy"},
|
| 112 |
|
| 113 |
+
# World Indices
|
| 114 |
+
{"name": "S&P 500", "symbol": "^GSPC", "pip_size": 0.01, "flag": "๐บ๐ธ๐", "category": "World Index"},
|
| 115 |
+
{"name": "Dow Jones", "symbol": "^DJI", "pip_size": 0.01, "flag": "๐บ๐ธ๐", "category": "World Index"},
|
| 116 |
+
{"name": "NASDAQ", "symbol": "^IXIC", "pip_size": 0.01, "flag": "๐บ๐ธ๐ป", "category": "World Index"},
|
| 117 |
+
|
| 118 |
{"name": "EUR/USD", "symbol": "EURUSD=X", "pip_size": 0.0001, "flag": "๐ช๐บ๐บ๐ธ", "category": "Forex"},
|
| 119 |
{"name": "USD/JPY", "symbol": "USDJPY=X", "pip_size": 0.01, "flag": "๐บ๐ธ๐ฏ๐ต", "category": "Forex"},
|
| 120 |
{"name": "AUD/USD", "symbol": "AUDUSD=X", "pip_size": 0.0001, "flag": "๐ฆ๐บ๐บ๐ธ", "category": "Forex"},
|