PriceActionSwing discussion (Page 56) - NinjaTrader | futures.io
futures.io futures trading
 

Go Back   futures.io

> Futures Trading, News, Charts and Platforms > Platforms and Indicators > NinjaTrader


PriceActionSwing discussion
Started:November 23rd, 2009 (11:23 AM) by dorschden Views / Replies:391,805 / 1,343
Last Reply:December 1st, 2016 (04:53 AM) Attachments:423

Welcome to futures.io.

Welcome, Guest!

This forum was established to help traders (especially futures traders) by openly sharing indicators, strategies, methods, trading journals and discussing the psychology of trading.

We are fundamentally different than most other trading forums:
  • We work extremely hard to keep things positive on our forums.
  • We do not tolerate rude behavior, trolling, or vendor advertising in posts.
  • We firmly believe in openness and encourage sharing. The holy grail is within you, it is not something tangible you can download.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.


You'll need to register in order to view the content of the threads and start contributing to our community. It's free and simple, and we will never resell your private information.

-- Big Mike
     

Reply
 423  
 
Thread Tools Search this Thread

PriceActionSwing discussion

Old September 26th, 2012, 09:58 PM   #551 (permalink)
Market Wizard
Columbus, OH
 
Futures Experience: None
Platform: NT-9G, TOS
Favorite Futures: ES
 
Silvester17's Avatar
 
Posts: 3,229 since Aug 2009
Thanks: 4,424 given, 9,886 received


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.

Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).

Reply With Quote
     
The following user says Thank You to Silvester17 for this post:
     

Old September 26th, 2012, 10:10 PM   #552 (permalink)
Elite Member
Milan Italy
 
Futures Experience: Intermediate
Platform: Ninjatrader, Sierra Chart
Favorite Futures: ES
 
Posts: 516 since Feb 2010
Thanks: 465 given, 619 received


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
     

Old September 26th, 2012, 11:48 PM   #553 (permalink)
Elite Member
Mesa, AZ/USA
 
Futures Experience: Intermediate
Platform: NinjaTrader, ThinkorSwim
Broker/Data: AMP Futures/CQG, TDA
Favorite Futures: Currency Futures, my Harley Davidson
 
Posts: 90 since Jun 2012
Thanks: 41 given, 125 received



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
     
The following user says Thank You to Cheech for this post:
     

Old September 28th, 2012, 02:24 AM   #554 (permalink)
Elite Member
Mesa, AZ/USA
 
Futures Experience: Intermediate
Platform: NinjaTrader, ThinkorSwim
Broker/Data: AMP Futures/CQG, TDA
Favorite Futures: Currency Futures, my Harley Davidson
 
Posts: 90 since Jun 2012
Thanks: 41 given, 125 received


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
PriceActionSwing discussion-pas-charts.png   PriceActionSwing discussion-pas-chart-2.png  

Last edited by Cheech; September 28th, 2012 at 03:38 PM. Reason: Additional information in next post
Reply With Quote
     

Old September 28th, 2012, 03:19 PM   #555 (permalink)
Elite Member
Mesa, AZ/USA
 
Futures Experience: Intermediate
Platform: NinjaTrader, ThinkorSwim
Broker/Data: AMP Futures/CQG, TDA
Favorite Futures: Currency Futures, my Harley Davidson
 
Posts: 90 since Jun 2012
Thanks: 41 given, 125 received

Continuation from above post

Futures Edge on FIO

Are you a NinjaTrader user?

 
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
PriceActionSwing discussion-pas-charts.png  
Reply With Quote
     

Old October 1st, 2012, 11:14 AM   #556 (permalink)
Elite Member
Boston
 
Futures Experience: Advanced
Platform: Ninja Trader
Favorite Futures: TF,CL
 
Posts: 33 since Apr 2011
Thanks: 27 given, 2 received

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

Reply With Quote
     

Old October 1st, 2012, 03:52 PM   #557 (permalink)
Trading Apprentice
Cuttack Orissa India
 
Futures Experience: Beginner
Platform: NinjaTrader
Favorite Futures: ES
 
Posts: 1 since Aug 2012
Thanks: 0 given, 0 received

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
     

Old October 1st, 2012, 06:13 PM   #558 (permalink)
Elite Member
Chicago, IL
 
Futures Experience: Intermediate
Platform: NinjaTrader
Favorite Futures: CL
 
Posts: 8 since Sep 2010
Thanks: 3 given, 2 received

Using within a strategy

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.
https://futures.io/ninjatrader/1272-priceactionswing-discussion-29.html#post136495

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


Last edited by tdschulz; October 2nd, 2012 at 02:50 PM. Reason: Found my own answer
Reply With Quote
     
The following user says Thank You to tdschulz for this post:
     

Old October 2nd, 2012, 01:14 PM   #559 (permalink)
Elite Member
Ghost Ranch NM
 
Futures Experience: Intermediate
Platform: NT / Rithmic
Broker/Data: Vision/Rithmic
Favorite Futures: NQ YM
 
Posts: 78 since Mar 2010
Thanks: 4,004 given, 53 received

DT & DB Plot

@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
PriceActionSwing discussion-minute_dt_db.png   PriceActionSwing discussion-range_dt_db.png  
Reply With Quote
     

Old October 4th, 2012, 08:48 AM   #560 (permalink)
Elite Member
Germany (Meck-Pomm)
 
Futures Experience: Advanced
Platform: NinjaTrader
 
Posts: 107 since Jun 2009
Thanks: 50 given, 934 received



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.

Reply With Quote
     
The following 6 users say Thank You to dorschden for this post:
     

Reply



futures.io > Futures Trading, News, Charts and Platforms > Platforms and Indicators > NinjaTrader > PriceActionSwing discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)
 

NinjaTrader 8: Features and Enhancements, Tips and Tricks

Dec 6
 

Al Brooks: Stop Losing when a Good Trade goes Bad, Correcting Mistakes

Elite only
 

Trading Technologies: Algo Design Lab hands-on

Dec 13
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Murray Math Discussion? jwhtrades Traders Hideout 5 July 27th, 2011 10:06 PM
Looking for general discussion thread. jctrader Traders Hideout 2 May 2nd, 2011 03:23 PM
PriceActionSwing jeff92887 NinjaTrader 2 March 1st, 2011 07:15 AM


All times are GMT -4. The time now is 06:20 PM.

Copyright © 2016 by futures.io. 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.
 
no new posts

Page generated 2016-12-04 in 0.15 seconds with 20 queries on phoenix via your IP 54.147.236.192