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 can get the PKPriceAlert2 indicator to work on CL, 6e and GC. It's actually pretty cool to be able to draw a horizontal line and get an audio alert at that price.
However, I can't get this indicator to work for 6a or 6e. After messing around with various tests, I can see that the problem lies in the code only looking for 2 digits instead of 4. Since 6a, 6e, 6b, etc have 4 digits after the 1 (1.3670, etc), the indicator in it's current form won't work on those.
Can someone tell me what lines to edit how to change the code to allow for 2 more digits so it can be used on currencies that have 4 digits after the decimal point?
Thanks,
Todd
Can you help answer these questions from other members on NexusFi?
If you look at the code of any indicator that has user defined input(s) there is code for each category near the bottom before the Ninja Generated code.
I tried to copy and paste the code from your indicator into my indicator but I got several syntax errors. I'm guessing there were too many brackets or not enough brackets, etc.
Would you take the indicator that I've attached on the original post below and add your code to so the audio wave file fields will show up on the indicator settings input screen? I'm asking this because I think you will know how to deal with the syntax errors that I ran into.
If you could change the code and reattach it to a new post I would greatly appreciate it.