On Sep 21, 9:18 am, backspace <
stephan...@gmail.com> wrote:
> Python integrationhttp://
sites.google.com/site/prof7bit/offline_charts-mqh
>
>
http://codebase.mql4.com/6217
http://www.mt4i.com/mtidesktop.aspx
A Sharpe ratio is a measure of return in relation to risk. In theory
at least, nvestment/strategy A is preferable to investment/strategy B
if its Sharpe ratio is higher, even if B made $20,000 profit whereas A
only made $5,000. Negative Sharpe ratios are definitely bad
(particularly because the risk-free rate is omitted from the
calculation – see above). Broadly speaking, a Sharpe ratio of +1.00 or
more is notably good.
MT Intelligence only displays Sharpe ratios based on your account
equity, not your account balance. The latter would be very misleading
unless you never carried positions overnight (in which case the value
would obviously be the same as for account equity).
The Sharpe ratios displayed on the Analysis tab, in relation to each
symbol, or magic number etc, should be regarded as comparative figures
only. For example, if you have a Sharpe ratio of 4.82 on EURUSD trades
versus -1.34 on USDJPY, then the risk profile of your EURUSD trades is
almost certainly preferable to your USDJPY trades. However, it is
unlikely to mean that you can produce a world-beating strategy simply
by trading EURUSD only.
------
The Stats tab shows two sets of figures calculated across all your
positions: an analysis of balance versus equity (i.e. closed positions
only versus both closed and open positions), and an analysis of
results divided up over different types of time period (e.g. average
daily return versus average weekly return).
Both grids provide the standard options for exporting them to Excel,
printing them etc.
The analysis of balance/equity includes the following fields. By
definition, the figures on the balance line only include positions
which are now closed. The figures on the equity line additionally
include positions which are still open:
Gain/loss $. Shows the cash change in the account equity/balance.
Total growth %. Shows the percentage change in account equity/balance.
Annualised growth %. Expresses the total growth as an annualised
figure (by calculating an average daily change, and annualizing it on
the basis of 256 trading days).
Annualised Sharpe ratio. Calculates an annualised Sharpe ratio based
on the daily changes in account equity.
Positions. Total number of positions opened (and also closed in the
case of the balance line).
Winners. Number of profitable positions.
Losers. Number of loss-making positions.
Win %. Winners as a percentage of total positions.
Loser %. Losers as a percentage of total positions.
Gross profit. Total profit on all winning positions.
Gross loss. Total loss on all losing positions.
Profit %. Gross profit as a percentage of gross profit plus gross
loss.
Loss %. Gross loss as a percentage of gross profit plus gross loss.
Profit factor. The Metatrader-style profit factor: gross profit
divided by gross loss.
Day-end peak. Highest value reached by the account equity/balance at
any day-end. Not necessarily representative of performance if the
account is boosted by multiple deposits.
Day-end trough. Lowest value reached by the account equity/balance at
any day-end. Not necessarily representative of performance if the
account is diminished by withdrawals.
Average trade $. The average cash result on each position, i.e. the
total gain/loss divided by the number of positions.
Average win $. The average cash result on winning positions, i.e.
gross profit divided by number of winners.
Average loss $. The average cash result on losing positions, i.e.
gross loss divided by number of losers.
Average position length (hours). The average length of a position, in
hours.
Profitability per trade-hour. The total profit/loss divided by the
total number of hours for which each trade was open.
Total lots. Total lots traded, on all positions (equity line) and on
closed positions only (balance line).
Standard deviation. The standard deviation of the daily cash changes
in account balance and equity.
The analysis by time period includes the following statistics:
Number of periods. The number of days/weeks/months/etc in the results.
Equity – winning periods. The number of periods during which account
equity increased.
Equity – losing periods. The number of periods during which account
equity declined.
Balance – winning periods. The number of periods during which account
balance increased.
Balance – losing periods. The number of periods during which account
balance declined.
Avg equity growth %. Shows the average percentage change in account
equity per day/week/month/etc.
Avg balance growth %. Shows the average percentage change in account
balance per day/week/month/etc.
Avg positions opened. Shows the average number of positions opened per
day/week/month/etc.
Avg positions closed. Shows the average number of positions closed per
day/week/month/etc.
Avg banked winners. Shows the average number of positions closed at a
profit per day/week/month/etc.
Avg banked losers. Shows the average number of positions closed at a
loss per day/week/month/etc.
Peak equity consecutive losses $. Shows the worst cash value of
consecutive daily/weekly/etc losses in account equity.
Peak balance consecutive losses $. Shows the worst cash value of
consecutive daily/weekly/etc losses in account balance.
Equity consecutive losses #. Shows the worst number of consecutive
daily/weekly/etc losses in account equity, i.e. the worst run of
losing days/weeks/etc, not their cash value. The longest run in terms
of number of periods can be different to the period which generates
the worst consecutive fall.
Balance consecutive losses #. Shows the worst number of consecutive
daily/weekly/etc losses in account balance, i.e. the worst run of
losing days/weeks/etc, not their cash value. The longest run in terms
of number of periods can be different to the period which generates
the worst consecutive fall.
Peak equity drawdown $. Shows the largest fall in account equity from
one period end to a subsequent period end, e.g. from a high at one day/
week/month end to a subsequent day/week/month end low. It does not
necessarily imply a fall in the account below your initial deposit.
For example, if account equity starts at $10,000, is $10,500 at one
day/week end, and then falls to $10,250 at a subsequent day/week end
before rising again, then the worst drawdown is shown as $-250.
Peak balance drawdown $. Shows the largest fall in account balance
from one period end to a subsequent period end (e.g. from a high at
one day/week/month end to a subsequent day/week/month end low).
Peak period-end unbooked loss. Shows the largest unbooked loss at the
end of any single day/week/month etc.
Peak period-end unbooked profit. Shows the largest unbooked profit at
the end of any single day/week/month etc.
Peak equity consecutive wins $. Shows the best cash value of
consecutive daily/weekly/etc gains in account equity.
Peak balance consecutive wins $. Shows the best cash value of
consecutive daily/weekly/etc gains in account balance.
Equity consecutive wins #. Shows the best number of consecutive daily/
weekly/etc gains in account equity (i.e. the best run of winning days/
weeks/etc, not their cash value).
Balance consecutive wins #. Shows the best number of consecutive daily/
weekly/etc gains in account balance (i.e. the best run of winning days/
weeks/etc, not their cash value).
Avg equity change $. Shows the average cash change in account equity
per day/week/month/etc.
Best equity change $. Shows the best single gain in account equity
over any single day/week/month/etc.
Worst equity change $. Shows the worst single loss in account equity
over any single day/week/month/etc.
Avg balance change $. Shows the average cash change in account balance
per day/week/month/etc.
Best balance change $. Shows the best single gain in account balance
over any single day/week/month/etc.
Worst balance change $. Shows the worst single loss in account balance
over any single day/week/month/etc.
Avg winning pips banked. Shows the average number of pips on closed
winning positions per day/week/month etc.
Avg winning pips banked. Shows the average number of pips on closed
losing positions per day/week/month etc.
Avg net pips banked. Shows the average net number of pips on closed
positions (i.e. winners minus losers) per day/week/month etc.
Balance stdev. Standard deviation of the cash changes in account
balance over each day/week/month etc.
Equity stdev. Standard deviation of the cash changes in account equity
over each day/week/month etc.
-----------