PriceActionSwing discussion (Page 134) - NinjaTrader | futures.io
futures.io futures trading
 

Go Back   futures.io

> Futures Trading, News, Charts and Platforms > Platforms and Indicators > NinjaTrader


PriceActionSwing discussion
Started:November 23rd, 2009 (11:23 AM) by dorschden Views / Replies:392,991 / 1,348
Last Reply:47 Minutes Ago (08:56 AM) Attachments:425

Welcome to futures.io.

Welcome, Guest!

This forum was established to help traders (especially futures traders) by openly sharing indicators, strategies, methods, trading journals and discussing the psychology of trading.

We are fundamentally different than most other trading forums:
  • We work extremely hard to keep things positive on our forums.
  • We do not tolerate rude behavior, trolling, or vendor advertising in posts.
  • We firmly believe in openness and encourage sharing. The holy grail is within you, it is not something tangible you can download.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.


You'll need to register in order to view the content of the threads and start contributing to our community. It's free and simple, and we will never resell your private information.

-- Big Mike
     

Reply
 425  
 
Thread Tools Search this Thread

PriceActionSwing discussion

Old October 10th, 2016, 05:52 AM   #1331 (permalink)
Elite Member
London, UK
 
Futures Experience: Intermediate
Platform: NinjaTrader, Julia
Favorite Futures: Ockham's razor
 
gregid's Avatar
 
Posts: 646 since Aug 2009
Thanks: 314 given, 595 received

@Ducman
I have no experience with this indicator but my first question would be - NT7 or NT8 version?
Then the most likely place the error like this would arise is in the generated wrapper and these are generated from the accessors so that's where I would look for fix. As a first try I would try to instead of using "using" try putting direct full path to every use of the enum, especially around get/set at the bottom (eg. "PriceActionSwingOscillator.Utility.SwingTypes swingType") This should help the wrapper to avoid confusion.

Reply With Quote
     

Old October 11th, 2016, 12:18 PM   #1332 (permalink)
Elite Member
The Netherlands
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: NINJATRADER Brokerage / Continumm
Favorite Futures: CL, FDAX
 
Ducman's Avatar
 
Posts: 456 since Nov 2010
Thanks: 391 given, 612 received

Still using NT7.

There are users of the indicator where the 'standard' way of coding works fine so it must have to do with the way my NT is organized on my computer or how the indicator has been imported? I did everything following the described examples but I can't get it to compile. I even tried to do it on a fresh istall of NT on another computer with the same result.

Will dig into it further.

Ducman

Reply With Quote
     

Old October 12th, 2016, 08:57 PM   #1333 (permalink)
Elite Member
Florida
 
Futures Experience: Intermediate
Platform: NT7
Favorite Futures: CL, NQ, NG
 
Posts: 455 since Jun 2009
Thanks: 1,350 given, 380 received


@Ducman,
I had to delete and/or rename the PriceActionSwingOscillator file I had because it didn't have the .Utility file with it... I found an older one with the .Utility in it - not sure where it came from ... I think the Download version didn't have the Utility.
Anyway, after deleting the old one, downloading and trying it again, it compiles and loads onto the chart.

HTH

Reply With Quote
     

Old October 13th, 2016, 09:04 AM   #1334 (permalink)
Elite Member
The Netherlands
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: NINJATRADER Brokerage / Continumm
Favorite Futures: CL, FDAX
 
Ducman's Avatar
 
Posts: 456 since Nov 2010
Thanks: 391 given, 612 received


zeller4 View Post
@Ducman,
I had to delete and/or rename the PriceActionSwingOscillator file I had because it didn't have the .Utility file with it... I found an older one with the .Utility in it - not sure where it came from ... I think the Download version didn't have the Utility.
Anyway, after deleting the old one, downloading and trying it again, it compiles and loads onto the chart.

HTH

Thanks for your reply. The thing is that I have no older version of the indicator and imported the latest available package directly into NT. I have indeed the feeling that I miss a file but I'm not into C++ enough to understand what I miss.

Actually using the indicator directly in the chart is no problem, that works okay. It's only when I make a Strategy with this indicator that results in the compile error.

Can you look what files you have belonging to the PriceActionSwing indicator?

Thanks,

Ducman

Reply With Quote
     

Old October 13th, 2016, 09:34 AM   #1335 (permalink)
Elite Member
New York, NY
 
Futures Experience: Intermediate
Platform: NinjaTrader
Favorite Futures: CL, 6E, ES and Maybe DX for smaller tick value
 
Posts: 691 since May 2011
Thanks: 1,209 given, 442 received

Futures Edge on FIO

Are you a NinjaTrader user?

 

Ducman View Post
Thanks for your reply. The thing is that I have no older version of the indicator and imported the latest available package directly into NT. I have indeed the feeling that I miss a file but I'm not into C++ enough to understand what I miss.

Actually using the indicator directly in the chart is no problem, that works okay. It's only when I make a Strategy with this indicator that results in the compile error.

Ducman

@Ducman, are you writing the strategy or trying to use Strategy Wizard? If using SWizard, click on the view code button. It will open the code for editing. Then compile it and the error should show up.

Careful since editing the SW code will stop SW from editing it. But at least you can find out what is causing the error.

Reply With Quote
     

Old October 13th, 2016, 09:58 AM   #1336 (permalink)
Elite Member
The Netherlands
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: NINJATRADER Brokerage / Continumm
Favorite Futures: CL, FDAX
 
Ducman's Avatar
 
Posts: 456 since Nov 2010
Thanks: 391 given, 612 received


jmont1 View Post
@Ducman, are you writing the strategy or trying to use Strategy Wizard? If using SWizard, click on the view code button. It will open the code for editing. Then compile it and the error should show up.

Careful since editing the SW code will stop SW from editing it. But at least you can find out what is causing the error.

@jmont1 I tried both and I know the error messages. see initial post https://futures.io/ninjatrader/1272-priceactionswing-discussion-133.html#post601059

The error message just does not say enough for me to resolve.

Ducman

Reply With Quote
     

Old October 13th, 2016, 05:10 PM   #1337 (permalink)
Elite Member
Penetanguishene, Ontario, Canada
 
Futures Experience: None
Platform: NinjaTrader 7
Broker/Data: Ninja Brokerage/Continuum
Favorite Futures: ZB,
 
TopGunNote's Avatar
 
Posts: 228 since Jun 2011
Thanks: 257 given, 566 received

Just a thought?


Ducman View Post
Hey folks,

I went through the the whole thread and want to try the indicator in one of my strategies. I think I followed all the required steps the get it to work but I get an error when I try to compile. The error is not new, I have seen different persons having the same issue. So far I could not find the solution, probably a simple thing.....

This is what I've done:

1. Download and imported the latest indicator package (no issue)
2. Using the indicators in charts (no issue)
3. Creating a simple strategy using declarations and variables from the given sample code

CODE
#region Using declarations
...
using PriceActionSwingOscillator.Utility;
#endregion

#region Variables
private int swingSize = 7;
private SwingTypes swingType = SwingTypes.Standard;
private int dtbStrength = 15;
private DataSeries swingTrend;
//private Indicator.PriceActionSwingOscillator pasOsc;
#endregion
CODE

When I compile the code I get the following error messages based on the bold line items:

Error #1:
The type or namespace name 'PriceActionSwingOscillator' could not be found (are you missing a using directive or an assembly reference?)

Error #2:
The type or namespace name 'SwingTypes' could not be found (are you missing a using directive or an assembly reference?)

I've tried hard to solve it myself but I ran out of ideas. It's frustrating while I want to spend the time on learning the indicator instead.

Can anybody help me out.

Appreciate it,

Ducman

I'm not a "coder" but was wondering if it had something to do with the Capitalization you have on the first letter after the = sign there in code in the line you have BOLDed, I've run into similar issues in the past,
You might try this line instead? [private SwingTypes swingType = swingTypes.Standard]

#region Variables
private int swingSize = 7;
private SwingTypes swingType = SwingTypes.Standard;
private int dtbStrength = 15;
private DataSeries swingTrend;
//private Indicator.PriceActionSwingOscillator pasOsc;
#endregion
CODE

Reply With Quote
     
The following 3 users say Thank You to TopGunNote for this post:
     

Old November 8th, 2016, 07:43 AM   #1338 (permalink)
Trading Apprentice
indore,mp,india
 
Futures Experience: Beginner
Platform: none
Favorite Futures: nifty
 
Posts: 1 since Dec 2015
Thanks: 0 given, 1 received

using pas osc

Hi,

I am using pasosc as trend identifier i first check trend in 60 min and daily chart and suppose if both are down so down trend volume i receive I short the futures but and cover my short when next uptrend that is 1st green bar appears in volume but the problem is it reflect that green bar after 3-4 bars so my lot amnt of profit is been eaten up and i get very small amount of profit Please help me that it update bar in real time with each 5 min bar

Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).



Change was at 1st bar where ideally I have to cover my short but it reflected at green bar marked as 2 and my profit was eaten up

Reply With Quote
     
The following user says Thank You to ishmeetchhabra for this post:
     

Old November 12th, 2016, 09:09 AM   #1339 (permalink)
Elite Member
Scottsdale, Arizona, USA and Puerto Penasco, Mx
 
Futures Experience: Intermediate
Platform: Ninja 7, TOS
Favorite Futures: YM, ES, GC, CL
 
DougN's Avatar
 
Posts: 25 since Nov 2013
Thanks: 23 given, 12 received

Time, Range, Tick?

Having reviewed many posts here as well as attachments the question remains whether the optimum results are obtained using tick, range, or time charts.

I would like to know how the developer designed it to be used as well as discoveries other traders have made.

My favorite instrument right now is YM and will be incorporating CL and GC soon.

Thanks,
Doug

Reply With Quote
     

Old November 23rd, 2016, 12:11 AM   #1340 (permalink)
Elite Member
Brisbane, Queensland, Australia
 
Futures Experience: Intermediate
Platform: ninja
Favorite Futures: dax
 
Posts: 4 since Feb 2016
Thanks: 0 given, 0 received


Folks how can I change the swingpro indicator to place stops under the A point rather than the C point of the whole ABC structure, once entry is satisfied.

thanks

Reply With Quote
     

Reply



futures.io > Futures Trading, News, Charts and Platforms > Platforms and Indicators > NinjaTrader > PriceActionSwing discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)
 

Trading Technologies: ADL hands-on

Dec 13

Normal webinar schedule resumes after the holidays

January

Ernie Chan: Risk Management

Elite only

Dedicated Trading Servers: Advantages/Disadvantages w/sam028

Elite only

An Afternoon with FIO member Massive I

Elite only

Leo Murphy: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Murray Math Discussion? jwhtrades Traders Hideout 5 July 27th, 2011 10:06 PM
Looking for general discussion thread. jctrader Traders Hideout 2 May 2nd, 2011 03:23 PM
PriceActionSwing jeff92887 NinjaTrader 2 March 1st, 2011 07:15 AM


All times are GMT -4. The time now is 09:44 AM.

Copyright © 2016 by futures.io. 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.
 
no new posts
Page generated 2016-12-11 in 0.09 seconds with 19 queries on phoenix via your IP 54.159.129.152