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)
Hi. I am setting up an indicator and strategy with Bloodhound and Blackbird and wanted to use in it Priceactionswing oscillator.
I receive the following error:
Time Category Message
7/6/2020 12:30:53 AM Default Indicator 'PriceActionSwingOscillator': Error on calling 'OnStateChange' method: Object reference not set to an instance of an object
I use Tick Charts in NinjaTrader 8 for Forex currency pairs.
I also use the PASPro indicator.
PASPro won't show on a chart for certain combinations of ticks per bar and currencies.
For example, PASPro won't display on a 100-tick chart of the GBPUSD. It will display at 75 ticks per bar, and at 150 ticks per bar. In other words changing the Tick setting on the GBPUSD chart from 100 to something else causes PASPro to appear on the chart.
Sometimes this effect can be changed by modifying the number of days loaded in NinjaTrader, but this is also a problem, as having to load many days when one is displaying short-term charts is slow in both loading and chart calculation.
This is very strange. It should be working. You can check to see if the 'Swing size' is correct or compare the swings on the chart to the PAS Oscillator (below the chart after installing, comes with the same package) to see if the Oscillator behaves the same.
Dear Mich62,
Thank you for your help in this matter.
1. Changing the ‘Swing size’ makes no difference to the problem.
2. The PAS Oscillator is not affected by the # of days loaded, and works normally.
3. I’ve made a video of a new chart of the GBPUSD with only the PASPro and PASO loaded.
The video shows the effect of loading from 1 to 10 days of data.
As you can see, PASPro disappears when 1, 5 and 8 days of data are loaded.
In case I can't upload, here's a 4-day expiring link to the .wmv file: https://photos.onedrive.com:443/share/7EB5D0A4490F42A1!534922?cid=7EB5D0A4490F42A1&resId=7EB5D0A4490F42A1!534922&authkey=!AGPfZz6bCfTLtpA&ithint=video&e=MQPGIQ
The machine has the latest version of NT8 and all Windows 10 updates installed.
I look forward to your further assistance Mich62
Yours sincerely,
David McMurray
Because the Oscillator is not effected I assume a bug which occurs as a result of (a specific combination of) used properties/settings.
For this you will need to contact the developer (dorschden?).
What you can do is to deselect the properties/settings you use one by one to try to identify which one is causing the problem. There is still a chance the problem occurs with all settings deselected.
I believe the version you are using is not accurate and therefore I use another version made by Poncho which I cannot find anymore here on the forum (think he deleted the files). This version doesn't have the problem (and shows slightly different values), however, it doesn't have all the settings (and that's also why I think it's in the settings).
I see 3 options you can do:
1) try to identify the setting you use which causes the problem (if it is a specific setting that is causing the issue).
2) contact the developer.
3) try another version of PAS (there are different versions in circulation)
Look at my video. Some days load very fast (maybe because of the weekend) and some take more time to load. Days 6 and 7 are loaded quite fast while day 8 takes some time. It seems there is something causing difficulties. In my case the data is still loaded but in your case the program is unable to (due to a bug).
Attached the PAS version I am using (from Poncho with less settings) and a video. Hope it helps. Good luck.
Thank you so much for the time you've spent helping me, and for the video and indicator files.
I've looked at the indicator's settings, but haven't found anything that affects the problem yet.
When I open my NT8 workspace, it's not always the same charts that don't load PASPro. I just opened my workspace and 6 of the 8 charts didn't load the indicator correctly, but it's usually only about 3.
I've attached a screen shot of the NT8 log that shows a number of errors involving the PASPro indicator.
I tried importing your version of PASPro but ran into the problem highlighted in yellow in the attachment, so I think I'll take up your suggestion of contacting the developer, dorschden. Can you tell me how I would do that please Michel?
For the indicator (which I attached) to install you need first to remove all of the existing indicator. I think you will find info in the thread and maybe in the download section of the indicator. You can also use the search box on the home page.