PriceActionSwing discussion - NinjaTrader | futures.io
futures io futures trading


PriceActionSwing discussion
Started: by dorschden Views / Replies:415,173 / 1,452
Last Reply: Attachments:450

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
 450  
 
Thread Tools Search this Thread
 

PriceActionSwing discussion

  #471 (permalink)
Elite Member
London
 
Futures Experience: Intermediate
Platform: ninjatrader, multicharts, MT4
Broker/Data: IB, PFG Best
Favorite Futures: 6E, EMD, TF
 
Posts: 256 since Jul 2009
Thanks: 109 given, 144 received


madLyfe View Post
how do we get the swing volume down to the lower panel on the new version?

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

hey folks where does the priceaction sw2ing and wise wave for mc Come from, i would like to see how they work on MC

Reply With Quote
 
  #472 (permalink)
Identify Evaluate Execute
Mercer Island WA
 
Futures Experience: Advanced
Platform: Ninjatrader/Strategy Desk
Broker/Data: Various
Favorite Futures: TF/NQ/ES/Stocks
 
djkiwi's Avatar
 
Posts: 561 since May 2010
Thanks: 980 given, 1,517 received

Hi guys, I was just reviewing the action from today. Here is interesting stat that puts the monstrous move on oil today in perspective. I've attached an analysis of the swing stats on oil for two years from the beginning of 2010 to end of 2011 using a 20 Better Renko Swing chart.

The arrow is pointing at the 99th percentile for a LL to HH. This is 557 ticks which means the swing of 557 ticks was in the top 1% of swings for this period.

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


Now check out the swing in the chart below. 806 tick/52 Bar LL to HH. I don't have a data point near this. Note the median/50th percentile in shaded purple for a LL to a HH is 249 ticks. Also in bars in you look at the bottom panel you can see the 99th percentile in bars in 44 whereas this swing was 52.

This is one reason why I believe it is better to use medians in your statistical analyses as extreme outliers like this can skew the results of the data set.

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


Cheers
DJ

Reply With Quote
The following 6 users say Thank You to djkiwi for this post:
 
  #473 (permalink)
Trading Apprentice
Kosice, Slovakia
 
Futures Experience: Beginner
Platform: NinjaTrader
Favorite Futures: YM
 
Posts: 1 since Feb 2012
Thanks: 2 given, 0 received


Greetings.
Firstly I would like to thank you for this awesome indicator and for deciding to make it available in the free section.
However, due to lack of any real coding experience, I have been futilely trying to alter the dreaded three lines for several hours now, in order to make PAS display divergences based on NT's default FisherTransform indicator (period 10)
I am stuck in place and in desperate need of help, any help will be greatly appreciated!

Reply With Quote
 
  #474 (permalink)
Trading Apprentice
Boston, MA
 
Futures Experience: Advanced
Platform: IB, NT7
Favorite Futures: Equities
 
Posts: 10 since Jun 2012
Thanks: 22 given, 4 received

PasMA.XML template not loading.....

Hi-

When I try to open a chart using the PasMA.xml template, I get the following NinjaTrader pop-up:

"Unable to open chart template 'PasMA'. Chart templates made from versions prior to NinjaTrader 7 are incompatible and need to be remade."

I'm using NT 7.0.1000.10.

Are other people able to use the XML file that was posted here on June 15th, 2012 able to get it to work with NT 7?

Thanks......

Reply With Quote
 
  #475 (permalink)
Market Wizard
Columbus, OH
 
Futures Experience: None
Platform: NT 8, TOS
Favorite Futures: ES
 
Silvester17's Avatar
 
Posts: 3,282 since Aug 2009
Thanks: 4,531 given, 10,140 received
Forum Reputation: Legendary

Futures Edge on FIO

What value do you place on the webinars on FIO?

 

CoopGeko View Post
Hi-

When I try to open a chart using the PasMA.xml template, I get the following NinjaTrader pop-up:

"Unable to open chart template 'PasMA'. Chart templates made from versions prior to NinjaTrader 7 are incompatible and need to be remade."

I'm using NT 7.0.1000.10.

Are other people able to use the XML file that was posted here on June 15th, 2012 able to get it to work with NT 7?

Thanks......

you need to open a "market analyzer" not a chart.

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


also you need to save the PasMA file in market analyzer and not chart.

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


Last edited by Silvester17; July 10th, 2012 at 09:14 AM.
Reply With Quote
The following 3 users say Thank You to Silvester17 for this post:
 
  #476 (permalink)
Elite Member
Columbus
 
Futures Experience: Beginner
Platform: NinjaTrader
Favorite Futures: Es, forex, stocks
 
Posts: 22 since Oct 2011
Thanks: 7 given, 17 received

Error trying to access data in strategy

Dorschden, this is probably the most valuable indicator I've ever used! Thank you for putting it out here for everyone to use. I've been working on a strategy to automate some of what I'm doing trading manually and it requires me to record off the event (HL,LL,HH,LH,DB,DT) and the price on close. My programming skills are horrible so I can't figure out how to pull the data from the indicator for use in my strat.

Here's the offending code and the subsequent error:

if (PriceActionSwing(15, 7, PriceActionSwing.Utility.SwingTypes.Standard).DoubleBottom[0] > 0)
{
// Do Something
}
else if (PriceActionSwing(15, 7, PriceActionSwing.Utility.SwingTypes.Standard).HigherHigh[0] > 0)
{
// ETC...
}

Error: 'NinjaTrader.Strategy.Strategy.PriceActionSwing(int, int, PriceActionSwing.Utility.SwingTypes)' is a 'method', which is not valid in the given context

Is there a way to get the event and price data from the indicator on each bar update, if there data? Also, there's probably a better way to go about this, any suggestions would be greatly appreciated. Thanks for everything guys!

Thanks,

Nate K.

Attached Thumbnails
PriceActionSwing discussion-data.jpg  
Reply With Quote
 
  #477 (permalink)
Elite Member
Irvine, California
 
Futures Experience: Intermediate
Platform: NinjaTrader
Favorite Futures: ES
 
Nalu's Avatar
 
Posts: 4 since Mar 2011
Thanks: 29 given, 1 received

MACD

Just wanted to point out that the divergence indicator for MACD uses the “Diff” plot (histogram) which is the difference between the MACD line and the Average; however, I typically look at divergence on just the MACD line, in which case “Diff” would need to be replaced with “Default” on lines 1455 & 1456. A thousand thanks, dorschden.
Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).

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 2 users say Thank You to Nalu for this post:
 
  #478 (permalink)
Elite Member
Naperville IL
 
Futures Experience: Intermediate
Platform: ninjatrader
Broker/Data: NT broker
Favorite Futures: NQ ES 6E GC CL
 
Posts: 951 since Feb 2010
Thanks: 1,184 given, 645 received

How to get that divergence signal on your chart

Reply With Quote
 
  #479 (permalink)
Elite Member
Germany (Meck-Pomm)
 
Futures Experience: Advanced
Platform: NinjaTrader
 
Posts: 110 since Jun 2009
Thanks: 54 given, 977 received

@bomberone1 and @yiman unfortunately there is no Multicharts version.


Vajce18 View Post
make PAS display divergences based on NT's default FisherTransform indicator (period 10)

@Vajce18 add the following bold lines to the code, change line 138 to custom and compile it. In the "param1" parameter you can set the period, e.g. 10. Now it should work.

Line 138:
private DivergenceMode divergenceMode = DivergenceMode.Custom;

Line 162:
private Stochastics stochastics;
private MACD macd;
private FisherTransform fisherTransform;

Line 670:
case DivergenceMode.Custom:
fisherTransform = FisherTransform(param1);
// Add custom divergence indicator here
break;

Line 1440:
case DivergenceMode.Custom:
divergenceDataHigh = fisherTransform.Value;
divergenceDataLow = fisherTransform.Value;

// Add custom divergence indicator here
break;

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



NathanExplosion View Post
I've been working on a strategy to automate some of what I'm doing trading manually and it requires me to record off the event (HL,LL,HH,LH,DB,DT) and the price on close.

Is there a way to get the event and price data from the indicator on each bar update, if there data?

@NathanExplosion, unfortunately this isn't possible. You have to change the code to accomplish this. There are several ways to do this. Because of your moderate coding skills I suggest that you create some variables to save the certain swing relations and make them public. E.g. create a variable called lastLowRelation2 in which you save the 3rd last swing low relation (swing low relation = LL, HL, DB) and in line 2582 you write "lastLowRelation2 = lastLowRelation;" Then you have in the variables curLowRelation, lastLowRelation, lastLowRelation2 the swing low relations. Now you have to make this variables accessible. In "Region Properties" in "Region Dataseries" you add following line for each variable (same for the long values). Now you should be able to access the values from within a strategy. I didn't test this, but it should work.
 
Code
[Browsable(false)]
public Relation CurLowRelation
{
  get { return curLowRelation; }
}

supermht View Post
How to get that divergence signal on your chart

Set in the PAS indicator menu in the category "Divergence" the property "Div indicator" to MACD.


Last edited by dorschden; July 18th, 2012 at 03:27 PM. Reason: Add image
Reply With Quote
The following 11 users say Thank You to dorschden for this post:
 
  #480 (permalink)
Elite Member
Naperville IL
 
Futures Experience: Intermediate
Platform: ninjatrader
Broker/Data: NT broker
Favorite Futures: NQ ES 6E GC CL
 
Posts: 951 since Feb 2010
Thanks: 1,184 given, 645 received

add divergence to market analyzer


hi, here is market analyzer, anybody know how to add divergence signal to market analyzer? ( just like ABC signal showing on market analyzer), thanks

Error retrieving image, please check URL again

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

Reply



futures io > > > > PriceActionSwing discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

Spring Grains Outlook w/Sean Lusk @ Walsh Trading

Elite only

FIO Video Journal Challenge featuring NinjaTrader ($2,000+ of prizes)

April

Process above all else w/Anthony Crudele @ Futures Radio Show

Elite only

Machine Learning - Quantitative Trading w/Martin Froehler @ Quantiacs

Elite only

Market Dynamics w/Peter Davies @ Jigsaw Trading

Elite only

Ask Me Anything w/Patrick Rooney @ Trading Technologies

Apr 18

Ask Me Anything w/FuturesTrader71

Apr 19

Machine Learning w/Kris Longmore

Elite only

Market Analysis w/Dave Forss

Apr 25

Introducing iSystems with Stage 5 Trading

Apr 27
     

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


All times are GMT -4. The time now is 03:32 AM.

no new posts
Page generated 2017-03-29 in 0.41 seconds with 20 queries on phoenix via your IP 54.157.52.205