PriceActionSwing discussion (Page 60) - 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:392,600 / 1,346
Last Reply:December 7th, 2016 (10:04 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 November 9th, 2012, 09:55 PM   #591 (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,515 received


Patric View Post
Thanks for sharing this valuable indicator, but I still get confused regard how to use this one, could you give some hints?

How are you confused? The mechanics or how to interpret the swings? I suggest you read the first few posts of the thread as it is well explained.

Reply With Quote
     

Old November 9th, 2012, 09:57 PM   #592 (permalink)
Membership Revoked
British Columbia
 
Futures Experience: Advanced
Platform: NINJA
Broker/Data: ZEN
Favorite Futures: Crude
 
Posts: 1,091 since May 2010
Thanks: 192 given, 481 received

If you can count to three, you can swing... the key, is the Risk... taking the punches, whence necessary, and keeping your head and margin, ready, to punch back, clean and clear.... CLEEEEEEAAAAAAAAAARRRRRRRRRRRR....

Reply With Quote
     

Old November 10th, 2012, 12:17 AM   #593 (permalink)
Elite Member
Des Moines, Iowa
 
Futures Experience: None
Platform: Ninja, TOS
Broker/Data: AMP/CQG, TOS
Favorite Futures: CL, TF, GC
 
madLyfe's Avatar
 
Posts: 1,635 since Feb 2011
Thanks: 9,208 given, 1,003 received



Patric View Post
Thanks for sharing this valuable indicator, but I still get confused regard how to use this one, could you give some hints?

thats kinda like asking how to use the basic volume bars indicator.. there is no one method behind this indicator, its up for interpretation.

dont believe anything you hear and only half of what you see

\_(ツ)_/

(╯□)╯︵ ┻━┻
Reply With Quote
     

Old November 10th, 2012, 08:31 PM   #594 (permalink)
Trading Apprentice
london
 
Futures Experience: Master
Platform: NinjaTrader, ganntrader
Favorite Futures: beans
 
Posts: 9 since Nov 2012
Thanks: 2 given, 0 received

Price Action Swing

Dorschden,

First off, thanks for this wonderful indicator. I've been working to use this great indicator in my strategies with little luck (due to my poor c# skills). Your indicator would seem to do exactly what I need with the Price Swing.
Can you provide an example of code, i am looking to create strategies on lower tops and higher bottoms and spacing between the top and bottoms.

Thx

Charlie

NT 7

Reply With Quote
     

Old November 12th, 2012, 01:43 PM   #595 (permalink)
Trading Apprentice
Calhan
 
Futures Experience: Beginner
Platform: eTrade
Favorite Futures: Stocks
 
Posts: 10 since Nov 2012
Thanks: 4 given, 3 received

Explanation

Futures Edge on FIO

djkiwi View Post
How are you confused? The mechanics or how to interpret the swings? I suggest you read the first few posts of the thread as it is well explained.

It may be well explained to you but I read the first few pages and have no idea what they are doing or talking about. I am not a programmer, all they talk about is writing code. Not sure how that is a discussion of how to use the indicator..? It is supposed to be voted as the best indicator yet I ave no idea what it is or how to use it, nor can I find any help in the discussion.....not sure how I am supposed to educate myself when I don't find answers to anything...?

Just frustrated, not attacking you..

Reply With Quote
     

Old November 12th, 2012, 04:11 PM   #596 (permalink)
Trading Apprentice
london
 
Futures Experience: Master
Platform: NinjaTrader, ganntrader
Favorite Futures: beans
 
Posts: 9 since Nov 2012
Thanks: 2 given, 0 received

Just play around with it. There are some books you get about swing charts and there value.

BW
Charlie



robinlbird View Post
It may be well explained to you but I read the first few pages and have no idea what they are doing or talking about. I am not a programmer, all they talk about is writing code. Not sure how that is a discussion of how to use the indicator..? It is supposed to be voted as the best indicator yet I ave no idea what it is or how to use it, nor can I find any help in the discussion.....not sure how I am supposed to educate myself when I don't find answers to anything...?

Just frustrated, not attacking you..


Reply With Quote
     

Old November 13th, 2012, 12:44 PM   #597 (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,515 received


robinlbird View Post
It may be well explained to you but I read the first few pages and have no idea what they are doing or talking about. I am not a programmer, all they talk about is writing code. Not sure how that is a discussion of how to use the indicator..? It is supposed to be voted as the best indicator yet I ave no idea what it is or how to use it, nor can I find any help in the discussion.....not sure how I am supposed to educate myself when I don't find answers to anything...?

Just frustrated, not attacking you..

@robinlbird

No problem, apologies for being dismissive. It sounds like you are having problems interpreting basic price action. This link may help.

Price Action | Trading Strategies.

Also this is a very good thread as well.

https://futures.io/elite-circle/3506-elusive-price-action-how-trade.html

Once you gain an understanding of the basics then try and download the indicator, play around with the settings and watch it for a few days.

Good luck

DJ

Reply With Quote
     
The following 5 users say Thank You to djkiwi for this post:
     

Old November 13th, 2012, 04:36 PM   #598 (permalink)
Elite Member
Germany (Meck-Pomm)
 
Futures Experience: Advanced
Platform: NinjaTrader
 
Posts: 107 since Jun 2009
Thanks: 50 given, 935 received


Nalu View Post
how do you access or change the additional parameters or variables of the PriceActionSwingPro for use in a strategy? The indicator appears to only have DtbStrength, SwingSize, and SwingType as parameters.

@Nalu, one solution is to change in the source code of the PasPro indicator in the "Properties" region the "Category" names of the certain parameters you want to access or change. E.g. change [Category("Divergence")] to [GridCategory("Parameters")].


charllie1 View Post
I've been working to use this great indicator in my strategies with little luck (due to my poor c# skills). Your indicator would seem to do exactly what I need with the Price Swing.
Can you provide an example of code, i am looking to create strategies on lower tops and higher bottoms and spacing between the top and bottoms.

@charllie1, in the public version the swing values aren't accessible from within a strategy. You have to make the swing values public in the PAS indicator first.


Patric View Post
Thanks for sharing this valuable indicator, but I still get confused regard how to use this one


robinlbird View Post
It may be well explained to you but I read the first few pages and have no idea what they are doing or talking about.

@Patric and @robinlbird, there isn't a short answer to how to use the PAS indicator. It can be used in 1001 different ways. In the end it is just a tool to mark swings and it is up to the user to make sense of it. There are many trading styles which don't require a swing indicator. If it doesn't make sense for you guys, then you probably don't need it.

There are hundreds of books written about swing and pattern trading and a lot of valuable information can be found on futures.io (formerly BMT). You might want to check out "Suri Duddella"s webinar as well.


tst1 View Post
How to catch the moment,where the low volume line becomes another color histo?


Sunil P
can we have audio or and visual when swing volume changes trend?

@Sunil P and @tst1, the moment when the volume histogram changes is when a new swing is found. To catch this moment you can add in the PasOsc "DrawArrow" or "PlaySound" in the "CalcDnSwing" and the "CalcUpSwing" function within the if-statement that checks for "(!updateLow)".


renvik
Not being greedy, but would be nice if the swing lines had 'Opacity' and an option to show naked swing price at the right margin (or Y-axis).

@renvik, I believe lines don't have an "Opacity" property in NT, only colour, dash style and width can be set. To show naked swings only at the right margin the "plot" function has to be overridden which I don't want to override.

Strategy development

Lately there are coming more and more questions and requests how to use the PAS indicator in a strategy. If there are interesting methods I might be interested to discuss them, but due to several reasons I'll not support any basic coding questions how to use PAS in a strategy like "how to access this value", "what does SwingTrend[0] == 1" mean, "how can I make this value public" and so on.

Keep in mind that asking a question takes only a couple of seconds or minutes, but answering them normally takes longer and the sum of many small questions and free requests stealing a lot of time from people, so please do your homework first and think about whether you can answer your question yourself, then search for the answer and first if you get stuck ask the question. This will help you to trust yourself more and others to save time. I don't mean this personally to anyone, but rather general.

Nevertheless I created a sample code snippet to get people started.

 
Code
#region Using declarations
...
using PriceActionSwingOscillator.Utility;
#endregion

#region Variables
private int swingSize = 7;
private SwingTypes swingType = SwingTypes.Standard;
private int dtbStrength = 15;
private DataSeries swingTrend;
//private Indicator.PriceActionSwingOscillator pasOsc;
#endregion

protected override void Initialize()
{
  BarsRequired = 0;
  CalculateOnBarClose = true;
  Enabled = false;

  swingTrend = new DataSeries(this);
}

protected override void OnStartUp()
{
  //pasOsc = PriceActionSwingOscillator(Input, dtbStrength, swingSize, swingType);
  //swingTrend = pasOsc.SwingTrend;

  swingTrend = PriceActionSwingOscillator(Input, dtbStrength, swingSize, swingType).SwingTrend;
}

protected override void OnBarUpdate()
{
  if (CurrentBar < 20)
    return;

  // For testing only
  //DrawText(CurrentBar + "Tag", swingTrend[0].ToString(), 0, Low[0] - 10 * TickSize, Color.Red);

if (Position.MarketPosition == MarketPosition.Flat)
{
if (swingTrend[0] == 1)
EnterLong();
if (swingTrend[0] == -1)
EnterShort();
}
else if (Position.MarketPosition == MarketPosition.Long)
{
if (swingTrend[0] != 1)
ExitLong();
}
else if (Position.MarketPosition == MarketPosition.Short)
{
if (swingTrend[0] != -1)
ExitShort();
}
}

For the values from the PasPro indicator use an analogous approach. Just make sure if you want to use ABC or divergence signals you have set the variables "abcPattern" and "divergenceMode" in the source code to something else than "False".

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

Old November 13th, 2012, 08:42 PM   #599 (permalink)
Elite Member
Seattle, WA
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: MB Trading
Favorite Futures: GC, CL, ES, TF, 6E
 
Posts: 50 since May 2010
Thanks: 128 given, 48 received

Oscillator Issue

First of all, I would like to sincerely thank Dorschden for such an amazing indicator. I just discovered this recently and have been experimenting with it.

I downloaded the latest zip file which includes the PriceActionSwing, PriceActionSwingPro, and PriceActionSwingOscillator Indicators, and have loaded them on my charts. Everything looks great except for one problem I'm having with the oscillator.

Under "Settings", when I set the "Choose Indication" parameter to "Volume", it shows the Developing Swing Volume Histogram, but no Swing Trend bar. When I change the parameter to "Trend", it shows the trend bar, but no volume histogram. I would like to see both of these, but can't figure out how to make that happen. What am I doing wrong? Any assistance would be greatly appreciated.

Thank you

Reply With Quote
     

Old November 14th, 2012, 05:17 AM   #600 (permalink)
Trading Apprentice
london
 
Futures Experience: Master
Platform: NinjaTrader, ganntrader
Favorite Futures: beans
 
Posts: 9 since Nov 2012
Thanks: 2 given, 0 received

Trade on Higher highs and lower lows


RE:

@charllie1, in the public version the swing values aren't accessible from within a strategy. You have to make the swing values public in the PAS indicator first.

Thanks for the replay, I am new to Ninjatrader so this maybe a silly question. How do i do that.

What i am looking to do is :

Trade on Higher highs and lower lows that come out on a retracement level I.E the 50% or 1/3rd etc.

do you have some sample code i can use to play with?

BW

Charlie



dorschden View Post
@Nalu, one solution is to change in the source code of the PasPro indicator in the "Properties" region the "Category" names of the certain parameters you want to access or change. E.g. change [Category("Divergence")] to [GridCategory("Parameters")].



@charllie1, in the public version the swing values aren't accessible from within a strategy. You have to make the swing values public in the PAS indicator first.




@Patric and @robinlbird, there isn't a short answer to how to use the PAS indicator. It can be used in 1001 different ways. In the end it is just a tool to mark swings and it is up to the user to make sense of it. There are many trading styles which don't require a swing indicator. If it doesn't make sense for you guys, then you probably don't need it.

There are hundreds of books written about swing and pattern trading and a lot of valuable information can be found on futures.io (formerly BMT). You might want to check out "Suri Duddella"s webinar as well.




@Sunil P and @tst1, the moment when the volume histogram changes is when a new swing is found. To catch this moment you can add in the PasOsc "DrawArrow" or "PlaySound" in the "CalcDnSwing" and the "CalcUpSwing" function within the if-statement that checks for "(!updateLow)".



@renvik, I believe lines don't have an "Opacity" property in NT, only colour, dash style and width can be set. To show naked swings only at the right margin the "plot" function has to be overridden which I don't want to override.

Strategy development

Lately there are coming more and more questions and requests how to use the PAS indicator in a strategy. If there are interesting methods I might be interested to discuss them, but due to several reasons I'll not support any basic coding questions how to use PAS in a strategy like "how to access this value", "what does SwingTrend[0] == 1" mean, "how can I make this value public" and so on.

Keep in mind that asking a question takes only a couple of seconds or minutes, but answering them normally takes longer and the sum of many small questions and free requests stealing a lot of time from people, so please do your homework first and think about whether you can answer your question yourself, then search for the answer and first if you get stuck ask the question. This will help you to trust yourself more and others to save time. I don't mean this personally to anyone, but rather general.

Nevertheless I created a sample code snippet to get people started.

 
Code
#region Using declarations
...
using PriceActionSwingOscillator.Utility;
#endregion

#region Variables
private int swingSize = 7;
private SwingTypes swingType = SwingTypes.Standard;
private int dtbStrength = 15;
private DataSeries swingTrend;
//private Indicator.PriceActionSwingOscillator pasOsc;
#endregion

protected override void Initialize()
{
  BarsRequired = 0;
  CalculateOnBarClose = true;
  Enabled = false;

  swingTrend = new DataSeries(this);
}

protected override void OnStartUp()
{
  //pasOsc = PriceActionSwingOscillator(Input, dtbStrength, swingSize, swingType);
  //swingTrend = pasOsc.SwingTrend;

  swingTrend = PriceActionSwingOscillator(Input, dtbStrength, swingSize, swingType).SwingTrend;
}

protected override void OnBarUpdate()
{
  if (CurrentBar < 20)
    return;

  // For testing only
  //DrawText(CurrentBar + "Tag", swingTrend[0].ToString(), 0, Low[0] - 10 * TickSize, Color.Red);

if (Position.MarketPosition == MarketPosition.Flat)
{
if (swingTrend[0] == 1)
EnterLong();
if (swingTrend[0] == -1)
EnterShort();
}
else if (Position.MarketPosition == MarketPosition.Long)
{
if (swingTrend[0] != 1)
ExitLong();
}
else if (Position.MarketPosition == MarketPosition.Short)
{
if (swingTrend[0] != -1)
ExitShort();
}
}

For the values from the PasPro indicator use an analogous approach. Just make sure if you want to use ABC or divergence signals you have set the variables "abcPattern" and "divergenceMode" in the source code to something else than "False".


Reply With Quote
     

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)
 

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

Elite only
 

Trading Technologies: ADL hands-on

Dec 13

Normal webinar schedule resumes after the holidays

January

Ernie Chan: Risk Management

Elite only

Dedicated Trading Servers: Advantages/Disadvantages w/sam028

Elite only

An Afternoon with FIO member Massive I

Elite only

Leo Murphy: TBA

Elite only
     

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 01:24 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-09 in 0.19 seconds with 20 queries on phoenix via your IP 54.158.92.239