Create Position Size for existing EA

MQL5 Experts Integration

Job finished

Execution time 7 days
Feedback from customer
Great coder. Very patient and awesome work. Will come back for future projects!
Feedback from employee
Thank you for the order.

Specification

I have an existing EA that i use on different brokers with the following formular to calculate it's position size: 

double GetLot(double risk, int sl = 0)

  {

   double Free    = acc.Balance();

   double tick_value  = smb.TickValue();

   double tick_size  = smb.TickSize();

   if(sl <= 0 || tick_value <= 0)

      return(Free/1000*smb.LotsMin()*risk);


   double LotVal = tick_value *_Point /tick_size;

   double Step    = smb.LotsStep();

   double lot     = MathFloor((Free*risk/100)/(sl*LotVal)/Step)*Step;


   return(lot);

  }


but somehow on one broker the value of the lot sizes is way too small and i need a developer who can provide me with a script which works. Please find attached the specifications for 3 instruments i'm currently trading. On the brokers where the above formular works, the tick size and tick value is set to 0. The broker who provides tick size and tick value the formular:  = MathFloor((Free*risk/100)/(sl*LotVal)/Step)*Step; does not work. 

I'm looking for a lot size calculation script to implement into my EA.

Please let me know if you can provide such script for this specific broker.  

Responded

1
Developer 1
Rating
(87)
Projects
104
35%
Arbitration
4
50% / 25%
Overdue
5
5%
Working
2
Developer 2
Rating
(368)
Projects
465
40%
Arbitration
82
37% / 33%
Overdue
13
3%
Working
3
Developer 3
Rating
(281)
Projects
421
63%
Arbitration
5
40% / 0%
Overdue
4
1%
Free
4
Developer 4
Rating
(29)
Projects
33
0%
Arbitration
1
100% / 0%
Overdue
0
Free
5
Developer 5
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
6
Developer 6
Rating
(18)
Projects
25
28%
Arbitration
0
Overdue
2
8%
Free
7
Developer 7
Rating
(138)
Projects
199
80%
Arbitration
17
29% / 47%
Overdue
10
5%
Working
8
Developer 8
Rating
(36)
Projects
45
2%
Arbitration
6
33% / 17%
Overdue
1
2%
Free
Similar orders
hi uhm im look for someone who can make me an indicator , which is able to show the entry and exit point and also to show stop lose and take profit . nass 100 , us30 an Ger40 and all currencies the time frame it should use 15 min and it should be scalping . the name of the indicator should be called Pro Da Trader please who ever can do that please contact ne via whats app 0715240554 or my email
Objective: Our objective is to develop a platform that simplifies the analysis and presentation of trading ideas sourced from various channels. This platform will act as a centralized hub for traders to efficiently access and evaluate trading signals. Current Situation: We are actively engaged with multiple trading signal channels, VIP groups on Telegram, and applications. However, we face challenges due to private
TrendingView Indicator 30 - 100 USD
i have an indicator that is 70% complete and I want to make some modifications and additions to it im looking for a developer that have knowlodge of pinescript for tradingview lets discuss more on message
solve errors and debug my existing code to convert it into mq5 The task will be done remotely by anydesk More details will be given privately to better understand the task, already spoken previously by the developer
Preciso de um replicador de ordens do mt5 para o profit. Não é necessário muita coisa no EA,preciso de: selecionar quantidade de contratos , copiar entradas e saídas, take e stop loss
I am looking for simple automated trade for NT8 . I want to place an Oco order at the open 9:30 Buy above the previous bar high and sell below the previous bar close. I want to set my own target and stop. Just this one trade
Seeking a freelance developer to bridge MetaTrader 4 (MT4) with eToro. Your task is to create a seamless connection to execute trades across both platforms. This will allow my ea's to copy trades onto the platform, i'm looking for something similar to the program CMAM that allows fixed lots and auto balance risk options based on equity and balance

Project information

Budget
30 - 40 USD
VAT (19%): 5.7 - 7.6 USD
Total: 35.7 - 47.6 USD
For the developer
27 - 36 USD
Deadline
to 1 day(s)