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 975,894 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

  #1501 (permalink)
 
michaelf's Avatar
 michaelf 
Mérida, Mexico
Market Wizard
 
Experience: Intermediate
Platform: NinjaTrader 8
Broker: NinjaTrader Brokerage
Trading: MNQ
Frequency: Daily
Duration: Minutes
Posts: 559 since Mar 2011
Thanks Given: 1,434
Thanks Received: 581

Attachment 236387
michaelf View Post
Hi @dorschden

I think I found the problem from my previous post. Data Series / Input Series are not working with indicator value.
In the screenshot I took you can see that in Properties Input Series are the MACD, but on the chart legend there are still the instrument (cl) as input series mentioned.

Can you please take an other look on that issue.

Thank you very much,

Michael

I made 2 screenshots, one of NT8 and one of NT7


I made above post on January but without response. I will give it an other try maybe this time somebody can take a look at it.

I want simply to project the swings on a indicator (for example MACD) but the PriceActionSwing indicator calculates only the price and not the MACD.

Michael

edit: Screenshot of NT7 version are here

Attached Thumbnails
Click image for larger version

Name:	PASmacd.JPG
Views:	369
Size:	194.6 KB
ID:	236381  
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Better Renko Gaps
The Elite Circle
Exit Strategy
NinjaTrader
ZombieSqueeze
Platforms and Indicators
MC PL editor upgrade
MultiCharts
How to apply profiles
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Spoo-nalysis ES e-mini futures S&P 500
48 thanks
Just another trading journal: PA, Wyckoff & Trends
34 thanks
Bigger Wins or Fewer Losses?
24 thanks
Tao te Trade: way of the WLD
24 thanks
GFIs1 1 DAX trade per day journal
22 thanks
  #1502 (permalink)
 S trader 
Mediterranean
 
Experience: Beginner
Platform: NT
Trading: various
Posts: 89 since Oct 2015
Thanks Given: 2,049
Thanks Received: 129

Do I need on NT8 to have Tick replay checked to display volume on swings correctly?

thanks

Reply With Quote
  #1503 (permalink)
 
sudhirc's Avatar
 sudhirc 
detroit,mi
sc
 
Experience: Intermediate
Platform: NT
Broker: NT
Trading: ES
Frequency: Every few months
Duration: Hours
Posts: 417 since Sep 2011
Thanks Given: 1,709
Thanks Received: 471


@dorschden

when the swing type is set to Ticks, and use close values to calculate the swing, is it possible to use the latest close (if more than one close happens to be on the same price. Please refer to pic. If it can be done i guess it could be done in PriceActionSwingBase.cs.


// CalculatOnBarClose == false
else
{
// Used to control, that only one swing is set for
// each bar
if (FirstTickOfBar)
swingCur.NewSwing = 0;

// No swing or an up swing is found
if (swingCur.NewSwing != -1)
{
// test if Highs[BarsInProgress][0] is higher than the last
// calculationSize highs = new swing high
//Sudhir
if (swingHigh.New)
{
if (highs[BarsInProgress][0] <
(swingLow.CurPrice + swingProp.SwingSize * TickSize))
swingHigh.New = false;
// Found a swing high
if (swingHigh.New)
swingCur.NewSwing = 1;
}
}

// No swing or an down swing is found
if (swingCur.NewSwing != 1)
{
// test if Lows[BarsInProgress][0] is lower than the last
// calculationSize lows = new swing low
if (swingLow.New)
{
if (lows[BarsInProgress][0] >
(swingHigh.CurPrice - swingProp.SwingSize * TickSize))
swingLow.New = false;
// Found a swing low
if (swingLow.New)
swingCur.NewSwing = -1;
}
}




Thank you,

Reply With Quote
  #1504 (permalink)
 skfutures 
North vancouver
 
Experience: Beginner
Platform: Ninjatrader, Firetip
Trading: ES YM
Posts: 131 since Oct 2016
Thanks Given: 108
Thanks Received: 42

@pepbosch thank you so much for this wonderful add on. I do notice you don't have any dots or lines of pas. How do you get rid of them? I always make the color transparent in order to get rid of size/line etc but is there way that it doesn't print? Thank you. Perhaps share the template for the pas?

I also noticed swing strength less than 7 won't print ABC.

Thank you and hope to hear from you soon

Reply With Quote
  #1505 (permalink)
 pepbosch 
Madrid - Spain
 
Experience: Intermediate
Platform: NinjaTrader
Broker: CONTINUUM
Trading: ES, Currency Futures, Forex, oil, gold, EUR/USD, Stocks
Posts: 315 since Jun 2014
Thanks Given: 412
Thanks Received: 132


skfutures View Post
@pepbosch thank you so much for this wonderful add on. I do notice you don't have any dots or lines of pas. How do you get rid of them? I always make the color transparent in order to get rid of size/line etc but is there way that it doesn't print? Thank you. Perhaps share the template for the pas?

I also noticed swing strength less than 7 won't print ABC.

Thank you and hope to hear from you soon

This is the config to show divergences only...sorry for the delay ...

Attached Thumbnails
Click image for larger version

Name:	2017-07-26_11-51-55.jpg
Views:	251
Size:	275.0 KB
ID:	238961   Click image for larger version

Name:	2017-07-26_11-52-18.jpg
Views:	217
Size:	299.6 KB
ID:	238962   Click image for larger version

Name:	2017-07-26_11-52-57.jpg
Views:	195
Size:	285.7 KB
ID:	238963   Click image for larger version

Name:	2017-07-26_11-53-46.jpg
Views:	211
Size:	308.3 KB
ID:	238964   Click image for larger version

Name:	ES 09-17-20 Range-7.26.2017-12.1.9.png
Views:	309
Size:	108.2 KB
ID:	238965  
Follow me on Twitter Reply With Quote
Thanked by:
  #1506 (permalink)
 skfutures 
North vancouver
 
Experience: Beginner
Platform: Ninjatrader, Firetip
Trading: ES YM
Posts: 131 since Oct 2016
Thanks Given: 108
Thanks Received: 42


pepbosch View Post
This is the config to show divergences only...sorry for the delay ...

Thank you but I thought you were using nt8. NT8 splots zigzag eventhough you put dots as output. I guess it's nt8 version that is not working properly as far as the prints.

Reply With Quote
  #1507 (permalink)
 kdamsgaard 
Copenhagen + Denmark
 
Experience: Beginner
Platform: Ninjatrader
Trading: Crude CL
Posts: 1 since Aug 2016
Thanks Given: 0
Thanks Received: 0

Is there a bug in the NT8 version of the PriceActionSwingOscillator?
I cant seem to get it to draw the waves correct when Swing type is set to tick.
It seems it still draws the waves from the Standard swing type.

Reply With Quote
  #1508 (permalink)
 heyyo1432 
miami, FL
 
Experience: Beginner
Platform: Ninja Trader 8
Broker: amp future + CQG
Trading: CL, ES, ZB, ZN, GC, TF, YM
Posts: 2 since Jun 2017
Thanks Given: 1
Thanks Received: 3

Hello Futures.io members,

PriceActionSwingPro for NT 8 is a wonderful tool I have been searching for for a long time and now that I have it, I am looking to use it in a larger strategy.

I am very new to C# as you'll see, however, I am motivated to learn this, and I apologize if my question seems elementary but if anyone can help, I'd sure appreciate it!

I am just really not sure if my logic is flawed from a logical standpoint or I just missed a comma or something stupid. It just seems I am only missing one thing - the # of arguments/properties when referencing this indicator.

I have gone through each post in this thread and I found some examples (Thanks to all who shared their code!) but I can't seem to Find a way to make it work in my code.

I am playing around with breaking up the usability of this indicator into sections, so I can custom handle each component separately. So I am looking to create a dataseries for each part.

For example: I would create a new dataseries for each DT, DB, ABC pattern, and each FibRetrace on Each swing.
so i did the following: (just going to use DT for now, because once I get this, I will get all the others)

These are the steps I took exactly:

1) added "using PriceActionSwing.Base" to using declarations area.
2) created a new series in variables section: private Series<double> dT; //for finding the doubletops.
3) copied the 4 necessary arguments from the Properties ->Parameters: PriceActionSwing.Base file (SwingType, SwingSize, DtbStrength, UseCloseValues) into my indicator's properties area.
4) set defaults in the State.SetDefaults area for each of the 4 parameters (SwingStyle.Standard, 7, 15, false)
5) initiated new series in Dataloaded: dT = new Series<double>(this);
6) created private double Var = DT (in the variables section at the top of the indicator)
7) in the onbar update: DT = PriceActionSwingPro(SwingType, SwingSize, DtbStrength, UseCloseValues).DoubleTop[0];
8) in the onbar update: dT[0] = DT;

When I compile it says " No Overload for Method 'PriceActionSwingPro' takes 4 arguments"
At All the examples i saw in this thread, there are only 4 arguments as listed in dorschden's PriceAction.Base.

Any clue as to why the computer insists that this indicator needs more or less arguments??

As a secondary question, after typing this question, I see Dorschden also created functions within the PriceActionSwing.Base:

[Browsable(false)]
[XmlIgnore]
public Series<double> DoubleTop
{
get { return Values[3]; }

Is there a simpler way to use this since it;s already in a (public) Series?

Thanks for anyone that can help me out!

Jake--

Reply With Quote
Thanked by:
  #1509 (permalink)
 
cory's Avatar
 cory 
virginia
 
Experience: Intermediate
Platform: ninja
Trading: NQ
Posts: 6,098 since Jun 2009
Thanks Given: 877
Thanks Received: 8,090


heyyo1432 View Post
Hello Futures.io members,

PriceActionSwingPro for NT 8 is a wonderful tool I have been searching for for a long time and now that I have it, I am looking to use it in a larger strategy.

I am very new to C# as you'll see, however, I am motivated to learn this, and I apologize if my question seems elementary but if anyone can help, I'd sure appreciate it!

I am just really not sure if my logic is flawed from a logical standpoint or I just missed a comma or something stupid. It just seems I am only missing one thing - the # of arguments/properties when referencing this indicator.
...

Jake--

I dont write strategy but I think you should use ninja strategy wizar (in editor, right click on strategy folder, select new) to call PASPro, get a clean compilation then take it from there.

Reply With Quote
Thanked by:
  #1510 (permalink)
 2KEY 
Miami, Florida
 
Experience: Advanced
Platform: Ninjatrader, Ninjabroker
Broker: TDAmeritrader Stocks, Futures and OptionsNINJABROKER, Continuum, KINETICK
Trading: NQ ES TF CL GC
Posts: 12 since Aug 2010
Thanks Given: 4
Thanks Received: 12


I am using PAS Pro for NT8. and can not get the audio alerts for the ABC swings to work. I had them working in NT 7. Ninja support logged on to my computer and could not find any thing wrong and suggested I post here at futures.io.

The path to the Ninja sound folder is correct. My media player plays the sound alerts ok. In the Ninja script they are shown as "AbcLongEntry.wav" etc. I replaced them with my new custom alert wav files "ABC Long Entry ES.wav" but would not think that would cause a problem.

Can anyone help me out here on this fantastic indicator?

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