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

Spécifications

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  

Répondu

1
Développeur 1
Évaluation
(33)
Projets
35
20%
Arbitrage
5
40% / 40%
En retard
0
Gratuit
Publié : 1 code
2
Développeur 2
Évaluation
(12)
Projets
12
17%
Arbitrage
2
0% / 50%
En retard
1
8%
Gratuit
3
Développeur 3
Évaluation
(13)
Projets
20
40%
Arbitrage
3
0% / 67%
En retard
3
15%
Gratuit
4
Développeur 4
Évaluation
(18)
Projets
26
0%
Arbitrage
4
0% / 100%
En retard
5
19%
Gratuit
5
Développeur 5
Évaluation
(54)
Projets
102
23%
Arbitrage
12
25% / 17%
En retard
13
13%
Gratuit
6
Développeur 6
Évaluation
(469)
Projets
487
75%
Arbitrage
6
67% / 17%
En retard
0
Gratuit
7
Développeur 7
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
8
Développeur 8
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
9
Développeur 9
Évaluation
(574)
Projets
945
47%
Arbitrage
309
58% / 27%
En retard
125
13%
Gratuit
Commandes similaires
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
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
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
Hi everyone, I am hoping that you would be able to help me with possibly an easy fix. I have exhausted all avenues to try and optimise a 3 min US100 / USTEC and convert from line script to MQL5 so I can automate through MT5. The trades are not correlating and there is a clear consistent discrepancy of approximately 123 minutes between a significant number of trades when comparing the same time period. I really hope
Pakayaku Robot Trading 30 - 200 USD
Revolusi Trading BTCUSD dengan Presisi Fibonacci & Ichimoku Kumo "Memperkenalkan Pakayaku Robot Trading , asisten cerdas yang dirancang khusus untuk menaklukkan pasar emas (XAUUSD) dan Bitcoin (BTCUSD). Menggabungkan algoritma Fibonacci Retracement untuk akurasi titik pantul dan Ichimoku Kumo sebagai filter tren global. Mengapa Memilih Pakayaku? Analisa Multi-Indikator: Menggabungkan Fibonacci, Ichimoku, dan
READ BEFORE MESSAGING PLEASE Developer Requirements (Strict): - Expert Level Only: This is a professional-grade, robust trading engine. Please do not apply if you are a beginner or intermediate developer. ​ - Asynchronous Proficiency: You must have deep experience with CTrade and handling asynchronous order execution (Requotes, Busy Servers, and Order Integrity Sync). ​ - Proven Track Record: I require a developer

Informations sur le projet

Budget
30+ USD
Délais
de 1 à 30 jour(s)