Spécifications
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)
Répondu
1
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
Commandes similaires
I am looking for an experienced MT5 / MQL5 developer to fix an issue with my existing trading bot. The bot is currently working and I want to keep all features, logic, and the dashboard exactly as they are . No modifications to strategy, UI, or other functionalities are needed. The Problem: When I set Take Profit (TP) and Stop Loss (SL), approximately 25% of the trades are opened without TP and/or SL applied. This
Pro EA
30+ USD
Hi, I want to build a trading robot specifically for passing a prop firm challenge. The EA should focus on strict risk management, low drawdown, and consistency suitable for prop firm rules. My current budget for this project is $30. Please let me know what is achievable within this budget and the strategy you recommend
SMA & EMA INDICATOR FOR MT4
30 - 50 USD
Indicator Simple Moving Averages and Exponential Moving Average BUY SIGNALS SMA 7 High Crosses Above 20 EMA= LIME color Buy Signal at the low of next candle. SMA 7 High Crosses above 40 EMA= BLUE color Buy Signal at low of next candle. SMA 7 High Crossed above 200 EMA= YELLOW Color buy signal at the low of next candle. SELL SIGNALS SMA 7 Low Crosses below 20 Ema= LIME color Sell Signal at the high of next candle. SMA
TRADE COPIER
80+ USD
hello great developer im looking for trade copier I want to tell me more about the features, returns, risks and scalability I think you can tell me the best platform to use for effective results. I also want to know whether it's automated, daily/weekly/monthly returns (profit) and monthly drawdown
CREATE OR FIX FOR ME
30+ USD
WILL PROVIDE MORE DETAILS IN CHAT ... THE EA The EA executes (places trades)? The EA exits (closes trades)? The EA expired ? Or something else? Please provide more details: Which platform? ( MetaTrader 5 or MetaTrader 4 ) What exactly is happening? (error message, no trades, wrong trades, etc.) Broker name? Symbol (like XAUUSD, XAUUSD+, etc.) Send the exact message or screenshot text and I’ll fix it step-by-step
Fix rules of previous EA and add a new features
30 - 100 USD
I'm seeking an experienced developer to improve my current, complex MQL4 Expert Advisor. The primary focus of this project is to incorporate new trading strategies and rectify issues related to inaccurate trade execution. Key Responsibilities: - Integrate new trading strategies into the Expert Advisor. - Diagnose and fix issues causing inaccurate trade execution. - Potentially optimize the performance of the Expert
I trade manually on M1 chart (XAUUSD) with fractals and alligator. When there is a price break on fractal (or some fractals that form a price level) or a price level created by multiple candles spikes, I enter 2 trades (0.02 lots), and 2 trades (0.04 lots). If I go in profit (5/10€), I close in profit. But if I go in loss with DD, at this point starts the management: every price level (important level) created by
Phahla fx boto
30+ USD
99.99% signal accuracy 10-15 trades distribution all currency trade and meta AI assistance on loss[advice] stop and start robot cyber security firewall protection activation code: 20060605TLP20 Please create a trading bot with any logo with the name elevation
Refine signal trigger execution . Optimize live chart performance . Ensure stable and clean code structure : Stable and clean code is important . Otherwise its a mess . Apply with as much accurate structure you foresee
I am looking to purchase a fully developed and proven Expert Advisor (EA) for XAUUSD. This must be an existing EA with a minimum of 12 months verified live trading history on a real account. I am not interested in new development or demo-only systems. Requirements: • Verified live track record (Myfxbook, MQL5 signal, or broker statement) • Consistent profitability with controlled drawdown • Designed for XAUUSD •
Informations sur le projet
Budget
30+ USD