Charting for analysis

 

I was wondering if anyone has done anything like this.

Goal:

To visually chart the on going balance, equity, profit, and open P/L of an account onto a seperate security chart. So on each tick, an update occurs, when done the security chart will show a limear chart of each of these properties of the account.

Hypothetical method to achieve role:

On each tick, collect the current value of the mentioned account properties, plot the values on the chart.

If you have done something like this, can you share with me your code?

The benefits of this product:

Helps you to see and evaluate the performance of your automation. It also shows a clear indicator of when a possible manipulation of your account values takes place by brokers.

For example:

you have an account where the balance is 25500, your trade detailed history shows that you have been taking profits with no losses, but at some point and time, your balance drops to 25,200. It would be visiable on the charting tool I am suggesting with a visible gap on the balance line.

Another example:

Your balance continues to climb, but so does your open P/L, eventually the Open P/L exceeds your profits. A clear indicator would appear on this propose chart when the Open P/L balance crosses over the Profit balance indicator on the chart. This would be a clear indication that your risk is climbing and profits are not able to keep up. Seeing this on the chart could assist with determining how and when the issue runs out of control. Now the results can help you to fine tune your automation.

A nice twin to this tool would be one that can be directed to performance to a specific "other" EAID. For example, you may have 1 or many Security charts running in a single account. Each one with a different EA. You want to evaluate the performance of each to figure out which one performs better. To do this, this EA would have to have a security window for each EA/Currency pair that is to be monitored. user would have to pass the EAID of the desired target to monitor. A one to one relationship would be the result. Then this EA would have to track each trade generated by the target EAID it is associated with. This is to say that variables will be needed to keep track of that EAID's Balance, profit, Open P/L, equity value, then genernate chart display according to the values.

Sound like fun?

Side note:

This would be a really awesome tool if it could provide a multiple choice like a dropdown of possible account or trade values to monitor, but this might be difficult. It would also have to provide multiple variables like 1 to 5 different variables with dropdown selection, so that multiple predetermined values could be displayed.