İş Gereklilikleri
// Setting the initial parameters
double capital = 1000;
double risk = 0.015; // 1.5% stop loss
double take_profit = 0.10;
double lot_size = 0.10;
int max_executions = 6;
// Calculating the Ichimoku indicator
int period1 = 9;
int period2 = 26;
int period3 = 52;
int period4 = 26;
double tenkan_sen[];
double kijun_sen[];
int init()
{
// Calculate the Ichimoku indicator
ArrayResize(tenkan_sen, Bars);
ArrayResize(kijun_sen, Bars);
for (int i = 0; i < Bars; i++)
{
double ichimoku[4];
iIchimoku(Symbol(), 0, period1, period2, period3, period4, PRICE_HIGH, ichimoku);
tenkan_sen[i] = ichimoku[0];
kijun_sen[i] = ichimoku[1];
}
return (0);
}
int start()
{
// Implementing the trading strategy
static int position = 0; // 0 represents no position, 1 represents long position
static int executions = 0; // Number of executions
double stop_loss, take_profit_price;
for (int i = 1; i < Bars; i++)
{
if (tenkan_sen[i - 1] > kijun_sen[i - 1] && tenkan_sen[i] < kijun_sen[i] && position == 0)
{
if (executions < max_executions)
{
position = 1;
executions++;
stop_loss = iClose(Symbol(), 0, i) * (1 - risk);
take_profit_price = iClose(Symbol(), 0, i) * (1 + take_profit);
capital -= lot_size * iClose(Symbol(), 0, i); // Entering the market
}
}
else if (tenkan_sen[i - 1] > kijun_sen[i - 1] && tenkan_sen[i] < kijun_sen[i] && position == 1)
{
position = 0;
executions--;
capital += lot_size * iClose(Symbol(), 0, i); // Exiting the market
}
else if (iClose(Symbol(), 0, i) < stop_loss && position == 1)
{
position = 0;
executions--;
capital += lot_size * stop_loss; // Exiting the market with stop loss
}
else if (iClose(Symbol(), 0, i) > take_profit_price && position == 1)
{
position = 0;
executions--;
capital += lot_size * take_profit_price; // Exiting the market with take profit
}
}
// Print the final capital
Print("Final Capital: $", capital);
return (0);
}
Yanıtlandı
1
Derecelendirme
Projeler
479
23%
Arabuluculuk
57
56%
/
25%
Süresi dolmuş
55
11%
Yüklendi
2
Derecelendirme
Projeler
4
50%
Arabuluculuk
4
0%
/
75%
Süresi dolmuş
0
Serbest
3
Derecelendirme
Projeler
118
17%
Arabuluculuk
44
23%
/
39%
Süresi dolmuş
20
17%
Serbest
4
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
5
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
6
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
Benzer siparişler
Dark Venus EA – Trend + Scalping Strategy (MQL5)
30 - 100 USD
I need a custom MT5 Expert Advisor named “Dark Venus”. Strategy details: - Timeframe: M5 / M15 - Market: Forex (all major pairs) - Strategy type: Trend + Scalping - Indicators: • EMA (Fast & Slow) • RSI filter • ATR for Stop Loss & Take Profit - Trades only during low-spread sessions (London & New York) Trade Rules: - Buy when fast EMA crosses above slow EMA + RSI confirmation - Sell when fast EMA crosses below
BMM VERSION 1 AI
30+ USD
//+------------------------------------------------------------------+ //| FXE Trader Smart AI EA (Deriv MT5 Forex) | //+------------------------------------------------------------------+ #property strict #include <Trade/Trade.mqh> CTrade trade; // ===== INPUTS ===== input double RiskPercent = 1.0; // % risk per trade input int FastEMA = 50; input int SlowEMA = 200; input int RSI_Period = 14; input int
Ninjatrader indicator
30+ USD
I have an issue with my ninja script and i would like you to help me straighten things I wanted to create an indicator and i have the source code already but i am getting compiling errors on my NinjaTrader And i tried fixing the error it still same I sent 3 images here for you to understand the errors and i would like to ask if you can help me fix it so i can go ahead and compile my source code. Thanks
Nijatrader indicator
30+ USD
Good day, I would like to build an automated trading system for Ninjatrader using 2 MACD, a Supertrend, and a moving average indicator. I want the option to adjust the indicator settings, the ability to trade at three different times, and the option to receive alerts. I want to get an idea of what that will cost me. It will enter trades on all blue take one contract out at a fixed point, move the stop to break even
I need an MQL5 indicator that identifies reversals without repainting or placing signals with an offset. The goal is to minimize lag and reduce whipsaw trades. Desired results are similar to the attached image. Requirements: - No repainting - No signal offset - Emphasis on reducing lag - MQL5 compatible - Clear, concise code If you have the expertise to create a reliable, high-performance indicator, let's discuss
I'm looking for a skilled trader/developer to share a proven scalping strategy on M1-M5 timeframes without using Martingale, Grid trading, or Hedge. Requirements: - Minimum trade duration: 2 minutes - Lot size: <20 - Proof of skill: Provide MT4/MT5 trade history report (PDF/HTML) - No High Frequency Trades - GMT+1 timezone, flexible hours - Price negotiable, performance-based compensation possible If you're a
Good day, I would like to build an automated trading system for Ninjatrader using 2 MACD, a Supertrend, and a moving average indicator. I want the option to adjust the indicator settings, the ability to trade at three different times, and the option to receive alerts. I want to get an idea of what that will cost me. It will enter trades on all blue take one contract out at a fixed point, move the stop to break even
I have an indicator i need automated i use it manually and it plots arrows. Can you automate it for my Ninjatrader8? Do you need to see file? Expert Ninjatrader Developer can Bid for this project
I want to create an SMC bot base on ICT and Market structure,the bot must be able to keep adding on more positions while started.The bot must have a perfect risk management
Hi, im not looking into developing a new EA. I am looking into purchasing an existing EA that can deliver such results like: mq5 source, 4‑year backtest (2022‑2025) report, equity curve, trade list, strategy description, and 1‑month demo access. Please without concrete prove of experience functioning existing EA working perfectly and as contained on my description, then we can't strike a deal. Thank you
Proje bilgisi
Bütçe
30+ USD
Son teslim tarihi
from 30 to 50 gün