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 965,007 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

  #591 (permalink)
 
djkiwi's Avatar
 djkiwi 
Mercer Island WA
 
Experience: Advanced
Platform: Ninjatrader/Strategy Desk
Broker: Various
Trading: TF/NQ/ES/Stocks
Posts: 561 since May 2010
Thanks Given: 981
Thanks Received: 1,558


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

Can you help answer these questions
from other members on NexusFi?
Are there any eval firms that allow you to sink to your …
Traders Hideout
ZombieSqueeze
Platforms and Indicators
Futures True Range Report
The Elite Circle
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
NexusFi Journal Challenge - April 2024
Feedback and Announcements
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Get funded firms 2023/2024 - Any recommendations or word …
61 thanks
Funded Trader platforms
39 thanks
NexusFi site changelog and issues/problem reporting
26 thanks
Battlestations: Show us your trading desks!
26 thanks
The Program
18 thanks
  #592 (permalink)
 syxforex 
British Columbia
 
Experience: Advanced
Platform: NINJA
Broker: ZEN
Trading: Crude
Posts: 1,091 since May 2010

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

Visit my NexusFi Trade Journal Reply With Quote
  #593 (permalink)
 
madLyfe's Avatar
 madLyfe 
Des Moines, Iowa
 
Experience: None
Platform: Ninja, TOS
Broker: AMP/CQG, TOS
Trading: CL, TF, GC
Posts: 1,641 since Feb 2011
Thanks Given: 9,220
Thanks Received: 1,020



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

¯\_(ツ)_/¯

(╯°□°)╯︵ ┻━┻
Visit my NexusFi Trade Journal Reply With Quote
  #594 (permalink)
charllie1
london
 
Posts: 9 since Nov 2012
Thanks Given: 2
Thanks Received: 1

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
  #595 (permalink)
robinlbird
Calhan
 
Posts: 10 since Nov 2012
Thanks Given: 4
Thanks Received: 3


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
  #596 (permalink)
charllie1
london
 
Posts: 9 since Nov 2012
Thanks Given: 2
Thanks Received: 1

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
  #597 (permalink)
 
djkiwi's Avatar
 djkiwi 
Mercer Island WA
 
Experience: Advanced
Platform: Ninjatrader/Strategy Desk
Broker: Various
Trading: TF/NQ/ES/Stocks
Posts: 561 since May 2010
Thanks Given: 981
Thanks Received: 1,558


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.



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
  #598 (permalink)
 dorschden 
Germany
 
Experience: Master
Platform: NinjaTrader
Posts: 112 since Jun 2009
Thanks Given: 59
Thanks Received: 1,143


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

Started this thread Reply With Quote
  #599 (permalink)
 tradergary 
Seattle, WA
 
Experience: Intermediate
Platform: NinjaTrader
Broker: MB Trading
Trading: GC, CL, ES, TF, 6E
Posts: 53 since May 2010
Thanks Given: 130
Thanks Received: 52

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
  #600 (permalink)
charllie1
london
 
Posts: 9 since Nov 2012
Thanks Given: 2
Thanks Received: 1


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
Thanked by:




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