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,125 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 978,029 views
    2. thumb_up 2,948 thanks given
    3. group 613 followers
    1. forum 2,093 posts
    2. attach_file 615 attachments




 
Search this Thread

PriceActionSwing discussion

  #1151 (permalink)
 
Cachevary's Avatar
 Cachevary 
Russia,Khabarovsk
 
Experience: Beginner
Platform: NT
Trading: Gold
Posts: 407 since Feb 2014

Hello gentlemen,

what is the difference between:

regular divergence short entry

regular divergence short signal?

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
Better Renko Gaps
The Elite Circle
REcommedations for programming help
Sierra Chart
Cheap historycal L1 data for stocks
Stocks and ETFs
 
  #1152 (permalink)
 Sezor 
Nîmes France
 
Experience: Intermediate
Platform: NinjaTrader, Mt4
Broker: NinjaTrader Brokerage
Trading: Oil
Posts: 51 since Nov 2010
Thanks Given: 81
Thanks Received: 18

Technically, entry is entry into a trade, while
signal is what the indicator displays.
In everyday language, though, there may be
little difference.

Reply With Quote
  #1153 (permalink)
 Christophe 
Sydney Australia
 
Experience: Beginner
Platform: Ninja Trader
Trading: CL, ES, AUD/USD
Posts: 51 since Apr 2013
Thanks Given: 27
Thanks Received: 32


Hi there,
I have been trying to build the SwingTrendX.cs strategy and followed the following instruction :
  • Replaced PriceActionSwing.Utility with PriceActionSwing.Base;
  • Replaced SwingTypes with SwingStyle

But now getting the following errors :

NinjaScript File,Error,Code,Line,Column,
Strategy\SwingTrendX.cs,'NinjaTrader.Indicator.PriceActionSwing' does not contain a definition for 'SwingTrend' and no extension method 'SwingTrend' accepting a first argument of type 'NinjaTrader.Indicator.PriceActionSwing' could be found (are you missing a using directive or an assembly reference?),CS1061 - click for info,61,72,
Strategy\SwingTrendX.cs,The best overloaded method match for 'NinjaTrader.Strategy.Strategy.PriceActionSwing(int, double, PriceActionSwing.Base.SwingStyle, bool)' has some invalid arguments,CS1502 - click for info,72,7,
Strategy\SwingTrendX.cs,Argument '1': cannot convert from 'NinjaTrader.Data.IDataSeries' to 'int',NT1503 - click for info,72,24,
Strategy\SwingTrendX.cs,Argument '3': cannot convert from 'int' to 'PriceActionSwing.Base.SwingStyle',CS1503 - click for info,72,44,
Strategy\SwingTrendX.cs,Argument '4': cannot convert from 'PriceActionSwing.Base.SwingStyle' to 'bool',CS1503 - click for info,72,55,
Strategy\SwingTrendX.cs,The best overloaded method match for 'NinjaTrader.Strategy.Strategy.PriceActionSwing(int, double, PriceActionSwing.Base.SwingStyle, bool)' has some invalid arguments,CS1502 - click for info,82,7,
Strategy\SwingTrendX.cs,Argument '1': cannot convert from 'NinjaTrader.Data.IDataSeries' to 'int',NT1503 - click for info,82,24,
Strategy\SwingTrendX.cs,Argument '3': cannot convert from 'int' to 'PriceActionSwing.Base.SwingStyle',CS1503 - click for info,82,44,
Strategy\SwingTrendX.cs,Argument '4': cannot convert from 'PriceActionSwing.Base.SwingStyle' to 'bool',CS1503 - click for info,82,55,

Any help would be appreciated.

Forgot to add that I've downloaded the indicator today. So I would expect it's the latest version.

Thanks

Reply With Quote
  #1154 (permalink)
 humseper 
copenhagen
 
Experience: Beginner
Platform: ninjatrader
Trading: ES
Posts: 89 since Jun 2013
Thanks Given: 8
Thanks Received: 42

How do I set the indicator so the only thing that is displayd is whether it is a HL or HH or LL or LH and the price?

Reply With Quote
  #1155 (permalink)
 Christophe 
Sydney Australia
 
Experience: Beginner
Platform: Ninja Trader
Trading: CL, ES, AUD/USD
Posts: 51 since Apr 2013
Thanks Given: 27
Thanks Received: 32


Christophe View Post
Hi there,
I have been trying to build the SwingTrendX.cs .....

Update :
Looks like I've managed to get something to work. I had to use the UpFlip (and DnFlip) property, SwingTrend seems only be available on the oscillator indicator.

Reply With Quote
  #1156 (permalink)
 gdstuart 
Hammonton NJ
 
Experience: Beginner
Platform: NinjaTrader
Broker: NT Continuum
Trading: Indexes (Indices?)
Posts: 101 since Nov 2014
Thanks Given: 164
Thanks Received: 71

I DL'd the PasMA template from June 2014 but got an error message when I tried to apply it to an ES chart. Is there a newer version for NT7? I searched Attachments in this thread and did not find one.

Thanks,

Geoff

Reply With Quote
  #1157 (permalink)
PDQuig
San Jose, CA/USA
 
Posts: 5 since Feb 2015
Thanks Given: 4
Thanks Received: 1

@dorschden
@silverter17

Hi folks,

I’m a newbie to futures.io (formerly BMT)F and have just spent four hours reading through all 116 pages of this thread. I’m a bit of a fish out of water here since I’ve been working on the MultiCharts platform for seven years. I do also own NinjaTrader, but I’m not a C# coder and in the past have struggled following C# source.

I’m looking for clarification of the PAS swing creation logic so that I can code basic PAS functionality for MultiCharts. At this point I do not need the full (amazing!) array of additional features and functions that dorschden and others have authored.

There were a number of comments that discussed the logic for creating a new swing point where Swing Type= Standard and Swing Size=N. From what I’ve been able to glean, a new swing low point will be created when N number of bars have been printed having highs lower than the prior swing high’s high. Is this correct? Are there exceptions or other rules? For example: if the Swing Size=5 and five bars in a row print with their high 1 tick below the prior bar’s high would a new swing low still be printed? Or am I misunderstanding?

I really appreciate any additional clarifications. Many thanks

PDQ

Reply With Quote
  #1158 (permalink)
 
bobwest's Avatar
 bobwest 
Western Florida
Site Moderator
 
Experience: Advanced
Platform: Sierra Chart
Trading: ES, YM
Frequency: Several times daily
Duration: Minutes
Posts: 8,172 since Jan 2013
Thanks Given: 57,513
Thanks Received: 26,292


PDQuig View Post
@dorschden
@silverter17

Hi folks,

I’m a newbie to nexusfi.com (formerly BMT)F and have just spent four hours reading through all 116 pages of this thread. I’m a bit of a fish out of water here since I’ve been working on the MultiCharts platform for seven years. I do also own NinjaTrader, but I’m not a C# coder and in the past have struggled following C# source.

I’m looking for clarification of the PAS swing creation logic so that I can code basic PAS functionality for MultiCharts. At this point I do not need the full (amazing!) array of additional features and functions that dorschden and others have authored.

There were a number of comments that discussed the logic for creating a new swing point where Swing Type= Standard and Swing Size=N. From what I’ve been able to glean, a new swing low point will be created when N number of bars have been printed having highs lower than the prior swing high’s high. Is this correct? Are there exceptions or other rules? For example: if the Swing Size=5 and five bars in a row print with their high 1 tick below the prior bar’s high would a new swing low still be printed? Or am I misunderstanding?

I really appreciate any additional clarifications. Many thanks

PDQ

PDQ, I'm not @dorschden or @Silvester17, but here's a simple way to get it. If the Swing Size is, say, 7 (the default), it looks back at the previous 7 bars. If the current bar is above/below the high/low of that range, it is a new high/low point. That's it.

Since a picture is worth a thousand words, here's a quick way to see it.

The chart below has PAS with a 7 bar size and a Donchian Channel with a 7 bar period -- that is, the Donchian draws in the 7 bar range of highs and lows for easy visibility, and the PAS high/low swing dots shift when the previous 7-bar range is exceeded up or down. You can count the bars to be sure this is what is happening.

For instance, there is a swing low at 2080 on the chart. Each of the two bars just before it were lows of their previous 7-bar range of lows (and each had a dot showing it as a low), but it was the last to break the 7-bar range before price turned up, so it stayed the swing low. Then a new high point was reached, and the highs kept advancing until 2085.25, when the previous 7-bar range was no longer broken on the upside.... and so on.

That's all there is to it. It's a matter of exceeding or not exceeding a range. Works very well, too.




Bob.

Reply With Quote
  #1159 (permalink)
PDQuig
San Jose, CA/USA
 
Posts: 5 since Feb 2015
Thanks Given: 4
Thanks Received: 1

Yikes, I had definitely had it wrong. I really appreciate the time you took to do the pic, Bob!

Reply With Quote
  #1160 (permalink)
 Genshin 
Chicago, IL
 
Experience: Intermediate
Platform: Ninja Trader, Sierra Chart
Trading: ES, CL
Posts: 35 since Oct 2012
Thanks Given: 498
Thanks Received: 12


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

Attached Thumbnails
Click image for larger version

Name:	Untitled.png
Views:	316
Size:	80.1 KB
ID:	174842  
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