NexusFi: Find Your Edge


Home Menu

 





PkPriceAlert2 for NT7 - need help


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one ZTR with 12 posts (1 thanks)
    2. looks_two Todd with 8 posts (0 thanks)
    3. looks_3 oraclewizard77 with 6 posts (0 thanks)
    4. looks_4 Day Trading Fool with 5 posts (0 thanks)
    1. trending_up 15,061 views
    2. thumb_up 8 thanks given
    3. group 6 followers
    1. forum 43 posts
    2. attach_file 13 attachments




 
Search this Thread

PkPriceAlert2 for NT7 - need help

  #1 (permalink)
 
Todd's Avatar
 Todd 
Alpharetta, GA
 
Experience: Intermediate
Platform: ninja
Broker: Mirus / Zenfire
Trading: ES
Posts: 234 since Jun 2009
Thanks Given: 28
Thanks Received: 40

In Ninja 6.5, I was able to get this indicator (attached below) to work quite well. With the ability to sound on horizontal line breaks with your own wav file name set in the indicator settings.

But, when I try to import it into NT7, it won't import. I get the error message shown in the screenshot below.
TechSmith | Screencast.com, online video sharing, 2010-05-23_1240

You would think that this message might have something to do with the fact that there is a native ninja indicator called price alert but both pricealert and pkpricealert2 co-existed for me in 6.5 so I don't think that is the problem.

I exported from 6.5 and I think I did that part correctly so I'm not sure what the deal is with NT7 import.

Any help is appreciated.

Attached Files
Elite Membership required to download: PKPriceAlert2.zip
Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
My NT8 Volume Profile Split by Asian/Euro/Open
NinjaTrader
NexusFi Journal Challenge - April 2024
Feedback and Announcements
Exit Strategy
NinjaTrader
Futures True Range Report
The Elite Circle
Are there any eval firms that allow you to sink to your …
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Get funded firms 2023/2024 - Any recommendations or word …
61 thanks
Funded Trader platforms
39 thanks
NexusFi site changelog and issues/problem reporting
26 thanks
The Program
18 thanks
GFIs1 1 DAX trade per day journal
18 thanks
  #3 (permalink)
 
ZTR's Avatar
 ZTR 
 
Experience: Advanced
Platform: NinjaTrader7
Broker: Mirus RCG/Zen-Fire
Trading: CL & 6e, looking at ES, ZB and AU again.
Posts: 2,096 since Nov 2009
Thanks Given: 1,099
Thanks Received: 1,393


The error is due to

Line 79: double PriceAlert = Math.Round(CO.Value,4);

I could not Round in the F1 help. Webinar time, will return later.

R.I.P. Andy Zektzer (ZTR), 1960-2010.
Please visit this thread for more information.
Visit my NexusFi Trade Journal Reply With Quote
  #4 (permalink)
 
Todd's Avatar
 Todd 
Alpharetta, GA
 
Experience: Intermediate
Platform: ninja
Broker: Mirus / Zenfire
Trading: ES
Posts: 234 since Jun 2009
Thanks Given: 28
Thanks Received: 40

Ztrader,

Do you know how to fix this error for NT7?

Todd

Started this thread Reply With Quote
  #5 (permalink)
 
ZTR's Avatar
 ZTR 
 
Experience: Advanced
Platform: NinjaTrader7
Broker: Mirus RCG/Zen-Fire
Trading: CL & 6e, looking at ES, ZB and AU again.
Posts: 2,096 since Nov 2009
Thanks Given: 1,099
Thanks Received: 1,393

No this is a code break without any documentation on the NT site. I tried. There must some new round function that I do not know about.

Need someone more a lot more experienced with C# to fix it.

R.I.P. Andy Zektzer (ZTR), 1960-2010.
Please visit this thread for more information.
Visit my NexusFi Trade Journal Reply With Quote
  #6 (permalink)
 
Todd's Avatar
 Todd 
Alpharetta, GA
 
Experience: Intermediate
Platform: ninja
Broker: Mirus / Zenfire
Trading: ES
Posts: 234 since Jun 2009
Thanks Given: 28
Thanks Received: 40

ok...thanks

I'll post a question about this rounding issue on the question section of the main page.. maybe someone will see the question and answer.

Todd

Started this thread Reply With Quote
  #7 (permalink)
 
DavidHP's Avatar
 DavidHP 
Isla Mujeres, MX
Legendary Market Wizard
 
Experience: Advanced
Platform: NinjaTrader
Broker: Ninjatrader / Optimus Futures / AmpFutures
Trading: ES / 6E / 6B / CL
Frequency: Every few days
Duration: Minutes
Posts: 1,609 since Aug 2009
Thanks Given: 11,327
Thanks Received: 2,743

Did you see this:

Draw Changes in NT7 - [AUTOLINK]NinjaTrader[/AUTOLINK] Support Forum

Rejoice in the Thunderstorms of Life . . .
Knowing it's not about Clouds or Wind. . .
But Learning to Dance in the Rain ! ! !
Follow me on Twitter Reply With Quote
  #8 (permalink)
 
ZTR's Avatar
 ZTR 
 
Experience: Advanced
Platform: NinjaTrader7
Broker: Mirus RCG/Zen-Fire
Trading: CL & 6e, looking at ES, ZB and AU again.
Posts: 2,096 since Nov 2009
Thanks Given: 1,099
Thanks Received: 1,393

I still could not figure out the answer NT support gave. Hope someone does.

R.I.P. Andy Zektzer (ZTR), 1960-2010.
Please visit this thread for more information.
Visit my NexusFi Trade Journal Reply With Quote
  #9 (permalink)
 MXASJ 
Asia
 
Experience: Beginner
Platform: NinjaTrader, TOS
Posts: 796 since Jun 2009
Thanks Given: 109
Thanks Received: 800

This may or may not help but this week I'll be coding an NT7 Strategy that monitors the price of up to six instruments and has individually configurable sound files for each alert. I'm building it as a strategy and not an indicator to reduce the number of open charts on my workspace.

I'll post it in the downloads section when I'm done.

Reply With Quote
  #10 (permalink)
 
roonius's Avatar
 roonius   is a Vendor
 
Posts: 131 since Jun 2009
Thanks Given: 20
Thanks Received: 295



Todd View Post
ok...thanks

I'll post a question about this rounding issue on the question section of the main page.. maybe someone will see the question and answer.

Todd


Has nothing to do with rounding itself. Properties of draw objects are different in NT7

Attached Files
Elite Membership required to download: PKPriceAlert2.cs
Reply With Quote
Thanked by:




Last Updated on November 22, 2014


© 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