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.
.........................
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
Похожие заказы
I need a AI signal generating bot for forex trading that use the latest ai technology to track real time forex market, analyse and give signals. The bot should operate such that when i put it in a chart it will analyse the market, after several minutes it will display whether the trade is buying or selling. It should display the one minute, five minute,15minute, 30 minute, one hour, 4 hours and daily time frame
step by step and structure this into a full IEEE 830 / ISO/IEC/IEEE 29148 style Requirements Specification. This format will include: Introduction System Overview Functional and Performance Requirements Traceability Matrix (linking requirements to test cases) Verification and Validation Compliance Standards 1. Introduction 1.1 Purpose The purpose of this document is to define the technical requirements for the
//+------------------------------------------------------------------+ //| Simple Robo Trader MT5 | //| Works on any pair & timeframe | //+------------------------------------------------------------------+ #property strict // Input settings input double LotSize = 0.01; input int FastMA = 10; input int SlowMA = 30; input int RSIPeriod = 14; input int StopLoss = 200; // in points input int TakeProfit = 400;// in
I am looking for an experienced MQL5 developer to convert a complex TradingView Pine Script (will provide the script from tradingview) into a fully automated MT5 Expert Advisor -bot. The TradingView script includes: Market Structure (BOS, CHoCH, Swing BOS) Strong / Weak High & Low Equilibrium (Premium / Discount zones) Volumetric Order Blocks Fair Value Gaps (FVG / VI / OG) Accumulation & Distribution zones Equal
// 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+"\","
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