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

  #1361 (permalink)
 
master trader's Avatar
 master trader 
Calgary AB, Canada
 
Experience: Master
Platform: NinjaTrader
Broker: Zen-Fire
Trading: CL, GC, ZB
Posts: 124 since Apr 2010
Thanks Given: 43
Thanks Received: 41


poncho View Post
The error you are getting is telling you that the compiler doesn't understand PriceActionSwing.Base.SwingStyle.Standard. You should add a using declaration to your using section:
 
Code
using PriceActionSwing.Base;
And then change PriceActionSwing.Base.SwingStyle.Standard to SwingStyle.Standard.

Note: You are going to run into more issues if you are using NT8 as there's no PriceActionSwingPro method that takes 4 arguments, the method declaration takes a lot more than that.

My personal preference is to declare an object at the beginning of the class:
 
Code
private NinjaTrader.NinjaScript.Indicators.PriceActionSwing.PriceActionSwingPro _pasPro;
And then in State.Configure (or Initialize if you are using NT7) you can instantiate your object:
 
Code
_pasPro = PriceActionSwingPro(....
And then in your code you can use:
 
Code
if (_pasPro.AbcSignals[0] == 2)


A million thanks @poncho. I'm now able to compile using declarations. Yes I'm still using Ninja7 as all my strategies are written for Ninja7. Many thanks to Big Mike too for this wonderful forum.

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
ZombieSqueeze
Platforms and Indicators
New Micros: Ultra 10-Year & Ultra T-Bond -- Live Now
Treasury Notes and Bonds
Are there any eval firms that allow you to sink to your …
Traders Hideout
Build trailing stop for micro index(s)
Psychology and Money Management
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Get funded firms 2023/2024 - Any recommendations or word …
60 thanks
Funded Trader platforms
43 thanks
NexusFi site changelog and issues/problem reporting
24 thanks
GFIs1 1 DAX trade per day journal
22 thanks
The Program
19 thanks
  #1362 (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


dorschden View Post
The full PriceActionSwing package for NinjaTrader 8.0 is now ready. Thanks to @poncho there was already a version floating around. This version now also includes the PriceActionSwingPro next to the PriceActionSwing and the PriceActionSwingOsciliator.

I just sent Big Mike a message with the PriceActionSwing indicators for NT8, because I can't edit the indicator in the Free Section, so he needs to upload the indicator. He'll probably post a message here, when he uploaded the PriceActionSwing to the download section.

There are two things which I didn't convert. I didn't integrated the GUI elements for the statistic and the risk management features. I might add that within the next couple of weeks. The logic is already in the code. If you need the values you can add "Print"-statements in the code to send the values to the output window. And there is no support for any GomCD related stuff anymore. I might add something similar in the future as well, but no promise there. Every other feature is in there and should work like in NT7.


Thank you very much. It is a fantastic piece of code!! I need some help on how to add a different indicator for the divergences. In NT7 version I had to add the indicator to PriceActionSwingBase. Could you tell me how to do it in the NT8 version?
thank you

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


So I got to delete ninja and reset up everything now?
deleting recompiling doesn't work....

Reply With Quote
Thanked by:
  #1364 (permalink)
 icog 
Sofia Bulgaria
 
Experience: Intermediate
Platform: TradeStation
Broker: TradeStation
Trading: Everything
Posts: 194 since Oct 2016
Thanks Given: 391
Thanks Received: 181

Hi,
I downloaded the version for NT8 and it work nice so far. Was able to add custom divergence indicator without problems (MFI). The only problem i found is it wont save the preset after you make changes to the settings. The error i receive is:
Unhandled exception: There was an error generating the XML document.

Any ideas what could be the reason for that?

Thanks again for the nice indicator!

Reply With Quote
  #1365 (permalink)
 watrader 
Stuttgart, Germany
 
Experience: Master
Platform: NinjaTrader
Broker: IB
Trading: ZB, EUR, ES
Posts: 106 since Dec 2010
Thanks Given: 68
Thanks Received: 44


icog View Post
Hi,
I downloaded the version for NT8 and it work nice so far. Was able to add custom divergence indicator without problems (MFI). The only problem i found is it wont save the preset after you make changes to the settings. The error i receive is:
Unhandled exception: There was an error generating the XML document.

Any ideas what could be the reason for that?

Thanks again for the nice indicator!

Yes I have the same problem.

Reply With Quote
  #1366 (permalink)
 watrader 
Stuttgart, Germany
 
Experience: Master
Platform: NinjaTrader
Broker: IB
Trading: ZB, EUR, ES
Posts: 106 since Dec 2010
Thanks Given: 68
Thanks Received: 44


dorschden View Post
The full PriceActionSwing package for NinjaTrader 8.0 is now ready. Thanks to @poncho there was already a version floating around. This version now also includes the PriceActionSwingPro next to the PriceActionSwing and the PriceActionSwingOsciliator.

I just sent Big Mike a message with the PriceActionSwing indicators for NT8, because I can't edit the indicator in the Free Section, so he needs to upload the indicator. He'll probably post a message here, when he uploaded the PriceActionSwing to the download section.

There are two things which I didn't convert. I didn't integrated the GUI elements for the statistic and the risk management features. I might add that within the next couple of weeks. The logic is already in the code. If you need the values you can add "Print"-statements in the code to send the values to the output window. And there is no support for any GomCD related stuff anymore. I might add something similar in the future as well, but no promise there. Every other feature is in there and should work like in NT7.



Hi @dorschden

I am missing the sound files. Where can the sound files be downloaded?

Thank you.

walt

Reply With Quote
  #1367 (permalink)
 poncho 
Littleton, CO
 
Experience: Intermediate
Platform: Jigsaw (on NT8)
Broker: IB, IQFeed
Trading: CL
Posts: 12 since Oct 2015
Thanks Given: 13
Thanks Received: 14


skfutures View Post
So I got to delete ninja and reset up everything now?
deleting recompiling doesn't work....

I am out of ideas. Deleting the files and recompiling should work. It did on my system. I suppose you could delete NT and re-install it.

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

Ok thanks

Sent using the NexusFi mobile app

Reply With Quote
  #1369 (permalink)
 
trendwaves's Avatar
 trendwaves 
Florida
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader 8
Trading: ES, NQ, CL
Posts: 703 since Dec 2012
Thanks Given: 2,898
Thanks Received: 2,525


poncho View Post
I am out of ideas. Deleting the files and recompiling should work. It did on my system. I suppose you could delete NT and re-install it.


skfutures View Post
So I got to delete ninja and reset up everything now?
deleting recompiling doesn't work....

There are 3 indicator files in the release package, are you certain you completely deleted all of the associated files ?

Be Patient and Trade Smart
Visit my NexusFi Trade Journal Reply With Quote
  #1370 (permalink)
 skfutures 
North vancouver
 
Experience: Beginner
Platform: Ninjatrader, Firetip
Trading: ES YM
Posts: 131 since Oct 2016
Thanks Given: 108
Thanks Received: 42


I did. Anyway thank you. I delete the nt itself and it works fine now

Sent using the NexusFi mobile app

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