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 want a prop-firm compatible MT5 trading robot, not a fast or aggressive one, for passing Prop firm challenges of any account sizes and also capable of earning profit on funded account after passing the challenge. Objectives: – Pass a prop firm challenge safely within 2–4 weeks, not 1 week. – Focus on capital protection first, profit second. Risk & Money Management: – Risk per trade: 0.25%–0.5% max – No martingale
5 minute Buy Stop and Sell Stop order EA
30 - 200 USD
أبحث عن خبير تداول آلي (EA) أرفقتُ فيديو له. يقوم هذا الخبير بوضع أوامر شراء معلقة وبيع معلقة على بُعد 250 نقطة أعلى وأسفل السعر الحالي كل دقيقة، مع تحديد مستوى وقف الخسارة (SL) عند 300 نقطة ومستوى جني الربح (TP) عند 500 نقطة. إذا تم تفعيل أيٍّ من هذين الأمرين خلال الدقيقة، يتم إلغاء الآخر. لا يقوم الخبير بوضع أي أوامر معلقة حتى يتم الوصول إلى مستوى وقف الخسارة أو جني الربح، ثم يضع مجموعة جديدة من الأوامر المعلقة في
Custom Trade Panel Request
80+ USD
I’m looking for a developer to create a custom trade panel/tool that allows me to execute and manage multiple trades simultaneously with dynamic, risk-based position sizing . Core Concept (Must Be Followed Exactly) • I define a total risk percentage (example: 1% of account balance) • That total risk is split across all trades • Each trade has a different stop loss (in pips) • The system must automatically
MT5 Expert Advisor – Break of Structure Strategy
50 - 300 USD
I need MT5 Expert Advisor (EA) Strategy: - Break of Structure (body close) - Retest - Confirmation (engulfing/rejection) Rules: - Max 2 trades per day - Risk: $50 - TP: 1:2 RR - SL: structure No martingale, no grid XAUUSD M30
Bring in your expertise for specific symbol Prepare expert for Live chart Creating .set for specific symbol Live Chart Optimization , symbol specific Everything is coded already therefore needs Implementations
A simple EA for hedging/scalping MT4
30 - 150 USD
I need an MT4-compatible Expert Advisor coded in MQL4 that applies a pure scalping approach. The robot must open and close positions quickly on XAUUSD, taking advantage of very small intraday price movements, with configurable parameters for lot size, maximum spread, take-profit. With the activation of repeated hedging and the feature to close trades at a specific percentage of profit or loss With chart monitor
I need Russian developer for my multiple project
30 - 150 USD
I could have MetaTrader, NinjaTrader and TradingView project as well as some Automation and Apps development work. For them I require Russian developers. I have worked with many developers but from now I just would like to work with russians. Please apply on the project just Russian developers with mentioning their expertise Note: I do not understand Russian so communication need to do in English
Wisdom forex
30 - 200 USD
I need a bot that will trade to make profit without I losing money , selling when it's time for sell, buying when it's time for buying, manage our profile to gain a big asset
Ninjarader strategy
30+ USD
Due to price constraints, I am shifting what I would like. Would you be able to develop part of a strategy that automatically screens and selects stocks for trading? For example, screens for stocks up 20% with 500k volume for the day, and automatically begin trading them according to the strategy I already use. I use NinjaTrader to day trade my Interactive Brokers account and would like to add an automatic
Learing ninjatrader development
30+ USD
Hello i need some to teach me step my step in an idiot terms and I will be willing to learn more and I am ready to pay for it any amount please if anyone can put me though i will be happy thank look forward to anyone responses
Project information
Budget
30+ USD