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 960,431 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

  #1161 (permalink)
 reese2123 
Las Vegas, nevada
 
Experience: Intermediate
Platform: Ninjatrader
Trading: futures
Posts: 19 since Jan 2015
Thanks Given: 74
Thanks Received: 2

Hello, thank you for the fantastic swing indicator. I have been using it with much success. There are a few things that would make it a lot easier, as I'm currently calculating it by hand. Please let me know if someone could code this in. It would be quite simple and helpful.

1) Divide the total volume by the number of ticks. This would equal the average number of contracts it took to tick up in a swing. When compared to the prior swing, we get an idea of how easy, or difficult it was to move up or down.

2) The rise divided by the run. Basically the slope of each swing. This tells us the velocity and ease or difficulty it took to accomplish a swing. When compared with a prior swing and the contracts per tick, we get an idea of the ease of movement between prices.

Those would be great improvements. Thank you in advance for any answers or suggestions.


Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Request for MACD with option to use different MAs for fa …
NinjaTrader
My NT8 Volume Profile Split by Asian/Euro/Open
NinjaTrader
NexusFi Journal Challenge - April 2024
Feedback and Announcements
ZombieSqueeze
Platforms and Indicators
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Retail Trading As An Industry
67 thanks
NexusFi site changelog and issues/problem reporting
47 thanks
Battlestations: Show us your trading desks!
46 thanks
GFIs1 1 DAX trade per day journal
32 thanks
What percentage per day is possible? [Poll]
31 thanks

  #1162 (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


Genshin View Post
Anyone know why or how to fix the labeling so it gets every swing? Not sure why it doesn't label each one...

make sure that the color in "visualize swings" > "04. text color lower high" is not the same as your background color (black)

Reply With Quote
The following 5 users say Thank You to Silvester17 for this post:
  #1163 (permalink)
 br8080 
green valley, az
 
Experience: Beginner
Platform: ninja
Trading: tf
Posts: 383 since Jun 2011
Thanks Given: 1,137
Thanks Received: 361


@Genshin

from looking at the chart you posted for an example of labeling issue, it appears you have the swing strength set to 7, which i think is the default. which means that a swing needs 7 bars before the swing is considered a valid one.

so if you lower the strength number to 1, for example, then it will consider a swing to be valid whenever the swing has just 1 bar on either side of the swing high/low and i think that's the maximum number of swings the indicator will plot. and the indicator only will plot the labels for the valid swings.

you can test any number from 1 up to see what the effect is on the labeling.

hope this helps.

cheers,
bruce

Reply With Quote
The following 2 users say Thank You to br8080 for this post:
  #1164 (permalink)
 reese2123 
Las Vegas, nevada
 
Experience: Intermediate
Platform: Ninjatrader
Trading: futures
Posts: 19 since Jan 2015
Thanks Given: 74
Thanks Received: 2

Hello again

I posted a pic of what I mean, and how simple it is. The underlined numbers are the averages. So the top number would be the average volume per tick up. The bottom number is how many bars it took to tick up.

As can be seen, it took roughly 500 to swing up and down. Yet it took longer to swing up, 3.5 bars compared with 2.25 bars to swing down.

This is all that I would want. Please help, as I'm doing this by hand and it's very vexing and slow. Any help would be greatly appreciated

Attached Thumbnails
Click image for larger version

Name:	Averages.png
Views:	291
Size:	5.4 KB
ID:	174868  
Reply With Quote
  #1165 (permalink)
PDQuig
San Jose, CA/USA
 
Posts: 5 since Feb 2015
Thanks Given: 4
Thanks Received: 1

I finally got a chance to spend a couple of hours looking at PAS for the MultiCharts platform. It is a bare-bones approach that only does the pieces I'm interested in: that is, drawing the lines and labeling the swings. It uses the same ATR approach as dorschden to determine double top and double bottom buffers. Unfortunately, I don't see the "Add Entry" link on the Downloads and Indicators page. Not sure if I don't have rights to upload or what. Oh well.

Attached Thumbnails
Click image for larger version

Name:	PAS_for_MultiCharts.png
Views:	252
Size:	41.3 KB
ID:	176326  
Reply With Quote
  #1166 (permalink)
 billsingh 
San jose
 
Experience: Advanced
Platform: Thinkorswim
Trading: Stock
Posts: 174 since Jun 2014
Thanks Given: 133
Thanks Received: 68

Hi All,
I am looking for PriceActionSwing peremeters that we can display in Market Analyzer. Does someone have list of those plots and values ???? are the following one the right ones...as I am sure there are lot more than these 5 I am mentioning here.

-2 for double top
-1 for lower high and lower low
0 nothing
1 for higher high and higher low
2 for double bottom

Thanks in advance
Bill

P.S I put this question also in Price Action Trading thread by mistake. But this seems to be the right one.

Reply With Quote
  #1167 (permalink)
 
learning0101's Avatar
 learning0101 
Houston, Texas
 
Experience: Intermediate
Platform: NinjaTrader,TOS,Etrade,St
Broker: NT:( tos,etrade,CS
Trading: stocks,options,futures,forex
Frequency: Never
Duration: Never
Posts: 287 since Aug 2011
Thanks Given: 3,613
Thanks Received: 222


billsingh View Post
Hi All,
I am looking for PriceActionSwing peremeters that we can display in Market Analyzer. Does someone have list of those plots and values ???? are the following one the right ones...as I am sure there are lot more than these 5 I am mentioning here.

-2 for double top
-1 for lower high and lower low
0 nothing
1 for higher high and higher low
2 for double bottom

Thanks in advance
Bill

P.S I put this question also in Price Action Trading thread by mistake. But this seems to be the right one.

Hi @billsingh dont have answer but maybe can have a look here download template and apply to mkt analyzer and can look at settings

Thanks for awesome tool @dorschden

Reply With Quote
The following 4 users say Thank You to learning0101 for this post:
  #1168 (permalink)
 dstrader 
Chicago, USA
 
Experience: Advanced
Platform: TS, NT, TOS, SSE, IRT
Trading: ES, currency futures, options, stocks
Posts: 195 since Dec 2010
Thanks Given: 330
Thanks Received: 275

I'm trying to use the PriceActionSwingOscillator SwingTrend variable in another indicator. This indicator uses COBC = false. When I call the PASOscillator in my indicator (code snippet below), the SwingTrend variable shows different values when as I said COBC = false. It seems that I'm missing some initialization. Has someone called this with COBC = false with success? Can you provide a snippet? many thanks!

PS: I left a snipped 'DrawText', if someone wants to load this code and see what I'm talking about. Load the PASOscilator with COBC = false also, and you will see how the SwingTrend values are different. Probably something simple that I'm missing, but I seem not to be able to figure out.

 
Code
        protected override void Initialize()
        {
			
			CalculateOnBarClose = false;
			swingTrend = new DataSeries(this);
            Overlay				= true;
        }
		
		protected override void OnStartUp()
		{

			swingTrend = PriceActionSwingOscillator(Input, dtbStrength, SwingSize, swingType, false).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);
}

Reply With Quote
The following user says Thank You to dstrader for this post:
  #1169 (permalink)
 dorony 
tel aviv israel
 
Experience: Advanced
Platform: ninjatrader
Trading: cl
Posts: 7 since Nov 2013
Thanks Given: 1
Thanks Received: 0

Hi
Great work was done by dorschden . THX.
Can you tell the exact conditions in which the ABC entry is triggered.
Where in the code I can fine tune the conditions to my taste
For example the size of last swing or the volume in last swing
Many Many thank

Reply With Quote
  #1170 (permalink)
 Ricky H 
Raleigh, NC USA
 
Experience: Intermediate
Platform: NinjaTrader
Trading: Futures
Posts: 8 since Oct 2014
Thanks Given: 2
Thanks Received: 9


I would like to thank each and every person that has, and continue to contribute their time and skills to development of this powerful indicator for us here in futures.io (formerly BMT). I'm not a coder, I just begun to get my feet wet in the C# world. I'm learning more and more how to do different things everyday mostly by trial and error.....lol. I commend all the great coders we have here in futures.io (formerly BMT), all you guys do an awesome job.

I've been using the PAS-Pro for about 7-9 months now, and
I've been attempting (w/o any success) to slightly modify the code in the PAS-Pro.
I feel sure these simple things I've been attempting to do will probably seem elementary to the great coders here?

1-The Main thing I would like to do is:
Have PAS-Pro to "DrawRay" instead of "DrawLine" for the ABC entry line....
- also preferably have the option on the user input panel, that will allow the user adjust how many times the "Entry Ray" gets re-tested (hit/penetrated) before "removing it? Or maybe just have it accumulate a max number of "Entry Rays" of 4, that will remove the oldest "Entry Ray" after the 5th "Entry Ray" is plotted or begins to plot?


Secondary,
I would like to code the PAS pro so it will re-calculate or(update) period of 1440 min, that will re-draw (print/plot) the naked swing lines at the top of each hour during the 1440 min session,starting at 00:00:00 and ending at 23:59:00. I already have the historical swing display toggled off, but during flat, choppy market conditions, the chart starts to become cluttered with all the naked swing lines. Right now I don't use the naked swing lines at all, although they work great on trending days. I would like to be able to use them all the time instead of using the standard "swing" indicator from NT.

If this is possible, can any of you guys give me a little direction on how to accomplish this?
Thanks Again to everyone here in futures.io (formerly BMT). All feedback is welcome..

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