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
Automated trading system
30+ USD
Auto trading system with hi probability win rate. Trades and auto trading system works well on gold and forex most important risk reward ratio. It must be 1:3 or more then that
Hello, i would like to have a ninjatrader indicator. I wanna to have a footprint indicator with delta, imbalances and big trades identifiable. Also I wanna sell it on whop. And it should be fully customisable in NT8
Intraday Trade Ninja EA
33+ USD
Intraday Trade Ninja EA Indicators used: Price Border(TMA) MA-X Arrows xSuperTrend Candles EMA 49 & 89- Per Candle Color Switching Lemansignal 200 SMA Major Criteria to consider before a trade setup or condition is taken · The price must have touched/tested the upper or
Panda101
500+ USD
//+------------------------------------------------------------------+ //| Simple Moving Average Crossover EA | //+------------------------------------------------------------------+ #property strict input int ShortMA = 10; input int LongMA = 50; input double LotSize = 0.01; int shortMAHandle; int longMAHandle; //+------------------------------------------------------------------+ int OnInit() { shortMAHandle =
I need an experienced MQL5 developer to build a custom MT5 Expert Advisor for XAUUSD. Strategy Overview: Trend-following using EMA 50/200 on H4 and H1 Pullback entries on M5 using RSI + candle confirmation No martingale, no averaging down Controlled scaling only when trades are already in profit Maximum 2–3 positions per direction Risk Management: Daily loss limit (%) Equity hard stop (%) Consecutive loss pause
I need a ready-made professional trading EA similar to my current scalping bot, but improved for consistent profit and better risk control. Requirements: - Works on XAUUSD (M5 timeframe) - Fixed lot option (start with 0.01) - Opens only one trade at a time (no multiple positions) - Small, fast entries (scalping style) - Better risk-reward (SL must NOT be bigger than TP) - Breakeven function - Trailing stop to secure
Hello, I am looking for an experienced MQL5 developer capable of analyzing and rebuilding the logic of an existing Expert Advisor. I currently use an EA for automated trading on MT5, but I only have the compiled EX5 file and do not have access to the source code. The objective is to: analyze the EA behavior and strategy logic, recreate a clean and optimized version, and customize/improve certain features according to
hi , i need to create an EA with 123 level indicator , and zigzag and also to get based on right and left elevetor bars not cadles on mt4 please contact me to collaborate
RENKO EA FIX BUG PLEASE
30+ USD
I have Renko EA, but is a bug, please fix it, thank you in advance, have a nice day, thay you for your patience and attention, Programmers with previous experience in RENKO I prefer
Gold Edge Pro
30 - 150 USD
Create a fully working Expert Advisor (EA) for MetaTrader 5, designed exclusively for GOLD (XAUUSD only). This is a high‑probability trend‑following breakout strategy built specifically for passing 2‑step prop firm challenges — it delivers a ~60–65% win rate, uses a strict 1:3 risk/reward ratio, and is optimised to pass both phases in roughly 1–2 weeks total. --- ⚙️ USER INPUTS — FULLY FLEXIBLE RISK --- All main
Project information
Budget
30+ USD