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.
Похожие заказы
The Relative Strength Index (RSI) is a technical momentum indicator measuring the speed and change of price movements, scaled from 0 to 100 to identify overbought (>70) or oversold (<30) conditions. Developed by J. Welles Wilder Jr., it helps traders spot potential trend reversals or corrections.Imagine a stock, XYZ, is trending upwards.Overbought Signal: The price increases sharply, and the RSI rises to 75. This
Mam kody EA Bot. Chciałbym je dokończyć, dopracować i ukończyć projekty. Chciałbym otrzymać pliki SET po ukończeniu EA. Jeśli jesteś zainteresowany, skontaktuj się ze mną. Szukam doświadczonego programisty do stworzenia dedykowanego doradcy eksperckiego (EA) do tradingu. Programista powinien posiadać solidną wiedzę z zakresu MT5, logiki strategii, wskaźników, zarządzania ryzykiem i backtestingu. Doświadczenie w
It must have automated stop loss. Something that can end poverty and kill the market early.It must take the trades for me whenever I start it it must work on tradeport ea