PriceActionSwing discussion - NinjaTrader | futures io social day trading
futures io futures trading


PriceActionSwing discussion
Updated: Views / Replies:457,564 / 1,538
Created: by dorschden Attachments:490

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 90,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • 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.

-- Big Mike, Site Administrator

Reply
 490  
 
Thread Tools Search this Thread
 

PriceActionSwing discussion

  #1411 (permalink)
Elite Member
Copenhagen/Denmark
 
Futures Experience: Beginner
Platform: NinjaTrader
Favorite Futures: futures
 
Posts: 3 since Aug 2016
Thanks: 1 given, 1 received

Extracting the value for swingTrend

Hi

First of all I'm new to programming so I might have some questions which are obvious for even the average programmer.
But I'm trying to make a strategy where I would like to see whether we are in a uptrend or downtrend. As far as can see PriceActionSwingOscillator iterates the variable swingTrend which is either -1, 0 or 1. I have tried to extract the value of swingTrend without any luck. So I hope some of you guys migt be able to help.

So far I've added

private NinjaTrader.NinjaScript.Indicators.PriceActionSwing.PriceActionSwingOscillator _pasOsc;

and under State.Configure is have added

swingTrend = new Series<int>(this);
_pasOsc = PriceActionSwingOscillator(swingType, swingSize, dtbStrength, false, showOscillator, useOldTrend, true, true);

base.AddChartIndicator(_pasOsc);

Under OnBarUpdate() I've added the following, just to test what the value of swingTrend is

if (base.CurrentBar < 1)
return;

Print(_pasOsc.SwingTrend[0]);
Print(_pasOsc.SwingTrend[1]);

But I get an error CS1061 that 'NinjaTrader.NinjaScript.Indicators.PriceActionSwing.PriceActionSwingOscillator' doesn't contain a definition for SwingTrend

Hope someone can help me.

Thanks


Last edited by TheWiz; January 10th, 2017 at 09:40 AM.
Reply With Quote
 
  #1412 (permalink)
Elite Member
Ellicott City
 
Futures Experience: Intermediate
Platform: ninja trader
Favorite Futures: es treasuries
 
Posts: 13 since Jan 2017
Thanks: 0 given, 0 received

not getting tick sizes on downswing

anybody know why I wouldn't be getting TICK labels for only the downswings? see chart attched. any help would be greatly appreciated.

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

Reply With Quote
 
  #1413 (permalink)
Elite Member
Ellicott City
 
Futures Experience: Intermediate
Platform: ninja trader
Favorite Futures: es treasuries
 
Posts: 13 since Jan 2017
Thanks: 0 given, 0 received


Thank you Sylvester


Silvester17 View Post
make sure the text color is not the same as the background color:

 
Code
private Color textColorLowerHigh = Color.Black;

 
Code
private Color textColorLowerLow = Color.Black;


Reply With Quote
 
  #1414 (permalink)
Elite Member
Copenhagen/Denmark
 
Futures Experience: Beginner
Platform: NinjaTrader
Favorite Futures: YM
 
Posts: 4 since Sep 2016
Thanks: 3 given, 0 received

Maybe a stupid question, but what are the ATR, MACD, MAX, MIN, SMA and Stochastics cs files doing in the folder for this indicator (NT8)? When I try to install the indicator via import NinjaScript Add-on, NT8 says "File bin\custom\indicators\@stochastics already exists on your PC. Would you like to replace the existing file?".

Reply With Quote
 
  #1415 (permalink)
Elite Member
Copenhagen/Denmark
 
Futures Experience: Beginner
Platform: NinjaTrader
Favorite Futures: futures
 
Posts: 3 since Aug 2016
Thanks: 1 given, 1 received

I can't say why they are included, but I just ignored them and the indicator works just fine

Reply With Quote
The following user says Thank You to TheWiz for this post:
 
  #1416 (permalink)
Elite Member
Copenhagen/Denmark
 
Futures Experience: Beginner
Platform: NinjaTrader
Favorite Futures: YM
 
Posts: 4 since Sep 2016
Thanks: 3 given, 0 received

Cool, thanks, I'll go ahead and delete those

Reply With Quote
 
  #1417 (permalink)
Market Wizard
Birmingham UK
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: IG/eSignal
Favorite Futures: Dax
 
ratfink's Avatar
 
Posts: 3,324 since Dec 2012
Thanks: 11,199 given, 7,050 received
Forum Reputation: Legendary


FTR1 View Post
Maybe a stupid question, but what are the ATR, MACD, MAX, MIN, SMA and Stochastics cs files doing in the folder for this indicator (NT8)? When I try to install the indicator via import NinjaScript Add-on, NT8 says "File bin\custom\indicators\@stochastics already exists on your PC. Would you like to replace the existing file?".

Because they are used by the indicator and detected as dependencies when Ninja runs it's compile and export. Same in NT7. Agreeing to replace them is usually fine, or choosing not to replace them is also usually fine so long as valid up to date versions already exist on your machine.

Travel Well
Reply With Quote
The following 3 users say Thank You to ratfink for this post:
 
  #1418 (permalink)
Elite Member
Madrid - Spain
 
Futures Experience: Beginner
Platform: NinjaTrader
Broker/Data: CONTINUUM
Favorite Futures: ES, Currency Futures, Forex, oil, gold, EUR/USD, Stocks
 
Posts: 265 since Jun 2014
Thanks: 333 given, 100 received


FTR1 View Post
Maybe a stupid question, but what are the ATR, MACD, MAX, MIN, SMA and Stochastics cs files doing in the folder for this indicator (NT8)? When I try to install the indicator via import NinjaScript Add-on, NT8 says "File bin\custom\indicators\@stochastics already exists on your PC. Would you like to replace the existing file?".

I may be wrong as I am not expert. When you export an indicator to share , you have to add all the scripts (indicators) that the indicator that you are exporting is using for all its calculations. If you installed this indicator without them , it woudn`t work.
When you install it you can get the message that you allready have this indicators so you can skip it or not , no matter . But sometimes you get a different message warning that you are trying to install an older version than the one you already have installed in your platform, so then you should skip and not install the older version of this additional indicators.
Sorry for my english , I hope you understand what I am trying to explain.

pep

If a wise coder thinks I am wrong , I would appreciate a corretion.

Reply With Quote
The following user says Thank You to pepbosch for this post:
 
  #1419 (permalink)
Trading Apprentice
Bangalore+India
 
Futures Experience: Intermediate
Platform: MetaTrader and Tradestation
Favorite Futures: Forex and Stocks
 
Posts: 39 since Aug 2015
Thanks: 5 given, 21 received

Price Action Rules

Okay..!! So I have been trading Price Action for a really long time. 3 years may be and I may still be called a beginner.
I am trying to use a very quantitative approach towards my entire Price Action Plan and trying to remove all the subjectivity that might loosen that statistical results.
One thing I haven't been able to properly come up with is Rules for Corrective and Impulsive nature of the Swings.

I already have a couple of rules in place.

Impulsive: 1. The first candle that initiates should have the color in the direction of the swing (Green for Up, Red for Down)
2. The second candle should close above the high of the first candle.

This defines the impulsive nature of the swing.

Corrective: 1. The first candle initiating is of the opposite color of the swing direction. (Green for Down, Red for Up)
2. The second candle closes below the high of the first candle.

This defines the corrective nature. I guess I am strict on impulsive nature because I want both the rules to be satisfied. Corrective, I am alright because even if one rule appears, it's corrective for me which supports my strictness on Impulsive Rules.

So, I use second degree Pivots to identify a Swing. That is I need two candle higher high or lower lows (not have to be consecutive) to initiate the swing.


I was just wondering, if anybody else has better rules for Impulsive and Corrective nature of the swings depending on the candles and Price Action.

Happy Trading...
Pavan

Reply With Quote
The following user says Thank You to pavanb15589 for this post:
 
  #1420 (permalink)
Elite Member
Singapore + Malaysia
 
Futures Experience: Beginner
Platform: NinjaTrader
Favorite Futures: Currency Futures
 
Posts: 6 since Oct 2016
Thanks: 4 given, 1 received


Hi Pavan,

I tried something similar, maybe you can give it a try.

use a 2 range chart, you see 3 green go long, 3 red go short (following the trend)

for reversal at S/R see something like a red green red (go short) or green red green(go long),
then can go for the reverse of trend.

hope it helps



pavanb15589 View Post
Okay..!! So I have been trading Price Action for a really long time. 3 years may be and I may still be called a beginner.
I am trying to use a very quantitative approach towards my entire Price Action Plan and trying to remove all the subjectivity that might loosen that statistical results.
One thing I haven't been able to properly come up with is Rules for Corrective and Impulsive nature of the Swings.

I already have a couple of rules in place.

Impulsive: 1. The first candle that initiates should have the color in the direction of the swing (Green for Up, Red for Down)
2. The second candle should close above the high of the first candle.

This defines the impulsive nature of the swing.

Corrective: 1. The first candle initiating is of the opposite color of the swing direction. (Green for Down, Red for Up)
2. The second candle closes below the high of the first candle.

This defines the corrective nature. I guess I am strict on impulsive nature because I want both the rules to be satisfied. Corrective, I am alright because even if one rule appears, it's corrective for me which supports my strictness on Impulsive Rules.

So, I use second degree Pivots to identify a Swing. That is I need two candle higher high or lower lows (not have to be consecutive) to initiate the swing.


I was just wondering, if anybody else has better rules for Impulsive and Corrective nature of the swings depending on the candles and Price Action.

Happy Trading...
Pavan


Reply With Quote

Reply



futures io > > > > PriceActionSwing discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

Opening Breakouts and Reversals w/Al Brooks

Elite only
 

Introducing daytradr by Jigsaw, new stand-alone platform

Oct 19
 

RandBots: AutoTrading Bots to diversify your trading

Oct 24
 

TopstepTrader: Profiting Without Risking Your Own Money

Oct 26

Building Open Source Indicators for NT8 w/Fat Tails @ Lizard Indicators

Elite only
     

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


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

Copyright © 2017 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@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 2017-10-17 in 0.08 seconds with 19 queries on phoenix via your IP 54.156.67.122