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

Specifiche

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  

Con risposta

1
Sviluppatore 1
Valutazioni
(33)
Progetti
35
20%
Arbitraggio
5
40% / 40%
In ritardo
0
Gratuito
Pubblicati: 1 codice
2
Sviluppatore 2
Valutazioni
(12)
Progetti
12
17%
Arbitraggio
2
0% / 50%
In ritardo
1
8%
Gratuito
3
Sviluppatore 3
Valutazioni
(13)
Progetti
20
40%
Arbitraggio
3
0% / 67%
In ritardo
3
15%
Gratuito
4
Sviluppatore 4
Valutazioni
(18)
Progetti
26
0%
Arbitraggio
4
0% / 100%
In ritardo
5
19%
Gratuito
5
Sviluppatore 5
Valutazioni
(54)
Progetti
102
23%
Arbitraggio
12
25% / 17%
In ritardo
13
13%
Gratuito
6
Sviluppatore 6
Valutazioni
(469)
Progetti
487
75%
Arbitraggio
6
67% / 17%
In ritardo
0
Gratuito
7
Sviluppatore 7
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
8
Sviluppatore 8
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
9
Sviluppatore 9
Valutazioni
(574)
Progetti
945
47%
Arbitraggio
309
58% / 27%
In ritardo
125
13%
Gratuito
Ordini simili
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
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
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
I am seeking an expert MQL5 developer for a paid architectural consultation. I am currently in the process of building a trading platform and need a deep dive with a specialist who understands the "under the hood" mechanics of high-frequency execution and systematic bot design. Topics for Discussion: Engine Logic: Best practices for building a robust, low-latency execution engine on MT5. Risk Frameworks: Implementing
I need a mt5 Expert advisor ea to manage intraday trades with strict risk management. The EA must -Handle between 5 to 8 clean trades a day max altogether throughout all 3 sessions. no big news trading times and no overnight trades -Use 1% on forex pairs and upto 2% on XAUUSD risk per trade - Automatically calculate lot size based on stop loss -use fixed RR ratio [1:2] For forex pairs, the stop loss should be
Ninjatrdaer Script 500 - 1000 USD
I am looking to purchase a ninjatrader script, if there is any for sale, i mean a ready made ninjatrdaer script that trade futures, i need the seller to show me a backtest of the system, you know send some results, I would like to see a 1 year and YTD backtest
I need a clean, bug-free MT5 Expert Advisor (MQL5) based on this exact mechanical scalping strategy on M5 timeframe for EURUSD. Indicators (built-in): - EMA 9 and EMA 21 on M5 - RSI 14 - ADX 14 (>25 for strong trend) - H1 EMA 21 above/below H1 EMA 9 for trend alignment Entry Rules (ALL must be true): BUY: EMA9 crosses above EMA21 (on closed bar) + RSI > 50 + ADX > 25 + H1 EMA21 > H1 EMA9 SELL: Mirror (cross below
I will like to purchase tradingview strategy with high winning rate, i mean already made, tested and trusted and powerful strategy, i have tried to code my own strategy with lot of freelancers but nothing to me i am just wasting money, i have wasted lot of money already, so i need a high winning rate tradingview strategy, we can discuss price in chat, I will need to see some test result as well
I need a visual web page or program to monitor and analyze multiple MT5 or MT4 trading accounts. A real-time dashboard (real-time visual interface) is required, including account ID, affiliated broker, trading account balance, real-time order quantity, opening price, ongoing order position, spread, profit, etc. If you have mature development experience or source code, let's have a chat, bro
Looking to acquire a good MT5 based EA that works on Gold, forex pairs or BTC. Must be suitable for current market conditions and profitable in backtests. Suitable on 1 Min timeframe to be used on, Must be actively opening many positions throughout the day. Share me the details if this matches something you have or developed. Looking to get this finalised within the weekend

Informazioni sul progetto

Budget
30+ USD
Scadenze
da 1 a 30 giorno(i)