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
(19)
Proyectos
27
0%
Arbitraje
4
0% / 100%
Caducado
5
19%
Trabaja
5
Desarrollador 5
Evaluación
(54)
Proyectos
102
23%
Arbitraje
12
25% / 17%
Caducado
13
13%
Libre
6
Desarrollador 6
Evaluación
(471)
Proyectos
490
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
I need a professional MT5 Expert Advisor for XAUUSD based on EMA 9 and EMA 20 on the M1 timeframe. Trading Time: - Recommended trading window: 11:30 AM to 7:00 PM Dubai Time. - Best performance expected during London and New York overlap. - No new trades outside the trading window. Indicators: - EMA 9 (Exponential, Apply to Close) - EMA 20 (Exponential, Apply to Close) BUY Rules: - Wait for candle to CLOSE
My requirements are all follows: Parameter Value BaseLotSize 0.01 LotMultiplierList "1,2,3,5,8,13,22,37,62,104,175,294,494,830,1394" InitialGridPoints 110 MiddleGridPoints 280 DeepGridPoints 350 MaxSteps 15 EnableExtendedGrid false TakeProfitPer001Lot 0.40 StopLossType EQUITY_PERCENT StopLossValue 50.0 UseNewsFilter true NewsFilterMinutesBefore 30 NewsFilterMinutesAfter 30 UseTimeFilter true TradingStartHour 0
Scalping/HFT EA 30+ USD
I need someone to make an EA that is a HFT that actually works for prop firm or live accounts. Prop firm would be most preferred but it has to be from a prop firm that will allow HFT
I need an MT5 Indicator that DOES NOT open trades automatically. Its purpose is to analyze the market and send me a notification whenever all the conditions of my strategy are met. INDICATORS USED - RSI (14) - SMA (100) - Volume - H4 Support Detection CONDITIONS 1. RSI on M15 - RSI (14) must be equal to or below 30. 2. RSI on H1 - RSI (14) must be equal to or below 35. 3. SMA 100 - Use a Simple Moving Average (SMA)
MC Trader's 30+ USD
If Buy: it must Buy when a conformation is done Bye the candle that would be a bullish engolfing candle or after liqudity swip or when sellers has stepped down the market and the market regains energy and trand upwards, it's stop loss must be below the Buy position and it's take profit must be at the top of all candles
i am looking to upgrade my trading telegram bot and add live data to it and also make it linked to a dashboard where i can trace the users who register in my bot and pay and make them go in my private channel and manages the expiry date of each user
Title: MT4 One Click Trader EA (Custom Development) I am looking for an experienced MQL4 developer to build a custom One Click Trader Expert Advisor for MetaTrader 4. The objective is a fast, reliable, execution-focused trading panel with minimal visual clutter and robust operation on both standard and offline charts. Requirements Trade Panel The EA must provide a simple trading panel containing: Buy button Sell
I need a well experience programmer that can make a copy my better volume indicator from mt4 to pine scripts.I want to be able to use this indicator on tradingview
Read signal and enter trade and close trade at good profits and open trade again. Either bullish or bearish signals at 0.1 on XAUUSD. Maximum trade a day should be 4-5 times with good opens and close signals. Looking foward to a long cooperation and also a honest and genuine person
AlphaGreen 150 - 200 USD
Hello, I need a professional MT5 Expert Advisor (EA) developed for a custom indicator-based strategy. Strategy Logic: Determine the trend direction: Uptrend = Buy opportunities only. Downtrend = Sell opportunities only. Entry Conditions: The indicator has 4 lines: 2 Green lines, 1 Red line, and 1 Blue line. Open a Buy trade when both Green lines move inside/between the Red and Blue lines during an uptrend. Open a

Información sobre el proyecto

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