Need MQL4 formulas to gather statistics of a magic number

Spezifikation

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%

 

Bewerbungen

1
Entwickler 1
Bewertung
(878)
Projekte
1390
67%
Schlichtung
117
32% / 42%
Frist nicht eingehalten
215
15%
Frei
2
Entwickler 2
Bewertung
(22)
Projekte
25
4%
Schlichtung
0
Frist nicht eingehalten
5
20%
Frei
3
Entwickler 3
Bewertung
(49)
Projekte
77
43%
Schlichtung
6
33% / 50%
Frist nicht eingehalten
22
29%
Frei
4
Entwickler 4
Bewertung
(28)
Projekte
30
63%
Schlichtung
0
Frist nicht eingehalten
4
13%
Frei
Ähnliche Aufträge
I need an expert in the development of a fully automated trading robot For MetaTrader. The Trading Robot must be "Web based" so it can be accessed or used through a website, You can view a screenshot here; https://www.awesomescreenshot.com/image/48030918?key=79b0ff91455d862746e9b649341f4cdb Why do i need? Simple Enough, This is what i need from my Trading Robot EA. The Trading Robot can only be accessed through a
Metatrader 30+ USD
I would like to calculate the deviations between the companies listed below with Meta Trader. Would you be interested? BETWEEN 01.00 AT NIGHT AND 00.00 OF THE NEXT DAY (FOR HOURS WHEN THE GOLD MARKET IS OPEN) *Instant comparison of prices of the same parities of different companies *Determination of deviation rates in downward or upward movements (average prices, prices below and above the average) *Detection of
Greenprint strategy 30 - 100 USD
Hello i need someone who can create an indicator to show the resistance support and pivot areas like in the shown images the indicators are bollinger bands moving averages also we have rsi and ma . Pictures below. You should be able to do work properly requesting a trial check when work is complete the indicator should also work with synthetic indices
SpotBot45 30+ USD
I know nothing about trading so am looking for a custom made automated trading bot with medium risk and maximum returns.I am looking for about a ten percent return per day minimum and minimise as much risk where possible
I would like to make a SMC EA for MT5 based on multi timeframes analyzing the price action. and make it more details with more user input added.'' source code needed'' First of all here's a video which helped me for this: https://www.youtube.com/watch?v=vEXji2ClXMc The ea should find a entry signal that based on the SMC concept below and each entry trigger can be turned on and off. Based on the Multi timeframe of
Hello, I need a quote for developing a bot for my renko based trading system on ctrader platform and based on the attached specification your expertise is highly needed for this project Thanks
i want an EA that enters based on the form of a candle if the lower wick is bigger then the rest of the candle i want buy and if the upperwick is bigger then the rest of the candle i want a sell single, i want it to enter with the sl 1 tick lower or higher then the lower or upperwick depening on buy or sell trade. then the stoploos needs to move when the trade goes to 0,5% sl too break even, when trad eis on 1% sl to
Hello, please let me know if any of these strategies can be turned into a bot (automation) and run 24/7 on a vps. Also note that they might not use the latest versions of indicators, if this matters, then please check for the latest versions. Thank you! Dan https://1drv.ms/f/s!Alr17W7ddJLYgYgiFKZYluOfokbfQg
Hello! Thanks for reading. I need an EA with an inbuilt/already made strategy that I can use for prop firms. The drawdown should be very low of only 2-4% max and another criteria is that no one else other than you are currently using it and if you happen to use it you must tell me which prop firm you are using it on to avoid us using the same EA on the same prop firm to get the account denied. As you know or may
Hello, I would like you to help me develop a simple Expert Advisor (EA) for trading the Boom and Crash markets. All the project requirements is available with me . kindly bid if you can develop EA for boom and out crash . Thanks

Projektdetails

Budget
30 - 50 USD
Für die Entwickler
27 - 45 USD
Ausführungsfristen
von 1 bis 7 Tag(e)