Re-post: Supertrend Expert Advisor with alerts, loss count & martingale

Tarea técnica

I'm on a tight budget.

Supertrend EA Requirements

Main Features:

Martingale System:

The EA should increase the lot size after a loss.

The Martingale should reset back to the initial lot size only after a specified number of consecutive wins.

.........................

Historical Analysis on Initialization:

When the EA is placed on the chart, it should immediately check past signals based on TradeDirection, TakeProfit, and StopLoss.

It should calculate and display the current number of consecutive losses in a row.

This counter should update in real-time as new data arrives.

.........................

Loss Counter Display:

Show the current number of consecutive losses on the right side of the chart.

Reset the counter when a win occurs.

.........................

Loss Alerts:

If consecutive losses reach the LossAlertThreshold, display an alert on the chart.

.........................

Trade Management:

Close open trades when an opposite Supertrend signal appears.

.........................

Signal Alerts:

Option to display an alert when a new signal occurs.

This alert should be toggleable (can be turned on/off in settings).

.........................

Customization Options:

Custom trade comment.

Adjustable font size for the displayed consecutive losses.


// Supertrend Settings
input double Period = 10;                // ATR period for Supertrend  
input double Multiplier = 3.0;            // Multiplier for Supertrend  

// Trade Settings
input int TradeDirection = 0;             // Trade direction (0 = regular, 1 = inverse, 2 = buy only, 3 = sell only)  
input double LotSize = 0.1;               // Initial lot size  
input double TakeProfit = 100;            // Take profit in points  
input double StopLoss = 50;               // Stop loss in points  

// Martingale Settings
input double MartingaleMultiplier = 2.0;  // Martingale multiplier  
input int MartingaleReset = 3;            // Reset Martingale after specified consecutive wins  

// Alerts & Display
input int LossAlertThreshold = 3;         // Alert after specified consecutive losses  
input bool AlertOnNewSignal = true;       // Toggle alert on new signal  
input int FontSize = 12;                  // Font size for loss counter display  
input bool EnableEmailNotifications = false;    // Send email alerts  
input bool EnablePushNotifications = false;    // Send mobile push notifications 

// Other Settings
input string CustomComment = "Supertrend EA";  // Custom trade comment  
input int MagicNumber = 123456;                 // Magic number for trade identification  

Archivos adjuntos:

Han respondido

1
Desarrollador 1
Evaluación
(33)
Proyectos
35
20%
Arbitraje
5
40% / 40%
Caducado
0
Libre
Ha publicado: 1 ejemplo
2
Desarrollador 2
Evaluación
(12)
Proyectos
12
17%
Arbitraje
2
0% / 50%
Caducado
1
8%
Libre
3
Desarrollador 3
Evaluación
(13)
Proyectos
20
40%
Arbitraje
3
0% / 67%
Caducado
3
15%
Libre
4
Desarrollador 4
Evaluación
(18)
Proyectos
26
0%
Arbitraje
4
0% / 100%
Caducado
5
19%
Libre
5
Desarrollador 5
Evaluación
(54)
Proyectos
102
23%
Arbitraje
12
25% / 17%
Caducado
13
13%
Libre
6
Desarrollador 6
Evaluación
(469)
Proyectos
487
75%
Arbitraje
6
67% / 17%
Caducado
0
Libre
7
Desarrollador 7
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
8
Desarrollador 8
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
9
Desarrollador 9
Evaluación
(574)
Proyectos
945
47%
Arbitraje
309
58% / 27%
Caducado
125
13%
Libre
Solicitudes similares
Technical Specifications: "Dawn Range Breakout" Expert Advisor (Final Version) 1. Overview The purpose of this EA is to capture the breakout of a specific hourly range on Gold (XAUUSD) or any other pair, with a focus on high-precision entry, strict risk management (1 trade per day), and partial profit taking. 2. Core Trading Logic Timeframe: M15. Reference Hour: The EA must identify the High and Low of the H1 candle
I need an Expert Advisor based on SK indicator for gold trading. Entry: - Open trade immediately when SK signal appears Stop Loss: - Fixed stop loss = $200 per trade Take Profit: - TP1: close 50% of the position - TP2: final target Lot Size: - Fixed lot = 0.02 Pair: - XAUUSD only Timeframe: - M15 Rules: - Only one trade per signal - No duplicate trades - Move stop loss to breakeven after TP1 Requirements: - The EA
Manly 30 - 200 USD
ZigZag based on oscillators is needed The idea of ​​the indicator Create a ZigZag indicator, which is constructed based on extreme values determined using oscillators. It can use any classical normalized oscillator, which has overbought and oversold zones. The algorithm should first be executed with the WPR indicator, then similarly add the possibility to draw a zigzag using the following indicators: CCI Chaikin RSI
AI Trading Bot 30 - 80 USD
Essential Components for Indicator Specification Objective & Overview: Briefly describe what the indicator calculates (e.g., trend, momentum, volatility) and its main purpose. Input Parameters (Variables): List all user-definable inputs (e.g., Moving Average periods, ATR multiplier) to avoid hardcoding values. Detailed Logic/Calculation Rules: Explain the formula or logic to calculate indicator values. Define
The basic idea of CRO is to simulate coral colonies that develop and compete for space on a reef, ultimately forming an optimal structure. Each coral in the reef represents a potential solution to the optimization problem under consideration. The reef is modeled as a two-dimensional N×M grid. Each grid cell can either be occupied by a coral or left empty. A coral is a coded solution to an optimization problem. For
Hi, I hope you’re doing great. I’d like to share the project details. The original EA is already working, but I need you to first review and verify that all existing features are functioning correctly. After confirming everything works properly, the next task is to add a simple user dashboard that shows the number of detected zones, buy/sell/none status, and includes an ON/OFF button. Also, please make sure that
looking for Expert to create or ready made solution for bonus hedge auto set cross trading of opposite trading strategy. the expert may guide what max and best he can do to make the EA perfect
Set specific time to run this function(order). The time can be hard-coded or inputted by user. Time format: HH:MM:SS:ss Example: 17:58:48:59 -> This means an order will be triggered at 5 pm 58min 48sec 59 today. Set “Stop loss” and order a Sell stop. “At price” triggered automatically: current(specific time set above 1) Gold price - 2$ Stop loss: current Gold price + 2$ Volume: 0.1 (It can be hard-coded or inputted
Simplebot 30+ USD
#include <Trade/Trade.mqh> CTrade trade; input double LotSize = 0.1; input int FastMA = 10; input int SlowMA = 20; int fastHandle, slowHandle; // Initialize indicators int OnInit() { fastHandle = iMA(_Symbol, PERIOD_CURRENT, FastMA, 0, MODE_SMA, PRICE_CLOSE); slowHandle = iMA(_Symbol, PERIOD_CURRENT, SlowMA, 0, MODE_SMA, PRICE_CLOSE); return(INIT_SUCCEEDED); } void OnTick() { double fastMA[2]; double
In need of an automated bot that strongly detect support and resistance zones where price has a high probability of reacting ,rejecting or reversing. The zones should be built on combibation of of : (a)swing high and swing low.(b)repeated price reaction c)rejection strength (d)break and retest behaviour (e) consolidation origin before implusive move (f) strong displacement candles

Información sobre el proyecto

Presupuesto
30+ USD
Plazo límite de ejecución
de 1 a 30 día(s)