Indicator to calculate position size

MQL4 Göstergeler

İş tamamlandı

Tamamlanma süresi: 21 saat
Müşteri tarafından geri bildirim
Brilliant work
Geliştirici tarafından geri bildirim
Thank you my friend

Şartname

Hi I need an indicator with the following specification:


Input:

----------

ProfitPerPip : <<To specify how much profit in USD I want for each pip>>

DisplayPosition: <<To specify corner for display>>

DisplayFont: <<To specify font for display>>

DisplaySize: <<To specify size for display>>


Output: 

-----------

If this indicator is attached to a chart on any pair, including gold it should show me the minimum lot or position size (in the format 0.01 or 0.1 or 1 etc) required for a trade to earn the value specified in the <<ProfitPerPip>>

For example (1):

ProfitPerPip = 1

DisplayPosition: 0

DisplayFont: Arial

DisplaySize: 10

If I attach this settings to  EURUSD pair, it should display the following information at the top left corner (if 0 means that location):

Required Lot Size : 0.1

Because, we need 0.1 lots of trade to earn 1 $ per pip for this pair.


For example (2):

ProfitPerPip = 5.2

DisplayPosition: 0

DisplayFont: Arial

DisplaySize: 10

If I attach this settings to  EURUSD pair, it should display the following information at the top left corner (if 0 means that location):

Required Lot Size : 0.52

Because, we need 0.52 lots of trade to earn 5.2 $ per pip for this pair.



For example (3):

ProfitPerPip = 1

DisplayPosition: 0

DisplayFont: Arial

DisplaySize: 10

If I attach this settings to  GBPJPY pair, it should display the following information at the top left corner (if 0 means that location):

Required Lot Size : 0.11

Because, we need 0.11 lots of trade to earn 1 $ (in fact 1.00831 $) per pip for this pair based on the current conversion rate for USD to JPY (109.093).


Thanks!




 

Dosyalar:

TXT
req.txt
1.6 Kb

Yanıtlandı

1
Geliştirici 1
Derecelendirme
(590)
Projeler
789
71%
Arabuluculuk
9
33% / 33%
Süresi dolmuş
22
3%
Serbest
Yayınlandı: 8 kod
2
Geliştirici 2
Derecelendirme
(298)
Projeler
427
26%
Arabuluculuk
18
61% / 33%
Süresi dolmuş
26
6%
Serbest
Yayınlandı: 8 kod
3
Geliştirici 3
Derecelendirme
(361)
Projeler
630
72%
Arabuluculuk
14
43% / 7%
Süresi dolmuş
28
4%
Serbest
Yayınlandı: 9 kod
4
Geliştirici 4
Derecelendirme
(499)
Projeler
744
56%
Arabuluculuk
48
31% / 31%
Süresi dolmuş
120
16%
Serbest
Yayınlandı: 1 kod
5
Geliştirici 5
Derecelendirme
(66)
Projeler
95
28%
Arabuluculuk
20
25% / 55%
Süresi dolmuş
24
25%
Serbest
6
Geliştirici 6
Derecelendirme
Projeler
3
0%
Arabuluculuk
0
Süresi dolmuş
1
33%
Serbest
7
Geliştirici 7
Derecelendirme
(258)
Projeler
396
28%
Arabuluculuk
70
19% / 49%
Süresi dolmuş
121
31%
Çalışıyor
8
Geliştirici 8
Derecelendirme
(645)
Projeler
873
48%
Arabuluculuk
29
38% / 17%
Süresi dolmuş
63
7%
Çalışıyor
9
Geliştirici 9
Derecelendirme
(5)
Projeler
6
50%
Arabuluculuk
0
Süresi dolmuş
1
17%
Serbest
10
Geliştirici 10
Derecelendirme
(53)
Projeler
79
18%
Arabuluculuk
13
15% / 54%
Süresi dolmuş
5
6%
Serbest
11
Geliştirici 11
Derecelendirme
(72)
Projeler
147
67%
Arabuluculuk
21
10% / 71%
Süresi dolmuş
44
30%
Serbest
12
Geliştirici 12
Derecelendirme
(195)
Projeler
395
28%
Arabuluculuk
155
20% / 52%
Süresi dolmuş
112
28%
Serbest
Benzer siparişler
‎A trending candle followed by a smaller trending candle which is the second candle with no 5EMA ‎ ‎The 3rd candle is a reversal candle in which it and it's immidiate previous candle must be at least 70% of each other's body or equal body, with no 5EMA touch ‎ ‎the 3rd candle candle is followed immediately by the 4th candle which is the signal candle in which it and the 1st cabdle must be also at least 70% of
LynxMT5algo 30 - 100 USD
An mt5 add on indicator like gainalgo style to show entrance and exit areas for gold silver and Btc scalping. It will be used to make trading more easy for beginners
I have the Fisher Indicator shown below the chart. I need an alert added for when the Fisher Indicator hits the 50 point at the end of each period. GBPUSD and EURUSD 4H charts are provided and I can provide additional
Hello here, I need someone who can work on pinescript and also with Renko charts. My entries for my strategy would be based on stop orders Kindly let me know if you can work on this for me and i will send necessary file and quote in the chat
Freelance Task — EA Recovery Layer Hello. I have a ready-made MQL5 EA. The signals, SL/TP and lot calculation should essentially not be touched. I need a recovery system added. I am not a programmer — below is how the robot should behave. What stays Entry only from an EA signal. Stop-loss is not a new signal. Trailing is already built into my EA — recovery does not implement its own trailing. If trailing is disabled
# SNRZ BOT — SESSION PROGRESS LOG Last updated: 2026-09-16 (local late-evening session) ## SAN BOT (new — cloned from SNRZ) - `MQL5\Experts\AutomatedOrderBot_SAN.mq5` / `.ex5` — v1.0, compiled 0 errors/0 warnings - Signal source: custom indicator "SAN" (InpSANName, buy buf 0 / sell buf 1, target bar 1), same SNRZ-style read, MA fallback if missing - Magic number 234567 (separate from SNRZ 123456 so both bots can run
Should be as it but no alarms, also we need to add a deep search so he can see all the preves candles and a memory function so its not slowing down the indicator. for higher time frames daily 4h 1h around 365 days and for lower time frames we do up to 20k bars but both flexible so i can change it later. the memory is important so the indicator is not always recalculating everything when a new candle shows especially
Hi, I need an experienced NinjaTrader 8/NinjaScript developer to finish or rebuild an automated futures strategy, ideally by the end of this week. I already have the complete TradingView Pine Script reference strategy, an existing ~2,000-line NinjaScript implementation, Playback logs, and known historical benchmark trades. MOST IMPORTANT REQUIREMENT: TRADINGVIEW ↔ NINJATRADER PARITY. The Pine Script is the reference
I need a custom MQL5 indicator for MetaTrader 5. The indicator must automatically print entry, stop loss, and take profit zones on the chart using dots. A critical requirement is that these dots must be non-lagging and absolutely non-repainting. Additionally, the indicator needs to identify and display current supply and demand zones. Please provide the mq5 source code and the ex5 file upon completion
I need an experienced trading-data specialist who can help me obtain 3–4 years of historical market data compatible with NinjaTrader 8 . The data will be used for trading strategy development, backtesting, and analysis

Proje bilgisi

Bütçe
20 - 25 USD
Son teslim tarihi
from 1 to 3 gün