NexusFi: Find Your Edge


Home Menu

 





PriceActionSwing discussion


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one Silvester17 with 177 posts (570 thanks)
    2. looks_two dorschden with 99 posts (1,124 thanks)
    3. looks_3 Big Mike with 52 posts (90 thanks)
    4. looks_4 jmont1 with 51 posts (23 thanks)
      Best Posters
    1. looks_one dorschden with 11.4 thanks per post
    2. looks_two Silvester17 with 3.2 thanks per post
    3. looks_3 Big Mike with 1.7 thanks per post
    4. looks_4 sudhirc with 1.7 thanks per post
    1. trending_up 975,163 views
    2. thumb_up 2,947 thanks given
    3. group 613 followers
    1. forum 2,093 posts
    2. attach_file 615 attachments




 
Search this Thread

PriceActionSwing discussion

  #551 (permalink)
 
Silvester17's Avatar
 Silvester17 
Columbus, OH
Market Wizard
 
Experience: None
Platform: NT 8, TOS
Trading: ES
Posts: 3,603 since Aug 2009
Thanks Given: 5,139
Thanks Received: 11,527


Cheech View Post
@dorschden, @Silvester17

Well this is interesting. Before checking all of the other setting I tried altering nothing other than the chart type in MA. It seems that when the MA is set to MedianRenko it misses some of the signals regardless of whether the chart type is Better or MedianRenko. In other words, I could make the MA ABC signal appear or disappear by only changing from MedianRenko (it disappears) to BetterRenko (it appears). This happens with the chart type set to either of the two styles.

@Cheech,

that's strange. I did check with better renko this time. unfortunately couldn't find any abc patterns, but divergence and swing trend are perfectly in sync.

don't have the median renko, so couldn't test it.


Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
Trade idea based off three indicators.
Traders Hideout
REcommedations for programming help
Sierra Chart
Increase in trading performance by 75%
The Elite Circle
Exit Strategy
NinjaTrader
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Just another trading journal: PA, Wyckoff & Trends
34 thanks
Tao te Trade: way of the WLD
24 thanks
GFIs1 1 DAX trade per day journal
16 thanks
Vinny E-Mini & Algobox Review TRADE ROOM
13 thanks
My NQ Trading Journal
12 thanks
  #552 (permalink)
 futuretrader 
Como Italy
 
Experience: Intermediate
Platform: Ninjatrader, customized
Trading: ES
Posts: 525 since Feb 2010
Thanks Given: 471
Thanks Received: 643


syxforex View Post
Thanks again Dorschden,

I've just updated my PAS PRO indicator. I do not see the developing swing volume feature in the indicator setup properties for display in a secondary panel. How do I activate this feature?

Thanks

That's the PriceActionSwingOscillator indicator.

Reply With Quote
  #553 (permalink)
 Cheech 
Mesa, AZ/USA
 
Experience: Intermediate
Platform: NinjaTrader, ThinkorSwim
Broker: AMP Futures/CQG, TDA
Trading: Currency Futures, my Harley Davidson
Posts: 107 since Jun 2012
Thanks Given: 43
Thanks Received: 133



Silvester17 View Post
@Cheech,

that's strange. I did check with better renko this time. unfortunately couldn't find any abc patterns, but divergence and swing trend are perfectly in sync.

don't have the median renko, so couldn't test it.

@Silvester17
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.

Reply With Quote
Thanked by:
  #554 (permalink)
 Cheech 
Mesa, AZ/USA
 
Experience: Intermediate
Platform: NinjaTrader, ThinkorSwim
Broker: AMP Futures/CQG, TDA
Trading: Currency Futures, my Harley Davidson
Posts: 107 since Jun 2012
Thanks Given: 43
Thanks Received: 133


dorschden View Post

@Cheech, the values should be perfectly in sync. And as you see in the screenshot they are on my end. I tested this on Daily, Minute, Tick, Volume and I believe on Range charts as well and they all line up. I don't have MedianRenko but it should work with this bar type as well.


Do you have all settings identical on the chart and in the MA? CalculateOnBarClose, Swing size, Swing type, same time frame, Visualize swings -> Retracement max/min & Entry retracement? Did you tried it on minute charts?

@dorschden, @Silvester17, @aligator

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
c. Divergence>>>Sto
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.

Attached Thumbnails
Click image for larger version

Name:	PAS Charts.png
Views:	337
Size:	125.7 KB
ID:	90414   Click image for larger version

Name:	PAS Chart 2.png
Views:	313
Size:	28.3 KB
ID:	90415  
Reply With Quote
  #555 (permalink)
 Cheech 
Mesa, AZ/USA
 
Experience: Intermediate
Platform: NinjaTrader, ThinkorSwim
Broker: AMP Futures/CQG, TDA
Trading: Currency Futures, my Harley Davidson
Posts: 107 since Jun 2012
Thanks Given: 43
Thanks Received: 133

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.

Thanks for "listening".

Attached Thumbnails
Click image for larger version

Name:	PAS Charts.png
Views:	288
Size:	118.3 KB
ID:	90515  
Reply With Quote
  #556 (permalink)
 2010 
Boston
 
Experience: Advanced
Platform: Ninja Trader
Trading: TF,CL
Posts: 35 since Apr 2011
Thanks Given: 35
Thanks Received: 3

Is it possible for the pas indicator to be plotted over another indicator?

Reply With Quote
  #557 (permalink)
MrinalDatta
Cuttack Orissa India
 
Posts: 1 since Aug 2012
Thanks Given: 0
Thanks Received: 0

Dorschden,

First of all, I have to thank you for the great work.

In my strategy I added your code snippet.


....
&& PriceActionSwingTrend(15, 7, PriceActionSwing.Utility.SwingTypes.Standard).UpTrend[0] == 1
....

I am getting error code CS 0234 at the following lines. It says, "The type or namespace name "Swing mode" could not be found. What is missing here?

private SwingMode pAS_SwingMode = SwingMode.Standard;

#region Properties
[Category("Parameters")]
public SwingMode PAS_SwingMode
{
get { return pAS_SwingMode; }
set { pAS_SwingMode = value; }
}

Reply With Quote
  #558 (permalink)
 tdschulz 
Chicago, IL
 
Experience: Intermediate
Platform: NinjaTrader
Trading: CL
Posts: 10 since Sep 2010
Thanks Given: 4
Thanks Received: 3

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?
 
Code
Print (PriceActionSwingPro(15, 7, PriceActionSwingPro.Utility.SwingTypes.Standard).DivergenceSignals[0]);
Updated 10/2/12
Found my answer starting at this post and the subsequent ones.


Primary difference between my initial attempts and the corrected code is:
PriceActionSwingPro(15,7, SwingTypes.Standard).DivergenceSignals[0]

Reply With Quote
Thanked by:
  #559 (permalink)
 rickr 
Waynesville, NC USA
 
Experience: Intermediate
Platform: NT8 & Jigsaw
Broker: NT Clearing
Trading: NQ, ES
Posts: 111 since Mar 2010
Thanks Given: 4,120
Thanks Received: 73

@dorschden

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

Pics attached . . .

Thx for the great indicator . . .

Rick

Attached Thumbnails
Click image for larger version

Name:	Minute_DT_DB.png
Views:	270
Size:	14.2 KB
ID:	90871   Click image for larger version

Name:	Range_DT_DB.png
Views:	299
Size:	45.3 KB
ID:	90872  
Follow me on Twitter Reply With Quote
  #560 (permalink)
 dorschden 
Germany
 
Experience: Master
Platform: NinjaTrader
Posts: 112 since Jun 2009
Thanks Given: 59
Thanks Received: 1,143



PHXtrader View Post
Is it possible to export the swing high low info (or any indicator data in general) into a excel sheet?

@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.

 
Code
private void CalcDnSwing(int bar, double low, bool updateLow)
 {
  if (!updateLow)
  {
    // Add the values you want to have in Excel in the print statement
    Print("Up swing Length: " + curHighLength + " duration: " + curHighDuration);
    ...
  }
  ...
}

2010 View Post
Is it possible for the pas indicator to be plotted over another indicator?

@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 View Post
In my strategy I added your code snippet.

I am getting error code CS 0234 at the following lines. It says, "The type or namespace name "Swing mode" could not be found. What is missing here?

@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[0] == 1
...


rickr View Post
I have a question regarding the plot of the DT AND DB . . .

@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.

Started this thread Reply With Quote




Last Updated on January 7, 2024


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts