Lot Size Calculator

MQL4 Lo demás

Trabajo finalizado

Plazo de ejecución 6 días
Comentario del Cliente
Professional. Extremely quick response times. Will love to work with Patompong again.
Comentario del Ejecutor
Thank you so much!

Tarea técnica

Here is how my current ea works.

1. Check for Condition 

2. If Condition is true

3. Calculate SL, TP values and expiry time

4. Calculate Lot Size

5. Place Pending Order

1,2,3,4,5 are functions. 

I need help with Function 4 which is what is project is about.

Will try to explain what I need with example trades.


Trade 1 : 

Acceptable Loss in account currency - $100.

In this example the account currency is dollars . This should be an Extern Value which can be changed as per account size.

SL and TP values come from function 3.
Based on SL value, lot size needs to be calculated appropriately and passed on to Function 5. 
Pending Order is Placed.

Trade triggers and hits stop loss.



Trade 2 : 
Set the stop loss for the next trade as $100 again for the next trade.

SL and TP values come from function 3.
Based on SL value, lot size needs to be calculated and passed on to Function 5. 
Pending Order is Placed.

Trade triggers and hits Profit Target and makes $200 profit.




Trade 3 : 
Set the stop loss for the next trade as $300 again for the next trade.
Why 300? 
100 initial + 200 current profit

SL and TP values come from function 3.
Based on SL value, lot size needs to be calculated and passed on to Function 5. 
Pending Order is Placed.

Trade triggers and hits Profit Target and makes $400 profit.




Trade 4:
Set the stop loss as $700 for the next trade. 
100 initial + 200 from trade2 + 400 from trade3
SL and TP values come from function 3.
Based on SL value lot size needs to be calculated and passed on to Function 5. 
Pending Order is Placed.



And so on. The number of times the program continues to accumulate should be an extern so that I can say for example 5 times and after 5 continuous take profits it resets and goes back to the initial $100 stop loss. Anytime in between these 5 times, if the stop loss is hit, it resets and goes back to the initial $100 stop loss.

Han respondido

1
Desarrollador 1
Evaluación
(48)
Proyectos
73
37%
Arbitraje
22
9% / 41%
Caducado
14
19%
Trabaja
2
Desarrollador 2
Evaluación
(4)
Proyectos
5
0%
Arbitraje
3
0% / 67%
Caducado
2
40%
Libre
3
Desarrollador 3
Evaluación
(62)
Proyectos
140
46%
Arbitraje
19
42% / 16%
Caducado
32
23%
Libre
4
Desarrollador 4
Evaluación
(12)
Proyectos
14
29%
Arbitraje
5
20% / 80%
Caducado
6
43%
Libre
Solicitudes similares
Hey, great developer I have a thinkorswim script I want to convert it into TradingView. Can you please let me know if you can i will be looking for great developer that will bid for it best regards
Tradingview developer 30 - 35 USD
Hey greetings. I am in need of tradingview developer that can modify an open source PineScript indicator code to add additional features. Kindly bid for this project if it is what you handle and let proceed with the project
In summary 1) The bot will only take Firm Buy and Firm Sell Signals . 2) The bot will use the SL and TP based on the indicator . 3) the risk to reward is 2:1 but when the price reaches 1:1 set SL to Breakeven 4) the bot will take Firm Buy and Firm sell after the candle closes with a firm buy or firm sell 5) make sure to give an option for number of contracts to be traded . 6) Bot will close all the trades EOD
Hello, I'd like to get a developer for converting tradingview indicator script to NT8 indicator. I have attached rough c# code and working pine script. indicator is nothing but just 7 horizontal lines drawn with 3 types of colors, 3 lines for support level, 3 lines for resistance level and 1 mid line. Purpose of the indicator is to draw colored horizontal lines with labels when a text is pasted with predefined
The Bot will use 2 Indicators and should follow these rules: Trade Entry: You must always enter the trade EXACTLY at the close of the current candle, with the expiry time set to the end of the next candle. It will only work if you click BUY or SELL EXACTLY in the last second of the current candle. I don't need to mention that you need a good internet connection and obviously should use the trading platform app. DO
I have choch indicator I want to use it for my strategy but the ea will have two options the second option will base on manual example I will do my analysis of a pair then decide if buy or sell before putting those pairs in the ea base on the direction I choose for it but first option will make use of the indicator. Will explain better on video screen pls check my attachments below for better communication
Hi, I need someone who have an idea of IG Market I am running into a problem I need to have at least 50pips between my order and stoploss. Can you check with me where it goes wrong
I need an expert to convert a TradeStation script over to pine please let me know if this is something you can do perfectly. I will be expecting your message. thanks
I need an expert to convert a TradeStation script over to pine please let me know if this is something you can do perfectly. I will be expecting your message. thanks
Hello! Will you be able to program an MT4 EA, running on an offline renko charts? Based on attached indicators signals? An EA that generates the renko charts is also attached. If yes come to dm now

Información sobre el proyecto

Presupuesto
30+ USD
Para el ejecutor
27 USD