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

  #2001 (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
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.

No parameters means it should look like this:

else if (State == State.DataLoaded)
{
PriceActionSwingV21 = PriceActionSwingV2();
}

Try that...

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
My NT8 Volume Profile Split by Asian/Euro/Open
NinjaTrader
Are there any eval firms that allow you to sink to your …
Traders Hideout
ZombieSqueeze
Platforms and Indicators
Exit Strategy
NinjaTrader
New Micros: Ultra 10-Year & Ultra T-Bond -- Live Now
Treasury Notes and Bonds
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Get funded firms 2023/2024 - Any recommendations or word …
61 thanks
Funded Trader platforms
39 thanks
NexusFi site changelog and issues/problem reporting
26 thanks
The Program
18 thanks
Battlestations: Show us your trading desks!
18 thanks
  #2002 (permalink)
 sovalles2022 
Montevideo uruguay
 
Experience: Intermediate
Platform: Ninja
Trading: Futures
Posts: 1 since Jun 2022
Thanks Given: 0
Thanks Received: 0


bcomas View Post
Hello find attached the strategy for NT8.

I modified the PASPRO indicator to extract the abc signals in long and short . Also implemented stop loss and profit.



import the zip as usually


Hello, excelent your work, but I want to use this indicator in strategies built in Startegy builder, but I need it plots entries for sell and buy in order to use that signals with other conditions or with other indicator as EMA or trends indicators. How can I do that?

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



sovalles2022 View Post
Hello, excelent your work, but I want to use this indicator in strategies built in Startegy builder, but I need it plots entries for sell and buy in order to use that signals with other conditions or with other indicator as EMA or trends indicators. How can I do that?

Thanks for the compliment... I hate to have to tell you this but since I know how to code, I've never really needed to learn anything about the strategy analyzer. I honestly know nothing about it so I couldn't tell you.

Reply With Quote
  #2004 (permalink)
 Tradarr 
Atlanta Ga. USA
 
Experience: Intermediate
Platform: NT8,ThinkorSwim,
Trading: Grains
Posts: 336 since Mar 2017
Thanks Given: 85
Thanks Received: 87


sovalles2022 View Post
Hello, excelent your work, but I want to use this indicator in strategies built in Startegy builder, but I need it plots entries for sell and buy in order to use that signals with other conditions or with other indicator as EMA or trends indicators. How can I do that?

The plots are true when > 0, PAS won't compile in SB, you'll have to unlock the SB code and add a using a declaration for PAS , NT8 support is familiar and can send you a video on how to compile PAS with SB generated code .

Sent using the NexusFi mobile app

Reply With Quote
Thanked by:
  #2005 (permalink)
 gaz0001 
United Kingdom, UK
 
Experience: Intermediate
Platform: TWS, NT8 & TV
Broker: IB & NT
Trading: Futures, Stocks, Options & Crypto
Posts: 106 since Jan 2022
Thanks Given: 43
Thanks Received: 88

Hi,
Does anyone else have problems compiling strategies based on the PriceActionSwingOscillator indicator?

I am only trying to do something basic.
PriceActionSwingOscillator - Trend - Value=1 Buy long...... Thats the entirety of the strategy. Cant seem to get it to compile.

Thanks

Visit my NexusFi Trade Journal Reply With Quote
  #2006 (permalink)
 kennetstenberg 
Bargemon France
 
Experience: Intermediate
Platform: Ninjatrader 8
Trading: ES YM
Posts: 4 since Oct 2016
Thanks Given: 0
Thanks Received: 0

type_variable


I get the error indicator is type but used as a variable when i do pasProV2 = PriceActionSwingProV2(); in State.DataLoaded
pasProV2 is declared as
private PriceActionSwingProV2 pasProV2;

Canīt seem to get around that

It works with PriceActionSwingV2

Kind Regards

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


kennetstenberg View Post
type_variable


I get the error indicator is type but used as a variable when i do pasProV2 = PriceActionSwingProV2(); in State.DataLoaded
pasProV2 is declared as
private PriceActionSwingProV2 pasProV2;

Canīt seem to get around that

It works with PriceActionSwingV2

Kind Regards

Well that sucks. I don't ever remember seeing this before - not being able to instantiate derived (or inherited) classes in Ninjatrader. You should be able to do that.

You know all that generated code at the bottom of every indicator? There's none of that in a derived class and that's preventing us from using it but you can put it on a chart. Doesn't make sense to me.

<heavy sigh>

Reply With Quote
  #2008 (permalink)
Babushkaboi
Arlington, Virginia, USA
 
Posts: 5 since Jun 2022
Thanks Given: 2
Thanks Received: 2

Price action and volume could work well in this

Reply With Quote
  #2009 (permalink)
 kennetstenberg 
Bargemon France
 
Experience: Intermediate
Platform: Ninjatrader 8
Trading: ES YM
Posts: 4 since Oct 2016
Thanks Given: 0
Thanks Received: 0

If I create an Indicator with the Name PriceActionProV3 then I get the regular Ninjascript generated code.
But not if I base it on PriceActionSwingV2

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



kennetstenberg View Post
If I create an Indicator with the Name PriceActionProV3 then I get the regular Ninjascript generated code.
But not if I base it on PriceActionSwingV2

If I understand you correctly, then yes, you don't. Ninjatrader doesn't support inherited classes, sort of. You can put them on a chart but you can't put them in a strategy. I don't get it myself but I'm not them.

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