Code to Write Details of Last Consecutive Loss Trades into Global Variables

MQL4 Esperti

Lavoro terminato

Tempo di esecuzione 1 ora
Feedback del cliente
Completed to specification. Highly recommended.
Feedback del dipendente
Thank you very much! Nice customer!

Specifiche


I require a code that creates a set of global variables that can be called by other parts of an EA that acheives the following:


Calculates the PIP values of the last consecutive loss trades

Calculates the NUMBER of last consecutive loss trades

Calculates the dollar amount of the last consecutive loss trades - dynamic based on the currency pair


Examples:

Trades at 0.1 Lots : -6, +10, -5, -5:   Outputs: 10 + X (Pips), 2 (Trades), -$10 (USD)

Trades at 0.1 Lots : -6, +10, -5:   Outputs: 5 + X (Pips), 1 (Trades), -$5 (USD)

Trades at 0.1 Lots : -6, +10:   Outputs: X (Pips), 0 (Trades), +10 (USD)

X is a PIP value that I can enter


I need two sets of files, 1 file that only contains the Pip and number of trades. The second file that contains the dollar value.

The code needs to be able to isolate an EA based on its Magic Number

Require the code as an MQ4 file, and needs to be clean and annotated.

I will need to insert this code into various different EA's, so the entire code apart from the declaration of the global variables needs to sit inside ONE function.

I will be testing the code, so will need to work regardless of the EA it sits in.


Thanks

Con risposta

1
Sviluppatore 1
Valutazioni
(191)
Progetti
232
30%
Arbitraggio
1
100% / 0%
In ritardo
9
4%
Gratuito
2
Sviluppatore 2
Valutazioni
(878)
Progetti
1390
67%
Arbitraggio
117
32% / 42%
In ritardo
215
15%
Gratuito
3
Sviluppatore 3
Valutazioni
(311)
Progetti
333
71%
Arbitraggio
4
100% / 0%
In ritardo
1
0%
In elaborazione
4
Sviluppatore 4
Valutazioni
(37)
Progetti
37
24%
Arbitraggio
0
In ritardo
0
Gratuito
5
Sviluppatore 5
Valutazioni
(14)
Progetti
14
50%
Arbitraggio
2
0% / 100%
In ritardo
0
Gratuito
6
Sviluppatore 6
Valutazioni
(21)
Progetti
35
54%
Arbitraggio
8
63% / 38%
In ritardo
1
3%
Gratuito
7
Sviluppatore 7
Valutazioni
(143)
Progetti
255
35%
Arbitraggio
12
25% / 58%
In ritardo
42
16%
Gratuito
8
Sviluppatore 8
Valutazioni
(54)
Progetti
62
31%
Arbitraggio
4
0% / 50%
In ritardo
1
2%
In elaborazione
Ordini simili
DJANGO EA 30 - 1000 USD
I need smart, professional, and fast programmer for doing this project quickly, that have experience in EA with minimum 500 projects finish, and have good review and reputation from their client Share your link review, if you not qualified, dont apply! I will bidding the programmer from experience, review, reputation, price, and days working My EA using Moving Average, Average True Range, and using consecutives
I need smart, professional, and fast programmer for doing this project quickly, that have experience in EA with minimum 500 projects finish, and have good review and reputation from their client Share your link review, if you not qualified, dont apply! I will bidding the programmer from experience, review, reputation, price, and days working My EA using Moving Average, Average True Range, and using consecutives
EA MODIFICATION 30+ USD
Good day to all The service of a coder is required to modify the Expert advisor The EA has two indicators and work with joint or single signal The idea is to change the indicators or add this two indicator and remove the existing one The strategy remain the same Joint Rule Buy or sell when both indicator agree on same direction Single Trade = Buy or sell when each give signal Before acepting and lock my fund ensure
i want to buy an ea that can give me minium of 30% per month with low risk trading i want an ea that use stoploss i want ea that dont hedge
Hi! I am willing to pay for a paid or rental EA with good track record. I have to see results first, try on a demo. Just let me know if you need any information
I need a professional or expert who is a trader and also know about coding that can quote a profitable strategy and code the strategy for me in MT4 with my specification, If you are capable of doing this I will be glad to share my requirement with you to get started
Integration of Supply and Demand Zones from CSV: Develop functionality to read supply and demand zone data from a .CSV file. Define the structure of the CSV file for storing zone data (e.g., price levels, zone type). Implement a mechanism to parse the CSV file and extract relevant zone information. Dynamic Zone Detection: Integrate algorithms to dynamically identify supply and demand zones based on historical price
Need a tradin g robot 30 - 50 USD
I would like to create a robot (another version of a robot I already have) I currently have the source code but would like to have another robot that belongs to me but with different settings, if I provide you with the source code with all the settings are you able to remake me another robot with modifications? and if so what would be your price
邏輯交易EA,主要包括如下內容,(細節後談) 1. 網格繫統:可選:YES/NO. 如果:YES,設置:網格間隔,網格層數,同一個網格線上,可以加倉一次或多次. 2. 開倉:條件開倉,可選:YES/NO.(目前默認爲NO) 分爲市價開倉或者 STOP ORDER/ LIMIT ORDER,多單和空單的開倉設置,可以設置不同手數. 3. 加倉:分爲:固定手數,如:0.03,或末單累加:0.01,或:末單倍數如:1.5倍.多單和空單的加倉方法可以不同設置. 4. 移動止盈.(單獨移動,多/空方整體點數移動/或金額移動) 5. 平倉包括: A.多方/空方止盈線,和多方/空方止損線 (可以設置三條價格:每條選擇:平倉 1/3,1/2,或全部) B.單獨止盈/止損 (多方和空方可以設置不同的,)盈利點數或金額 整體止盈/止損.(多方和空方可以設置不同的,)盈利點數或金額. C.同向對衝平倉(多方獲利單對衝虧損單,空方獲利單對衝虧損單)
How are you today? We’re looking for a ctrader bot that can receive signals from tradingview and place orders on different ctrader accounts, so no strategy coding is required. Here are the details: https://www.loom.com/share/d8166c67a74f46c28920be9e131f8ec7?sid=bd2c6ff2-52e4-4355-b35f-f4fc1bfb0f3b&nbsp ; We would like to know from you what’s the most cost effective method to create this bot. PDF is also attached to

Informazioni sul progetto

Budget
30+ USD
Per lo sviluppatore
27 USD
Scadenze
a 3 giorno(i)