This is supposed to go in the File Sharing section, but don't know how to do it, as it's not possible to open a new thread.
Or maybe not enough coffee this morning, something like that...
Anyway, this is another DoubleMAPaint, with:
- the good MAV.cs (thx Peter)
- bars can be painted
- sound alerts, with customizable file name for signals (check this site for generating your .wav).
- arrows for signals
BUT: I've not tested it, as I still have datafeed issues, so you have to test it, and check if you have multiple arrows, and multiple sound signals, if you have calculateonbarclose=false . If there is such problem, I'll have to modified the code again and plot/play sound only when FirstTickOfBar=true.
edit: screenshot added
edit again: type in DoubleMAPaint.cs, sound issue fixed
edit 06/13: Peter's version with no more DoubleMA(14,ZeroLagEMA,1,ADXVMA) bug, price type selectable. So the screenshot not updated, I'll do it later.
Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).
Last edited by sam028; June 13th, 2009 at 09:37 AM.
BTW I changed my DoubleMA line 72 'PriceTypeSupported' to the value '=true'.
For those who don't know: This gives you the extra choice in parameters with the option to choose the price input (Close, Open, Median, Typical, etc.)
For me it works ... maybe other would like the option for the 'official' version.
With the old MAV .... (used by DMA to select the type of MA in the pulldown) .... when you selected EMA previously ... you got in fact the SMA. If in the old one you selected HMA you got in fact EMA and when selecting in the old one SMA you got in fact the HMA. In the new MAV that Sam used this is corrected so that you get the right MA. So all is good now. Only consider that if you used e.g. EMA/EMA then to get the same you should now select SMA/SMA.
If you don't have a solution, check out Peter's post for DMAPaint zip that worked for me when I tried it in a staic environment. I need to try it with live data to make sure it continues to perform well. Both 'Calculate on bar close = False' and ADXVMA = 1 seem to be good with this. If so, it needs to be dropped into the Downloads section.
Both the DoubleMA and Paint are both plotting on bar close = False. The issuue I had with the DoubleMA was the indictor would act correctly when set to true but would flat line across the top of the page when set to False.
Both work correctly now when set to False.
Another .zip, for testing with the parameters included in the screenshot.
This version will play the sound once when used with CalculateOnBarClose=false (and condition=true), and the multiple arrows bug may disappear.