Specification
Here's a trading bot code in Python using the Backtrader framework, specifically designed for the NAS100 index, executing trades only at 15:35 every day, and using the Smart Money Concept (SMC) strategy:
```
import backtrader as bt
import backtrader.feeds as btfeeds
class NAS100SMCBot(bt.Strategy):
def __init__(self):
self.data = btfeeds.PandasData(dataname=NAS100_data)
self.timer = bt.timer.Timer(period=bt.timer.SESSION_END, timer=bt.timer.SESSION_END_1535)
self.smc = bt.indicators.SMC(self.data.close)
def next(self):
if self.timer():
if self.smc.imbalance_ratio > 1.5:
self.buy()
elif self.smc.imbalance_ratio < 0.5:
self.sell()
cerebro = bt.Cerebro()
cerebro.addstrategy(NAS100SMCBot)
cerebro.adddata(NAS100_data) # assumes NAS100_data is a Pandas DataFrame
cerebro.run()
```
This code uses the Backtrader framework to create a trading bot that:
1. Uses the NAS100 index data (assuming it's stored in a Pandas DataFrame called `NAS100_data`)
2. Sets a timer to execute trade logic only at 15:35 every day (using the `bt.timer` module)
3. Uses the Smart Money Concept (SMC) indicator to calculate the imbalance ratio
4. Executes a buy order when the imbalance ratio is greater than 1.5 (indicating a potential trend reversal)
5. Executes a sell order when the imbalance ratio is less than 0.5 (indicating a potential trend continuation)
Responded
1
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Similar orders
I am looking for an experienced MQL5 developer to convert my existing trading strategy into a fully automated MetaTrader 5 Expert Advisor (EA). Requirements: Develop a robust and efficient MQL5 Expert Advisor based on my EMA trading strategy. I will provide the complete trading logic, including entry, exit, risk management, and trade management rules. The EA should execute trades automatically without manual
I am looking for an expert MQL5 developer to build a robust, professional Expert Advisor for Gold (XAUUSD). The EA must be Event-Driven (OnTick) with no 'Sleep' functions, ensuring instant execution. Core Logic: Grid Strategy: Start with 0.02 Buy/Sell. Lot size sequence: 0.02, 0.03, 0.05, 0.09, 0.14, 0.26, 0.44, 0.75, 1.28, 2.18 (Max 10 steps). Dynamic TP: Total basket TP must update instantly upon new order
MT5 XAUUSD Sell Grid EA with Pair Closing Logic
100 - 300 USD
I need a custom MT5 Expert Advisor for XAUUSD (Gold). Trade Mode: - Sell Only. Entry Logic: - Open first Sell with 0.01 lot. - Every 3.00 price movement against the position (example 4000 -> 4003 -> 4006 -> 4009), open a new Sell. - Lot sequence must increase linearly: 0.01, 0.02, 0.03, 0.04, 0.05, 0.06... No Martingale. Closing Logic: - Do NOT close the whole basket. - Close only one profitable trade together with
Freelance Graphic Designer Wanted
30 - 80 USD
We're seeking a talented Graphic Designer for upcoming remote projects. Responsibilities include: - Logo design - Social media graphics - Flyers and brochures - Business card design - Marketing materials Applicants should provide a portfolio showcasing their previous work
We are hiring skilled translators to work on various translation projects. We're looking for professionals who are: - Detail-oriented - Reliable - Experienced in document translation - Able to meet deadlines If you're interested, send your proposal, language pair(s), and previous work for review
Freelance Translators Required
1500 - 2500 USD
We're expanding our network of remote translators for upcoming projects involving business, technical, and general documents. Requirements: - Native or near-native proficiency in the target language - Excellent communication skills - Commitment to quality and deadlines Apply by submitting your proposal, language pair(s), and relevant experience
┌─────────────┐ │ SMC ROBOT │ │ v2.0 │ └─────────────┘ [ANTENNA] │ ╔════════╧════════╗ ║ HEAD UNIT ║ ║ ┌───────────┐ ║ ║ │ ◉ ◉ │ ║ ← Optical Sensors ║ └───────────┘ ║ ╚════════╤════════╝ │ ╔════════╧════════╗ ║ TORSO ║ ║ ┌───────────┐ ║ ║ │ SMC CORE │ ║ ← Processing Unit ║ │ ARM V9 │ ║ ║ └───────────┘ ║ ║ [||||||||||] ║ ← Power Indicator ╚═══╤═══════╤════╝ │ │ ┌───┘ └───┐
I already have the source code of an MT5 Expert Advisor. The EA is about 70% complete. I need someone to modify and complete it. Requirements: • Manage EURUSD only. • Manage manual trades only (Magic Number = 0). • Support unlimited manual positions simultaneously. • Automatically add a 10-pip Stop Loss if a position has no Stop Loss. • Automatically add a 10-pip Take Profit if a position has no Take Profit. • Do not
I am looking for an expert MQL5 developer to build a robust, professional Expert Advisor for Gold (XAUUSD). The EA must be Event-Driven (OnTick) with no 'Sleep' functions, ensuring instant execution. Core Logic: Grid Strategy: Start with 0.02 Buy/Sell. Lot size sequence: 0.02, 0.03, 0.05, 0.09, 0.14, 0.26, 0.44, 0.75, 1.28, 2.18 (Max 10 steps). Dynamic TP: Total basket TP must update instantly upon new order
I am currently using the attached Arbitrage MACD indicator. However, there are no signal alerts associated with this indicator. I would like to receive notifications on my android device the bar after a blue long arrow appears and the bar after a red short arrow appears. This is the current code: //+------------+-----------------------------------------------------+ //| v.22.04.07 | ArrZZx2.mq4 |
Project information
Budget
30+ USD