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,107 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

  #1991 (permalink)
 Miesto 
Monte Carlo, Monaco
Legendary Market Wizard
 
Experience: Advanced
Platform: NinjaTrader 8
Broker: NinjaTrader Brokerage
Trading: Futures
Posts: 647 since May 2012
Thanks Given: 799
Thanks Received: 1,193


traderpards View Post
Do a search on your Ninjatrader directory for PriceActionSwingV2. If you don't find it, you shouldn't have gotten that error. If you do, that's why - it already exists.

I too have Poncho's version installed and I wouldn't get anywhere if I had duplicate names installed.

If you're any good with Windows directories and copying files, you could also manually move PriceActionSwingV2.cs into the Indicators directory and try to build it. The error you get there will tell you what exactly is the problem.

Thanks a lot, compiling manually went good and it works like a charm now.

I think the other files (@ATR etc.) caused the problem. Errrors I got pointed that way. Don't know why, I selected replace during install (after making a copy of the original files in a subdirectory, maybe that was the problem?). But anyway, it's working now and it's lightning fast. Great job! and thanks again for your help.

Visit my NexusFi Trade Journal Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
REcommedations for programming help
Sierra Chart
Trade idea based off three indicators.
Traders Hideout
How to apply profiles
Traders Hideout
Increase in trading performance by 75%
The Elite Circle
Better Renko Gaps
The Elite Circle
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Just another trading journal: PA, Wyckoff & Trends
34 thanks
Tao te Trade: way of the WLD
24 thanks
My NQ Trading Journal
14 thanks
GFIs1 1 DAX trade per day journal
11 thanks
Vinny E-Mini & Algobox Review TRADE ROOM
10 thanks
  #1992 (permalink)
 Tradarr 
Atlanta Ga. USA
 
Experience: Intermediate
Platform: NT8,ThinkorSwim,
Trading: Grains
Posts: 340 since Mar 2017
Thanks Given: 86
Thanks Received: 88


traderpards View Post
A newer, much faster version of PAS for NT8 is available here: PriceActionSwingV2



I'd love to get everything working if there's anyone who can explain how it worked in NT version 7, with screenshots.



And if anyone else would like to make changes, feel free!

Will you be adding the plots for HL, LH, LL, HH, DT, DB and make them exportable for using in strategies, chart alerts, and market analyzer?

Sent using the nexusfi.com mobile app

Reply With Quote
  #1993 (permalink)
 traderpards 
Longmont, CO
 
Experience: Intermediate
Platform: NinjaTrader
Trading: GC, CL, TF
Posts: 491 since May 2011
Thanks Given: 195
Thanks Received: 1,258



Tradarr View Post
Will you be adding the plots for HL, LH, LL, HH, DT, DB and make them exportable for using in strategies, chart alerts, and market analyzer?

I removed those as actual plots. But they're still there as a data series and they're public, which means you can use them in strategies and anything else. If you get a new HH, then that value on that bar has a value, otherwise it's zero, for example.

Reply With Quote
Thanked by:
  #1994 (permalink)
 Tradarr 
Atlanta Ga. USA
 
Experience: Intermediate
Platform: NT8,ThinkorSwim,
Trading: Grains
Posts: 340 since Mar 2017
Thanks Given: 86
Thanks Received: 88


traderpards View Post
I removed those as actual plots. But they're still there as a data series and they're public, which means you can use them in strategies and anything else. If you get a new HH, then that value on that bar has a value, otherwise it's zero, for example.

Yes, I usually set the plots greater than 0 for true, my strategies get same error on compiling and I have to set "using priceactionswingbase" under declarations and edit elsewhere, anyway to compile strategies without getting error and having to edit when using Strategy Builder?

Sent using the NexusFi mobile app

Reply With Quote
Thanked by:
  #1995 (permalink)
 traderpards 
Longmont, CO
 
Experience: Intermediate
Platform: NinjaTrader
Trading: GC, CL, TF
Posts: 491 since May 2011
Thanks Given: 195
Thanks Received: 1,258


Tradarr View Post
Yes, I usually set the plots greater than 0 for true, my strategies get same error on compiling and I have to set "using priceactionswingbase" under declarations and edit elsewhere, anyway to compile strategies without getting error and having to edit when using Strategy Builder?

Sent using the NexusFi mobile app

Do you have an old version? I think I first made this using an Addon but I thought I refactored it so we wouldn't have to. Maybe I did post that, don't remember.

I agree you shouldn't have to go: "using priceactionswingbase" and I'm not seeing why you would have to. Can you try getting the latest version? Because priceactionswingbase doesn't exist in the latest version.

Also, can you see if this will compile? It does for me. If it doesn't, try the latest version. If it still doesn't, let me know. (I've made some changes since the last post but I thought they were cosmetic changes...)

Attached Files
Elite Membership required to download: MyCustomStrategy1.cs
Reply With Quote
  #1996 (permalink)
 Tradarr 
Atlanta Ga. USA
 
Experience: Intermediate
Platform: NT8,ThinkorSwim,
Trading: Grains
Posts: 340 since Mar 2017
Thanks Given: 86
Thanks Received: 88


traderpards View Post
Do you have an old version? I think I first made this using an Addon but I thought I refactored it so we wouldn't have to. Maybe I did post that, don't remember.



I agree you shouldn't have to go: "using priceactionswingbase" and I'm not seeing why you would have to. Can you try getting the latest version? Because priceactionswingbase doesn't exist in the latest version.



Also, can you see if this will compile? It does for me. If it doesn't, try the latest version. If it still doesn't, let me know. (I've made some changes since the last post but I thought they were cosmetic changes...)

I will try later today. Thanks!

Sent using the NexusFi mobile app

Reply With Quote
  #1997 (permalink)
 
chipwitch's Avatar
 chipwitch 
Nashville, TN
 
Experience: Beginner
Platform: NinjaTrader
Broker: NinjaTrader, Continuum Data
Trading: MES for now... baby steps
Posts: 322 since Feb 2022
Thanks Given: 230
Thanks Received: 631


traderpards View Post
I removed those as actual plots. But they're still there as a data series and they're public, which means you can use them in strategies and anything else. If you get a new HH, then that value on that bar has a value, otherwise it's zero, for example.

You're familiar with the PriceActionSwing code? I'm trying to make a small change and can't find the SwingDurationStyle enum. I did a text search. Is it part of DLL somewhere? I'm just looking for the definition mostly, but would like to add another element too.

<ETA> Disregard.... I found it.

Reply With Quote
Thanked by:
  #1998 (permalink)
 designer 
miami beach
 
Experience: Intermediate
Platform: Tradestation
Trading: stocks
Posts: 3 since Mar 2011
Thanks Given: 0
Thanks Received: 0

Hello, Any suggestions how to set the PriceActionSwing indicator code in NinjaTrader 8 Strategy Builder? I get this error when compiling in SB "No overload for method 'PriceActionSwingV2' takes 7 arguments.
I am using PriceActionSwingV21 indicator.
Thanks in advance

Reply With Quote
  #1999 (permalink)
 traderpards 
Longmont, CO
 
Experience: Intermediate
Platform: NinjaTrader
Trading: GC, CL, TF
Posts: 491 since May 2011
Thanks Given: 195
Thanks Received: 1,258


designer View Post
Hello, Any suggestions how to set the PriceActionSwing indicator code in NinjaTrader 8 Strategy Builder? I get this error when compiling in SB "No overload for method 'PriceActionSwingV2' takes 7 arguments.
I am using PriceActionSwingV21 indicator.
Thanks in advance

I don't use Strategy Builder so I wouldn't know... but we can still try and figure it out. I might have something to try...

That error will likely only come from an improper instantiation of a PriceActionSwingV2() object. Attached is a screen shot of the constructors. As you can see, one overload has no parameters and the other, just like with all Ninja indicators, it will allow you to put an input series for the other overload.


I don't know how you enter parameters or if you even can in Strategy Builder. But if you can, try entering zero parameters.

That's the only guess I have... Good luck!

Attached Thumbnails
Click image for larger version

Name:	image_259.png
Views:	111
Size:	75.0 KB
ID:	324892  
Reply With Quote
  #2000 (permalink)
 designer 
miami beach
 
Experience: Intermediate
Platform: Tradestation
Trading: stocks
Posts: 3 since Mar 2011
Thanks Given: 0
Thanks Received: 0


Hi traderpards,
Thanks for your quick response. I have attached here the code script for the strategy as created by Strategy Builder, when compiled I get the error mentioned above.
Please take a look. Thanks again.

Attached Files
Elite Membership required to download: DoubleBotPAS.txt
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