Need MQL4 formulas to gather statistics of a magic number

Termos de Referência

Hi there,

There is no need to build the indicator or the EA, I need mql4 formulas to gather statistics of a specific magic number.

* If you found out that I've missed some important metric/factor - You are more than welcome to add it.



per magic number
explanation example
Buy Trades the amount of short positions and percentage of won thereof 6 (60%)
Buy Pips sum total pips achieves from buy trades 2342
buy lots  Best Trade 3 trades
Buy Profit sum p/l from buy trades, by currency $ 99993
Sell Trades the amount of short positions and percentage of won thereof 4 (40%)
Sell Pips sum total pips achieves from sell trades 2342 pips
sell lots sum all lots from sell  trades 3 lots
Sell Profit sum p/l from sell  trades, by currency $ 99993
Total Trades sum all buy and sell trades 12 trades
Total pips  sum all pips achieved form buy and sell trades 6677 pips
Gross Profit the sum of all profitable trades in terms of money $ 999
Gross Loss the sum of all unprofitable trades in terms of money $ -800
Total P/L (Total Net Profit) financial result of all trades. This index represents a difference between the "Gross Profit" and "Gross Loss $ 200
current floating P/L  open positions profit/loss $ 300
current floating P/L by pips open positions total pips. 240 pips
Swap  total swaps, by currency $ - 600
Commissions   total commissions, by currency $ - 100
Profitable trades sum of all winning trades 54 trades
Loss trades sum of all losing trades 4 trades
Avg Win  avg of win trades - by % / money / pips 20% / $ 40 / 99 pips
Avg Loss avg of losing  trades - by % / money / pips 80% /$ -50 / - 80 pips
Best Trade the best historical % gain and corresponding monetary profit 5% / $443
Worst Trade the best historical % loss  and corresponding monetary loss (-)5% / $-443
Maximum consecutive wins (money) the longest series of profitable trade positions and the sum of their wins $600
Maximum consecutive losses (money) the longest series of unprofitable trade positions and the sum of their losses; $-900
Maximal consecutive profit (count) the maximum profit of a series of profitable trades and the amount of profitable trades corresponding with it; 2
Maximal consecutive loss (count) the maximum loss of a series of unprofitable trades and the amount of unprofitable trades corresponding with it; 3
Win Ratio % profitable trades/all trades 60%
MAX Drawdown maximal loss of the local maximum in the deposit currency and in percents of the deposit 20%
Return /Drawdown Ratio Return /Drawdown Ratio 2
Profit Factor (Sum of earnings) / (Sum of losses) 1.6
Avg trades per day 3
Avg trade Length 7 hours
total trading days 555
Take Profit Ratio avg win / avg loss
Expetancy The average amount you can expect to win (or lose) on every trade. $50
Standard Deviation  Indicated how much variation or dispersion there is from the mean (Expectancy) $72.03
Growth time-weighted return (TWR) that mesures the performance of a dollar invested in the system since the inception 5555%
ABS Growth Return of the investment as a percentage of the total deposits 333%
Compound Daily Growth Daily compound growth leading to the total Growth over entire trading period 1%
Compound Monthly Growth Monthly compound growth leading to the total Growth over entire trading period 5%

 

Respondido

1
Desenvolvedor 1
Classificação
(878)
Projetos
1390
67%
Arbitragem
117
32% / 42%
Expirado
215
15%
Livre
2
Desenvolvedor 2
Classificação
(22)
Projetos
25
4%
Arbitragem
0
Expirado
5
20%
Livre
3
Desenvolvedor 3
Classificação
(49)
Projetos
77
43%
Arbitragem
6
33% / 50%
Expirado
22
29%
Livre
4
Desenvolvedor 4
Classificação
(28)
Projetos
30
63%
Arbitragem
0
Expirado
4
13%
Livre
Pedidos semelhantes
Looking to for EA that can pass PROP FIRM consistently. Looking to buy source code! (personal job) I WANT TO HAVE IT PASS ALL PROP FIRMS ESPECIALLY FTMO PLEASE DO NOT WASTE MY TIME PLEASE MESSAGE ME ONLY IF YOU HAVE PROOF IT WORKS IN PROP FIRMS I WILL SIMPLY REJECT YOU IF YOU DO NOT HAVE PROOF YOU ARE PASSING PROP FIRMS AND RECIEVING PAYOUTS
a.) My current Script can do the Followings, 1.a) Create an index; 1.b) Create a custom configuration chart. b.) What i want is to assemble all indexes and make an average index(Avg Index= index1 + index2 + index3 + ........../ no: of indexes) We will call this average index "APX" c.) Then we will configure another custom charts whereby we will say 1.) APXAUD=APX/AUD Index; 2.) APXCAD=APX/CAD Index; 3.)
Hi there Here is a video of the logic: its based on market structure and swings using validated highs and lows based on candle closure. Just in case you would like to take a look at the code/indicator here is the link: https://youtu.be/igj0OaQoM7o?si=7nigL8OU2Nt1Zxkx Let me know if you can help
Create MT5 deriv EA 30 - 35 USD
Hello . Am in need of a developer that can Create deriv EA .I need to create a Deriv Bot with Martingale 1 min candles 30 martingale plus I can change the amount of martigale with the option of 1 min up or down . Kindly bid and let discuss about the project
"Hello, I'm looking for a developer who can connect tradingview signal to cTrader. If you have experience with API integration and are familiar with both cTrader and TradingView, please reach out. This project involves connecting the two platforms to enable detect signals and trigger cTrader . Looking forward to collaborating with someone who can help me with the project Thanks
MT4 TRADE COPIER EA 30 - 35 USD
Hello , how are you doing? Am in need of MT4 developer that can help me to develop trade copier EA for MT4 account Kindly bid for the project if it is what you can do for me thanks
Nt8 30+ USD
I trade in NT8 and would like to code an Elliott wave measurment tool, which is very easy because I have the major Script for that.We need only to add some aspects into it. If you are interested,if you can do this do well to bid on it
Blue Angel Shark 30 - 120 USD
I would like a coded indicator that is able to combine Smart money concept, Pure price Action and Pine script so as to spot trade entries by giving Take profits and Stop loss should also be compatible with all timeframes in trading and also work with all forex markets and Derived synthetic indices. I will upload a picture below. Kindly
"Looking for a proficient developer to bring my custom NT8 strategy to life. Your expertise is pivotal for the project's success. Interested in joining forces for a fruitful collaboration? Let's delve into the specifics together. Appreciate it!"
"Seeking a skilled developer to code my custom NT8 strategy. Your expertise is crucial for this project's success. If interested, let's discuss further details and ensure a mutually beneficial collaboration. Thank you!"

Informações sobre o projeto

Orçamento
30 - 50 USD
Desenvolvedor
27 - 45 USD
Prazo
de 1 para 7 dias