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
hello good evening All professional programmers! I'd like to request a special services I need a Gold and Silver trading bot like the one in the video, one that works on real accounts. My only request is that I don't pay any money until the bot is built and tested. Thank you very much please contact me as soon as possible for more information
Create MT5 robot strategy CRT
50+ USD
https://youtu.be/mUoczuxL0XE?si=2IzxX4jhML_-4f47  ; ...... “Secret London Session CRT Model - Insane Accuracy | ICT Secrets.” The model is called London Twilight and focuses on quick scalps near the end of London session. Source summary notes it uses CRT + Turtle Soup + PO3/AMD , mainly between 3:00 AM and 5:00 AM EST/New York time . ( Video Highlight | AI Video Summarizer ) Give your MQL5 coder these rules
I'm looking for a buy sell indicator that places signals at candle close doesn't repaint. Looking for strategy too as part of this project. Will want to see it before I create the contract. Please don't send me stuff you know isn't good. If done well will pay well and it can turn I to a long term collaboration
Scalping robot xauusd auto lot
80 - 100 USD
Hello, professional programmers! I'd like to request a special service. I need a trading bot like the one in the video, one that works on real accounts. My only request is that I don't pay any money until the bot is built and tested. Thank you very much
Automated trading system
30+ USD
Auto trading system on mobile with high probability win rate. Trades and auto trading system that works well on gold and forex, most important risk reward ratio. It must be 1:3 or more then that whenever possible
Buy Profitable EA, any kind of strategy is acceptable
1000 - 10000 USD
I want to buy proven profitable EA, any kind of strategy is considerable, working on any forex pairs or XAUUSD. I don't want to build from the scratch, so only apply if you already have profitable EA. Please send your EX4 file in advance with your application (MANDATORY), with additional information as below : - Pair and timeframe to use, minimum initial capital requirement, and so on - Type of EA (scalping, in day
### What I'm looking for / Qué busco I am not looking for someone to code an idea I have. I am looking for someone who **already has a profitable and consistent strategy on XAUUSD** and needs a partner to scale it. No busco a alguien que programe una idea mía. Busco a alguien que **ya tenga una estrategia rentable y consistente en XAUUSD** y necesite un socio para escalarla. --- ### The deal / El trato - I will
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
Project information
Budget
30+ USD