Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
I was able to import pkpricealert2.cs after 1st compressing it into a zip file for NinjaTrader 7.0.
I now see an indicator that I can add to my chart as pricealert assuming this is the correct indicator to use. But, I don't see how or where to set an alert for a audio file to be activated.
For example for ES 08-10 current price is 1111.25. In the PriceAlert indicator, it has a parameter for price which is set at 0, I have changed it to 1106, and it then does automatically draw a horizontal line at that price. I then added a 2nd PriceAlert indicator, and set price to 1106 from default 0, and I now have a 2nd line drawn. I don't see anywhere where to put in what sound file to use, but I assume it will make a sound when price hits this line. I will test this on Tue during live trading.
What I would rather have is if someone could add a price alert to this LabelHorizontallines.zip file, so that I would hear an audio file if price were to hit this line.
This indicator allows one to draw a horizontal line and it puts a price label on that line, plus you can then move the line up or down on the chart.
Elite Membership required to download: LabelHorzLines.zip
I posted this on the NT site a while ago. It modified the original code by adding the alerts and also allows you to set the font size on the label and fixed a couple of other items on it.
You need to define references to System.Configuration and Accessibility when you import the cs files.
This will only work on the active displayed charts. It will allow you to move the lines around and reset the alerts.
Rich
Elite Membership required to download: LabelHorzLineAlerts.zip
How do I define references to System.Configuration and Accessibility after I import the CS files. Please note I am using NT 7.00.17 Please feel free to give an example of what you are talking about. Thanks.
Step 1. Edit the indicator
Step 2. Right Click in editor Panel and select references
Step 3. Click on Add..
Step 4. Select Accessibility.dll most likely it will be in C:\Windows\Microsoft.NET\Framework\v2.0.50727 directory
Step 5. Repeat Steps 3 & 4 for System.Configuration.dll
The above path is what I used on my machine which is installed with Windows 7 x64 so the path may be different on your machine so just search for the dlls.
If you need a screenshot let me know it was giving me issues attaching a file
I am using NT 7.0.0.17 (also Windows 7), when I try to import the indicator, I get the message Accessibility, System.configuration have to be added to use the products in the imported assembly.
Next, I get "import failed message". The NinjaScript archive file may contain duplicate names, or there is a required file missing either on your pc or there is a require file missing on your pc or import archive.
The only other thought I have is that I have an indicator called LabelHorzLine, don't know if that is causing the problem and if so how do I remove that indicator and use this one. I also deleted this indicator and tried to re-import the new one and still have the same problem.
nutz505
Step 1. Edit the indicator
Step 2. Right Click in editor Panel and select references
Step 3. Click on Add..
Step 4. Select Accessibility.dll most likely it will be in C:\Windows\Microsoft.NET\Framework\v2.0.50727 directory
Step 5. Repeat Steps 3 & 4 for System.Configuration.dll
The above path is what I used on my machine which is installed with Windows 7 x64 so the path may be different on your machine so just search for the dlls.
If you need a screenshot let me know it was giving me issues attaching a file
I also opened a support question on NT forum, and this was their response:
You will need to go to the original author and inquiry on how to install these indicators properly. To get to editing an indicator you can just go to Tools>Edit NinjaScript and open any file (doesn't have to be these indicators) to add references. Perhaps if you did that on any indicator/strategy file with the required references you will then be able to compile and then import afterwards.