I have a project I have been working on that I just got stuck on. My goal is to track multiple automated strategies inside an indicator and to plot the average profit of the last trades stored in memory(queues). The goal is to track 24 strategies based on 8 indicators (8 based on one indy, 16 based on two indy combos). Right now I think I have most of the information being stored correctly for the single indicator strategies (MAE, MFE, Profit), but can't figure out how to plot the average of the profit queue. All strategies are broken into Long Trades - L at the end- and Short trades-S at the end. I have attached what I have so far, and here is the method I am using:
Any help would be appreciated. There are 48 plots because I plan on splitting everything into Long and short.
Last edited by Xav1029; August 31st, 2012 at 10:20 PM.
Reason: forgot file
Once again THANK YOU @gregid. You know its time to get some sleep when you miss something so simple. LongProfit[i] is actually a queue, so I don't know if you can do do tolist()??
I plan on removing the max and min values values before finding the average, so I will be using linq. Thanks again
So I got all the single indicator strategies to track correctly. Since this will be a discretionary indicator based on MFE/MAE for PT/SL targets, the plots are Average MFE/Average MAE stored in memory, excluding the minimum and maximums (I don't want a homerun to skew targets). Also if avg MFE is less than MinMFE, the plots are transparent (Minimum PT).
The dash style and color combinations will allow you to distinguish the strategies.
Here is what I have so far with a picture of default indicators, MinMFE 20, and TradeMemory 15.
Now its time to drive up to Gainesville for the Gators Football Game.
Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).