Hello Team,
I am looking for the "Longest Flat Period"
So after i create my strategy and backtest it, there are some great statistics available, but i cannot seem to find "Longest Flat Period" which is extremely important to me.
Is this value available in MC?
Longest Flat Period - where is it?
- Andrew MultiCharts
- Posts: 1587
- Joined: 11 Oct 2011
- Has thanked: 931 times
- Been thanked: 559 times
Re: Longest Flat Period - where is it?
Hello rkhan,
It should be available in Strategy Performance Report on Time Analysis tab.
It should be available in Strategy Performance Report on Time Analysis tab.
Re: Longest Flat Period - where is it?
Ahh yes,
Thankyou i found that.
But actually what i want is something which is "Longest Period before equity new highs"
So i want to know what is the longest period it can take for a new equity high to be created
So maybe i started the system today, and the system goes down, and it take 50 days to go back up to new equity highs.
Does this exist?
Thankyou i found that.
But actually what i want is something which is "Longest Period before equity new highs"
So i want to know what is the longest period it can take for a new equity high to be created
So maybe i started the system today, and the system goes down, and it take 50 days to go back up to new equity highs.
Does this exist?
- furytrader
- Posts: 353
- Joined: 30 Jul 2010
- Location: Chicago, IL
- Has thanked: 155 times
- Been thanked: 217 times
Re: Longest Flat Period - where is it?
That metric may not appear on the performance report, but couldn't you measure that by simply analyzing, for each bar, your net profit + openprofit and counting the bars between new high values, and then, on the last bar, printing out the highest value for that?
Re: Longest Flat Period - where is it?
Dear Sir,
net profit + open profit will give your current nett profit, thats it.
if we then count the bars with new highs, that doesnt mean anything, because what if the system is all about shorting, what if new high bars don't add to the profit, simply because of the strategy used.
What your say may work, would you like to share some code and i could test.
I really think this needs to be part of the reports though, its such an important metric
net profit + open profit will give your current nett profit, thats it.
if we then count the bars with new highs, that doesnt mean anything, because what if the system is all about shorting, what if new high bars don't add to the profit, simply because of the strategy used.
What your say may work, would you like to share some code and i could test.
I really think this needs to be part of the reports though, its such an important metric
- Andrew MultiCharts
- Posts: 1587
- Joined: 11 Oct 2011
- Has thanked: 931 times
- Been thanked: 559 times
Re: Longest Flat Period - where is it?
rkhan,
You can develop a code that would calculate the NetProfit + OpenPositionProfit and count days/bars before the next higher value of the NetProfit + OpenPositionProfit is calculated.
Please leave us such feature request if you would like to have that in report: https://www.multicharts.com/pm
You can develop a code that would calculate the NetProfit + OpenPositionProfit and count days/bars before the next higher value of the NetProfit + OpenPositionProfit is calculated.
Please leave us such feature request if you would like to have that in report: https://www.multicharts.com/pm