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.
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
The following user says Thank You to nutz505 for this post:
I am using NT 126.96.36.199 (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.
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.