Lot Size Calculator

MQL4 その他

仕事が完了した

実行時間6 日
依頼者からのフィードバック
Professional. Extremely quick response times. Will love to work with Patompong again.
開発者からのフィードバック
Thank you so much!

指定

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.

応答済み

1
開発者 1
評価
(48)
プロジェクト
73
37%
仲裁
22
9% / 41%
期限切れ
14
19%
仕事中
2
開発者 2
評価
(4)
プロジェクト
5
0%
仲裁
3
0% / 67%
期限切れ
2
40%
3
開発者 3
評価
(62)
プロジェクト
140
46%
仲裁
19
42% / 16%
期限切れ
32
23%
4
開発者 4
評価
(12)
プロジェクト
14
29%
仲裁
5
20% / 80%
期限切れ
6
43%
類似した注文
Hey all, im looking for a desktop app to be made which ''integrates'' with mt5. The aim here is youll open the desktop app, link it to the mt5 you have downloaded which will then allow you to auto test on that mt5 with the click of a button. i want to basically load an opt file which has already been created with the desired input combinations, input dates you want etc... and then start the test. once the test is
Dear Colleagues, I am currently seeking the assistance of an experienced professional who can help me integrate my TradingView alerts with Interactive Brokers in order to execute live trades automatically. If you have the expertise in setting up such an automation or know someone who does, I would greatly appreciate your support. Please feel free to reach out to me if you can assist with this project or if you need
I am in search of a driven and results-oriented individual to promote my forex trading signals under the "Elevated Tradinghub" brand. The perfect candidate will have a strong background in digital marketing, particularly within the finance and trading sectors. Your main goal will be to expand my follower base by effectively promoting my signals across a variety of platforms, such as social media, trading forums, and
Connect from Mt4 via binary derive account api. I have a bot. You need to convert the bot to an indicator. After converting I need to connect with my binary deriv through api. I want to trade my derivative binary account through mt4. If anyone can setup via API then contact me
I need a way of viewing Renko Charts in MT5. Only apply if you have experience with Renko Charts. And how you would tackle this project. Timeline is less than 5 days
Hey greetings. Am in need of a tradingview developer that can add a simple alert to my existing tradingview indicator with a simple conditions. Kindly bid for the project if it is what you can do for me and let proceed
Hello, ,I will briefly explain what I need, I would like to know if you can make me an indicator for cTrader, for the forex market, that can count the candles starting from the first candle starting at 00:00. Obviously in a 5 minute TF the candle count will be much higher than that of the H1 TF, also I use 250/500/1000 ticks charts, so this indicator should also count the candles of this type of charts I would like a
I have access to a paid/subscription TradingView Strategy but I'am unable to see the script/code. I'm looking for someone who is able to reverse engineer this Strategy and create a new version that I would have full access to. I believe this would be using PineScript. If you've done this sort of thing before, please message me. $400 is my budget for this project on completion
I need a professional who have the full knowledge in Ctrader and I want to add new idea for my ctrader https://ctrader.com/algos/indicators/show/3444/ Let me know if this is what you can do and the price to get it done. Thanks
We are looking for an experienced MQL5 developer to create a custom drawing tool for MetaTrader 5. The tool should include the following functionalities: - Creation of 4 equally spaced horizontal lines on the chart. - A trend-line that measures the price movement. - Interactive buttons to control the drawing of these objects. - The tool should be user-friendly and efficiently handle chart events. **Requirements:** -

プロジェクト情報

予算
30+ USD
開発者用
27 USD