A supertrend ea with these functions

Specification

A supertrend ea with:

- martingale that resets back to initial lot size only after a specified number of wins in a row.

- Immediately when I place it on the chart, I want it to check the past signals and determine the current number of
  losses in a row according to the set TradeDirection, TakeProfit and StopLoss.
  (Look at the historical data to check the past signals and determine the current number of losses in a row 
   and then update those losses as the chart updates with new data)

- I want it to display the number of current losses in a row on the right side of the chart and reset
  the counter if a win occurs.

- If the current losses in a row have reached the set LossAlertThreshold, I want it to show an alert on the chart.

- Close trade on opposite signal.

- Option to show an alert when a new signal occurs, which can be turned on or off.


Example of settings:

// Input parameters

input double Period = 10;                // ATR period for Supertrend

input double Multiplier = 3.0;           // Multiplier for Supertrend 

input double TradeDirection = direction  // Trade direction (regular, inverse, buy only, sell only)

input double LotSize = 0.1;              // Initial lot size

input double MartingaleMultiplier = 2.0; // Martingale multiplier

input int MartingaleReset = 3;           // Reset Martingale after specified consecutive wins in a row

input double TakeProfit = 100;           // Take profit in points

input double StopLoss = 50;              // Stop loss in points

input int LossAlertThreshold = 3;        // Alert after specified consecutive losses in a row is reached

input double AlertOnNewSignal = True;    // Alert On New Signal

input int MagicNumber = 123456;          // Magic number for trades

*** Include a custom comment, and settings for the font size of the displayed consectutive losses as well.


Responded

1
Developer 1
Rating
(8)
Projects
11
0%
Arbitration
6
33% / 67%
Overdue
2
18%
Free
2
Developer 2
Rating
(42)
Projects
61
21%
Arbitration
6
33% / 33%
Overdue
10
16%
Loaded
3
Developer 3
Rating
(22)
Projects
24
71%
Arbitration
0
Overdue
0
Loaded
4
Developer 4
Rating
(33)
Projects
35
20%
Arbitration
5
40% / 40%
Overdue
0
Free
Published: 1 code
5
Developer 5
Rating
(2292)
Projects
2886
63%
Arbitration
122
44% / 25%
Overdue
428
15%
Loaded
6
Developer 6
Rating
(6)
Projects
5
0%
Arbitration
2
50% / 50%
Overdue
2
40%
Free
7
Developer 7
Rating
(4)
Projects
9
11%
Arbitration
11
18% / 64%
Overdue
4
44%
Free
8
Developer 8
Rating
(47)
Projects
67
37%
Arbitration
5
40% / 40%
Overdue
1
1%
Free
9
Developer 9
Rating
(373)
Projects
479
23%
Arbitration
57
56% / 25%
Overdue
55
11%
Busy
10
Developer 10
Rating
(102)
Projects
105
60%
Arbitration
0
Overdue
0
Free
11
Developer 11
Rating
Projects
1
0%
Arbitration
3
0% / 67%
Overdue
0
Free
12
Developer 12
Rating
(159)
Projects
284
35%
Arbitration
18
22% / 61%
Overdue
42
15%
Loaded
13
Developer 13
Rating
(12)
Projects
13
8%
Arbitration
1
0% / 100%
Overdue
0
Free
14
Developer 14
Rating
(176)
Projects
227
19%
Arbitration
21
38% / 24%
Overdue
0
Working
15
Developer 15
Rating
(574)
Projects
945
47%
Arbitration
309
58% / 27%
Overdue
125
13%
Free
Similar orders
MQL5 Expert Advisor Development (MT5) I need a professional MQL5 developer to create a custom Expert Advisor (EA) for MetaTrader 5 with high accuracy, low drawdown, and fast execution . 🔹 Strategy Requirements: Timeframe: Scalping-friendly (M1 / M5) Indicators Used: EMA 9 EMA 12 EMA 21 VWAP (as a trend filter) RSI (for trade confirmation) 🔹 Trade Logic: Buy and Sell entries based on EMA crossover + VWAP direction
Project Summary We are looking for a highly experienced MetaTrader 5 (MT5) developer to build a pattern-based Expert Advisor (EA) focused on low-time-interval automation (15-second & 30-second logic). This is a pure MT5 project — no external platforms, no shortcuts. It should be very clean ,Efficient ,Precised ,Accurate ,No copy paste ,Low latency. If you have real experience with MT5 tick-based logic and
//+------------------------------------------------------------------+ //| XAUUSD Ultimate Institutional EA | //| Features: | //| - True swing-based market structure | //| - BOS sniper entries on M5 | //| - Liquidity sweep filter | //| - Partial TP + breakeven | //| - Visual BOS, swings, liquidity
Hello great developers, I need a very fast and hardworking deliver who know both back end and front end of trade copier system. I need a web based trade copier application, i already create the website aspect, only need the copier to be included. I actually have a limited time, and no room for unprofessional developers, kindly send your applications if you can actually get it done in the space of 2 days and my budget
I am looking for an experienced developer to create an automated trading bot on the Quantower platform based on my trading rules. The bot should execute trades automatically. Kindly bid for it if it is what you can code for me
// Add this to your EA after ExportState() function void SendToBase44(const string state, const string dir, double entry, double sl, double tp) { string url = " https://preview-sandbox--ee0a32a725b788974de435e8cef40b7a.base44.app/api/functions/receiveEAState "; string headers = "Content-Type: application/json\r\n"; string json = "{" "\"symbol\":\""+_Symbol+"\","
Project Summary We are looking for a highly experienced MetaTrader 5 (MT5) developer to build a pattern-based Expert Advisor (EA) focused on low-time-interval automation (15-second & 30-second logic). This is a pure MT5 project — no external platforms, no shortcuts. The selected freelancer will handle the project end-to-end, from strategy implementation to deployment and stability. If you have real experience with
1.Sinyal Perdagangan : Sinyal beli: garis MACD utama memotong garis sinyal ke atas (macd_current>signal_current && macd_previous<signal_previous). Sinyal jual: garis MACD utama memotong garis sinyal ke bawah (macd_current<signal_current && macd_previous>signal_previous). Gambar di bawah menunjukkan kasus beli dan jual. 2. Posisi ditutup pada sinyal yang berlawanan: Posisi beli ditutup pada sinyal jual, dan posisi
Title: Development of MT4/MT5 Expert Advisor for NASDAQ Hedging Strategy with Optimization & Backtesting Description: I am seeking an experienced MetaTrader 4/5 (MT4/MT5) developer to build a fully automated Expert Advisor (EA) based on a specific NASDAQ hedging strategy. The EA will run on two separate accounts simultaneously with randomized hedging logic. All timing references are in New York Time (UTC-5) . Trading
I have an MT5 expert advisor. The EA trades martingale strategy. I need it converted to a python bot to trade futures in binance, bybit, okx, kucoin and other dexes

Project information

Budget
30+ USD