NexusFi: Find Your Edge


Home Menu

 





DoubleMAPaint with sound arrows...


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one Big Mike with 24 posts (0 thanks)
    2. looks_two Buster with 12 posts (0 thanks)
    3. looks_3 Peter with 8 posts (4 thanks)
    4. looks_4 sam028 with 7 posts (0 thanks)
    1. trending_up 25,597 views
    2. thumb_up 4 thanks given
    3. group 10 followers
    1. forum 68 posts
    2. attach_file 18 attachments




 
Search this Thread

DoubleMAPaint with sound arrows...

  #1 (permalink)
 
sam028's Avatar
 sam028 
Site Moderator
 
Posts: 3,761 since Jun 2009
Thanks Given: 3,824
Thanks Received: 4,629

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.



Attached Files
Elite Membership required to download: DMA.zip
Follow me on Twitter Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Request for MACD with option to use different MAs for fa …
NinjaTrader
ZombieSqueeze
Platforms and Indicators
My NT8 Volume Profile Split by Asian/Euro/Open
NinjaTrader
NexusFi Journal Challenge - April 2024
Feedback and Announcements
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Retail Trading As An Industry
58 thanks
Battlestations: Show us your trading desks!
48 thanks
NexusFi site changelog and issues/problem reporting
47 thanks
GFIs1 1 DAX trade per day journal
32 thanks
What percentage per day is possible? [Poll]
31 thanks

  #2 (permalink)
 
Peter's Avatar
 Peter 
Brisbane; Australia
 
Experience: Intermediate
Platform: NT
Broker: IB/TDA needing new broker
Trading: Futures, Forex, Stocks
Posts: 97 since Jun 2009
Thanks Given: 91
Thanks Received: 118

Thanks Sam.

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.

Reply With Quote
  #3 (permalink)
 
sam028's Avatar
 sam028 
Site Moderator
 
Posts: 3,761 since Jun 2009
Thanks Given: 3,824
Thanks Received: 4,629


From Peter on chat:

---------------------------
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.
---------------------------

Follow me on Twitter Started this thread Reply With Quote
  #4 (permalink)
 
Riverend's Avatar
 Riverend 
Westlake, Oh
 
Experience: Beginner
Platform: NinjaTrader
Trading: CL
Posts: 356 since Jun 2009
Thanks Given: 1,519
Thanks Received: 220

I was not able to get the "original version" of DoubleMA to work with calculate on bar close =false. With the DMA paint I can now do this. Maybe someone else had the same issue.
Vic

Reply With Quote
  #5 (permalink)
Neal
Dallas
 
Posts: 23 since Jun 2009
Thanks Given: 27
Thanks Received: 27

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.

Reply With Quote
  #6 (permalink)
Neal
Dallas
 
Posts: 23 since Jun 2009
Thanks Given: 27
Thanks Received: 27

Here's the link - Post #4
[COLOR=#800080]https://nexusfi.com/showthread.php?t=48[/COLOR]

Reply With Quote
  #7 (permalink)
 
sam028's Avatar
 sam028 
Site Moderator
 
Posts: 3,761 since Jun 2009
Thanks Given: 3,824
Thanks Received: 4,629

Neal, did you read, at the end of my post:
"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."

The zip posted here is the good one.

Follow me on Twitter Started this thread Reply With Quote
  #8 (permalink)
 
Riverend's Avatar
 Riverend 
Westlake, Oh
 
Experience: Beginner
Platform: NinjaTrader
Trading: CL
Posts: 356 since Jun 2009
Thanks Given: 1,519
Thanks Received: 220


Neal View Post
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.

Thanks Neal,
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.

Vic

Reply With Quote
  #9 (permalink)
 
sam028's Avatar
 sam028 
Site Moderator
 
Posts: 3,761 since Jun 2009
Thanks Given: 3,824
Thanks Received: 4,629

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.

Attached Thumbnails
Click image for larger version

Name:	dma20090615.JPG
Views:	424
Size:	64.4 KB
ID:	102  
Attached Files
Elite Membership required to download: DoubleMAPaintfortesting.zip
Follow me on Twitter Started this thread Reply With Quote
  #10 (permalink)
 
sam028's Avatar
 sam028 
Site Moderator
 
Posts: 3,761 since Jun 2009
Thanks Given: 3,824
Thanks Received: 4,629


Hum, still something strange

Attached Thumbnails
Click image for larger version

Name:	multiplearrows.JPG
Views:	360
Size:	77.7 KB
ID:	104  
Follow me on Twitter Started this thread Reply With Quote





Last Updated on December 13, 2013


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts