Favorite Futures: Currency Futures, my Harley Davidson
Posts: 90 since Jun 2012
Thanks: 41 given,
I ran 5 tests the last time, one of each of the 4 possible combinations of the chart types with the chart and MA and 1 back to the starting combo to make sure that the MA signal was still present, which it was when I started. Each time it failed to give me a signal the MA was set to MedianRenko and each time it gave me a signal the MA was set to BetterRenko. I only ran that cycle of tests once as I didn't see anymore ABC patterns but will try it again to see if I get the same results. So far you are confirming that it works with BetterRenko, at least for the divergence and swing trend.
Thanks for helping out here.
The following user says Thank You to Cheech for this post:
I thank you all for previous responses attempting to resolve the issue I'm having with PAS and MA, so I ask that you please indulge me again.
Given that I was having so many problems and you all were not I decided to go back to basics. Here's what I did:
1. deleted all of the PAS indicators (3) and the MA template.
2. downloaded fresh copies of both. I'm posting the files sizes hoping that one of you will verify that I have the same ones. These were downloaded from the in post 525 and 526, PAS= 53,728, PASMA= 60,251
3. Copied files to my dropbox (reason explained later)
4. Created a new workspace.
5. Created a new 15 minute chart
6. only added the PASPro and Pas Osc indies.
7. Change only the follow parametes iASPro
a. ABC Pattern>>>True
b. Swing Label>>>True
8. Saved a template
9. Created 2 more charts using the template
10. Created a new MA
11. Changed only the following in the MA:
a. Divergence=Sto in the second PASPro
12. Created a second instance of MA on my other PC. The indie and template were copied from my dropbox and had never been installed on the Win 7 prior to this. Made the same change as in 11a.
I purposely set things up so that I could use as many of the defaults as possible in the supplied indie and MA template. As suggested earlier I stayed away from the Renko charts and used all 15 minute charts, again to avoid making any more changes than necessary.
The first 11 steps was performed on my XP system, the 12th was on my Win7 system. In the screenshots below the bottom MA is from the Win7 system. Note that the Win7 MA and XP MA are not the same even though the SS were taken within a minute of each other during a period of low activity. Both systems are cable connected to a router and with 25-30 service. While the win7 it is closer to what is actually reflected in the charts there are differences particularly in the swing relationships. The XP MA is way off. There is an ABC pattern but that was picked up earlier on WIN 7 but not on XP. The divergences on Win7 all appear to be correct. I believe the Swing Trend is derived from the PASOsc which if I'm reading this correctly is a "1" and in the XP MA it is indicated correctly (but CL is not) but the Win7 MA stated 6A as a "No" (0).
I have no idea why I can not get one MA to agree with the charts never-the-less two now. If no one else is having this problem then it must be something that I am doing (or not doing) but I'll be (word omitted) if I can find it.
The second chart on CL shows the latest swing patterns as DT>>>HL>>>HH. In this case the XP MA (not shown) has a swing relationship of "No" with Hidden divergence (both incorrect) and the Win7 (also not shown) has "HH/HL" (incorrect) and Regular divergence (correct).
Thanks for your and anyone who can help, even if means correcting a misunderstanding on what I am expecting to see here.
An updated post on this follows.
Last edited by Cheech; September 28th, 2012 at 03:38 PM.
Reason: Additional information in next post
Below are the same charts but much later on in the day. As before the bottom MA is from my Win7 system and is mostly correct. However, I believe the following on the Win7 MA (which is mostly correct) are incorrect:
1. the Swing trend is "No" on 6E and and the chart shows "Down"
2. the Swing relationship is "No" on 6E and the chart shows "LL/LH"
3. the Divergence on CL is "No" and the chart shows "hDiv"
I monitored this for another 10 minutes or so and nothing changed.
Concerning the XP/MA, I've sent a note (with attachments) to NT tech support to see if they can shed any light as to why these are so different but as of yet have not heard back from them.
I'm trying to create a strategy utilizing divergences and have the following code to check the outputs but I receive an error saying it's a 'method' which is not valid in the given context. Any advice how to use these divergences within other code?
I have a question regarding the plot of the DT AND DB . . .
I have noticed that I am not getting exact DT AND DB plot levels . . . I am wondering if it is because of a setting I have for the indicator or if it plots this way purposefully . . . like Al Brooks says "Close is Close enuf" . . . I find the discrepancy on both minute charts and range bar charts
@PHXtrader, this isn't possible. But you could add a "print statement" to the PAS code in the "CalcDnSwing" and "CalcUpSwing" functions and print the swing values to NinjaTraders output window and copy the lines into excel.
@2010, yes and no. If the other indicator is plotted in the price panel I believe it'll work, but if it's an oscillator which is drawn in a sub panel only the dot plots will mark the high and low points and the rest of the PAS will not work.
@MrinalDatta, the trend data is now accessible from the PriceActionSwingOscillator. You have to add "using PriceActionSwingOscillator.Utility; " in the using region in the top of the indicator. And than you can check for the values with:
&& PriceActionSwingOscillator(15, 7,SwingTypes.Standard).SwingTrend == 1
@rickr, double bottoms and tops are calculated with an ATR offset. If you set the parameter "Double bottom/top strength" = 1 you should only get identical double bottoms/tops.
The following 6 users say Thank You to dorschden for this post: