Position sizing

MQL4 Indicatori Script

Lavoro terminato

Tempo di esecuzione 2 giorni

Specifiche

Hi Developer,

I want to calculate lot size to trade.

I will put 2 line on chart for entry and stoploss.

in the script or indicator, I will input:

1. trade is Buy or Sell

2. dollar value of maximum loss.


The script will then return the lot size for trade to make sure that if Stoploss is hit, the loss is the maximum dollar value.

There will be a option for me to let the script to place limit/stop order with these entry/sl information.


Please let me know if you can help.

Thanks

HHC


Con risposta

1
Sviluppatore 1
Valutazioni
(1931)
Progetti
3552
88%
Arbitraggio
73
40% / 15%
In ritardo
268
8%
Gratuito
2
Sviluppatore 2
Valutazioni
(195)
Progetti
395
28%
Arbitraggio
155
20% / 52%
In ritardo
112
28%
Gratuito
3
Sviluppatore 3
Valutazioni
(28)
Progetti
30
50%
Arbitraggio
4
0% / 100%
In ritardo
8
27%
Gratuito
4
Sviluppatore 4
Valutazioni
(2)
Progetti
3
0%
Arbitraggio
3
0% / 67%
In ritardo
2
67%
Gratuito
Pubblicati: 1 codice
5
Sviluppatore 5
Valutazioni
(2343)
Progetti
2948
63%
Arbitraggio
124
44% / 26%
In ritardo
429
15%
In elaborazione
6
Sviluppatore 6
Valutazioni
(182)
Progetti
342
42%
Arbitraggio
118
12% / 73%
In ritardo
104
30%
Gratuito
Pubblicati: 4 codici
7
Sviluppatore 7
Valutazioni
(128)
Progetti
236
65%
Arbitraggio
30
37% / 23%
In ritardo
49
21%
Gratuito
8
Sviluppatore 8
Valutazioni
(618)
Progetti
1429
59%
Arbitraggio
31
81% / 0%
In ritardo
10
1%
Gratuito
9
Sviluppatore 9
Valutazioni
(636)
Progetti
1006
47%
Arbitraggio
33
36% / 36%
In ritardo
99
10%
In elaborazione
Pubblicati: 6 codici
10
Sviluppatore 10
Valutazioni
(41)
Progetti
160
45%
Arbitraggio
16
13% / 50%
In ritardo
48
30%
Gratuito
11
Sviluppatore 11
Valutazioni
(28)
Progetti
36
17%
Arbitraggio
2
50% / 50%
In ritardo
2
6%
Gratuito
12
Sviluppatore 12
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
Ordini simili
a one min scalper which will scalp on a one minute timeframe and can trade a low account to a big one and is more effective in mt4 and mt5 for a very short period of time yeah
Mt5 ea 30+ USD
I have a fast execution ea that need a little touch, it trade on gold and my problem is about the risk ratio the tp is 3pip and stop loss 20 but i cannot get it right to make the average win larger and average loss lower. I would like to know if i can get help to get it right without touching the tragedy and the trade frequency. Those two pictures I attached is the example of what my bot actually do like i explained
hello could you make me same indicator for ninja ? https://www.youtube.com/watch?v=pxs2MuqvH3w if yes for how much and timeline ? thks in advance and please reply me as soon as possible you get my notification
Hello, I want a simple bot for NinjaTrader8. I need a bot that operates automatically on Nasdaq (NQ/MNQ). Requirements: open buys and sells following a simple trend strategy, configurable stop loss and take profit, risk per trade of 1 to 2% of capital, if it loses 3% in a day, stop trading until the next day. Compatible with backtesting, delivery of the source code and the working bot in NinjaTrader 8. My initial
[8/4/2026 4:54 AM] DR.HassaN: AI Gold Analysis Web Platform Requirements Hello, I would like to build a professional AI-powered web platform dedicated exclusively to Gold (XAU/USD) analysis . This is NOT a trading platform or broker . It is an intelligent analysis platform that provides high-quality trading signals and detailed market analysis. The platform should have a modern, premium design with my own branding
Ema100+Fibo 30+ USD
I need a robot that sends me a notification when the price aligns with the EMA and my Fibonacci levels—using specific Fibonacci settings—and then either opens a trade based on the Fibonacci SL and TP or simply sends me a notification. And I want the robot to run in both the Strategy Tester and on a demo account, so I can test it beforehand
I need a custom technical indicator that generates an equidistant channel with two specific structural features: 1. Vertical Multi-Intervals: The ability to plot more than 5 parallel, able to allow me to put intervals 2. Horizontal Angle Input: The ability to manually input geometric angle to strictly define the horizontal slope of the channel or allow me to pick two points manually. i am looking for something like
//+------------------------------------------------------------------+ //| DX_Structure_H1.mq5 | //| Copyright 2026, Seu Nome | //| https://www.mql5.com | //+------------------------------------------------------------------+ #property copyright "Copyright 2026" #property link " https://www.mql5.com " #property version "1.00" #property strict // Parâmetros de Entrada input string InpSymbol = "DX.F"; // Nome do Ativo
Hola, traders e inversores: Desarrollamos soluciones de trading algorítmico para MetaTrader 4 y MetaTrader 5. Creamos bots, indicadores y herramientas a medida que convierten estrategias manuales en sistemas automáticos, configurables y orientados a una gestión de riesgo sólida. Hemos trabajado en automatizaciones que integran entradas y salidas por reglas, cálculo de lotaje, control de drawdown, filtros de horario y
> "I am looking for a reliable and profitable Expert Advisor (EA) or trading robot for MetaTrader. The EA should have a proven track record, good risk management, and stable performance in live market conditions. Please share the name of the EA, a brief explanation of how its strategy works, and any relevant performance statistics or backtest reports to help me evaluate it."

Informazioni sul progetto

Budget
20 - 30 USD
Scadenze
da 2 a 3 giorno(i)