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


PriceActionSwing discussion
Updated: Views / Replies:440,791 / 1,503
Created: by dorschden Attachments:472

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
 472  
 
Thread Tools Search this Thread
 

PriceActionSwing discussion

  #641 (permalink)
Elite Member
Toronto Canada
 
Futures Experience: Master
Platform: NinjaTrader 7
Favorite Futures: ES
 
Posts: 86 since Jul 2011
Thanks: 12 given, 15 received

PriceActionSwing

Hi everyone

Could any body explain please how the PriceActionSwing works?

inother words how does it calculate the swing when does it plot the dot, I realy wanted to know

in oreder to understand the market better.

also is there a file or a site that explains about this indicator and what is every option there?

Thank you so much.

Reply With Quote
 
  #642 (permalink)
Elite Member
Berlin Germany /Alicante Spain
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: DDT/Rithmic, Global/CQG, IB, Mirus(Ninja)/MarketDelta
Favorite Futures: Futures
 
Posts: 148 since Jan 2010
Thanks: 362 given, 66 received

First start with post one of the thread and read and read, install the actual version, try the settings, then write again questions knowing this great indicator a little bit.

Reply With Quote
The following user says Thank You to resist for this post:
 
  #643 (permalink)
Elite Member
Toronto Canada
 
Futures Experience: Master
Platform: NinjaTrader 7
Favorite Futures: ES
 
Posts: 86 since Jul 2011
Thanks: 12 given, 15 received


Come on I know I should read from the beginning but not all of us have the time

Couldn't some one just tell me in short how those dots are calculated?

Thank you for those who have a bit of patience

Reply With Quote
 
  #644 (permalink)
Market Wizard
Las Vegas, NV
 
Futures Experience: Advanced
Platform: Abacus, Slide Rule, HP-65, Metastock, TOS, NT
Favorite Futures: Futures
 
aligator's Avatar
 
Posts: 3,424 since Aug 2010
Thanks: 1,053 given, 5,817 received
Forum Reputation: Legendary


elgaza View Post
Come on I know I should read from the beginning but not all of us have the time

Couldn't some one just tell me in short how those dots are calculated?

Thank you for those who have a bit of patience

Information is spread out in the thread, but here is the easiest way. Download the indicator (If have not done already) then edit the open source code and read the code. It is pretty much organized in sections, so if you want to find out how something is calculated it is clearly laid out under that section. Can't be easier (No, I don't know the answer to your question)

But the swings (dots) are simply the moving highest highs or lowest lows of so many bars (number of bars a user option). Each swing (dot) is printed after the previous leg is completed, that means at least two new bars are completed in the new direction.

Nothing magic about this indicator. If you don't know what a swing is, you may not need this indicator, not yet.

Cheers!

Reply With Quote
The following 4 users say Thank You to aligator for this post:
 
  #645 (permalink)
Elite Member
London, UK
 
Futures Experience: Intermediate
Platform: ninja,TS,Meta,Tradeguider
Favorite Futures: FX,Metals
 
Posts: 38 since Sep 2011
Thanks: 9 given, 6 received

PriceActionSwingOscillator

Hi

trying to use PriceActionSwingOscillator in code unseccesfully, img of errors attached. Anyone able to help?



 
Code
#region Using declarations
using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Xml.Serialization;
using NinjaTrader.Cbi;
using NinjaTrader.Data;
using NinjaTrader.Gui.Chart;
using PriceActionSwing.Utility;
#endregion

// This namespace holds all indicators and is required. Do not change it.
namespace NinjaTrader.Indicator
{
    /// <summary>
    /// Enter the description of your new custom indicator here
    /// </summary>
    [Description("Enter the description of your new custom indicator here")]
    public class aaPASOSCbackcolor : Indicator
    {
        #region Variables
        // Wizard generated variables
        // User defined variables (add any user defined variables below)
		private SwingTypes swingType = SwingTypes.Gann;
        #endregion

        /// <summary>
        /// This method is used to configure the indicator and is called once before any bar data is loaded.
        /// </summary>
        protected override void Initialize()
        {
            Overlay				= true;
        }

        /// <summary>
        /// Called on each bar update event (incoming tick)
        /// </summary>
        protected override void OnBarUpdate()
        {
            // Use this method for calculating your indicator values. Assign a value to each
            // plot below by replacing 'Close[0]' with your own formula.
			
			            // Condition set 1
//            if (EMA(10)[0] < EMA(50)[0]
//                && EMA(10)[0] < Bollinger(2, 20).Middle[0])
//            if (PriceActionSwingOscillator(15, 5, PriceActionSwingOscillator.Utility.SwingTypes.Gann).VHigh[0] > 0)
            if (PriceActionSwingOscillator(15, 5, swingType).VHigh[0] > 0)
            {
	            BackColor = Color.FromArgb(50,201,4,14);
            }

            // Condition set 2
//            if (EMA(10)[0] > EMA(50)[0]
//                && EMA(10)[0] > Bollinger(2, 20).Middle[0])
            if (PriceActionSwingOscillator(15, 5, swingType).VHigh[0] < 0)
            {
                BackColor = Color.FromArgb(50,26,166,10);
            }
        }

Attached Thumbnails
PriceActionSwing discussion-error.jpg  
Reply With Quote
 
  #646 (permalink)
Elite Member
Atkinson, NH USA
 
Futures Experience: Intermediate
Platform: NinjaTrader 8/TensorFlow
Broker/Data: NinjaTrader Brokerage
Favorite Futures: Futures, CL, ES, ZB
 
NJAMC's Avatar
 
Posts: 1,907 since Dec 2010
Thanks: 2,949 given, 2,273 received

Hi @solondon,

Try changing:
private SwingTypes swingType = SwingTypes.Gann;

to:
private PriceActionSwingOscillator.Utility.SwingTypes swingType = PriceActionSwingOscillator.Utility.SwingTypes.Gann;

Let me know if that doesn't work.




solondon View Post
Hi

trying to use PriceActionSwingOscillator in code unseccesfully, img of errors attached. Anyone able to help?



 
Code
#region Using declarations
using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Xml.Serialization;
using NinjaTrader.Cbi;
using NinjaTrader.Data;
using NinjaTrader.Gui.Chart;
using PriceActionSwing.Utility;
#endregion

// This namespace holds all indicators and is required. Do not change it.
namespace NinjaTrader.Indicator
{
    /// <summary>
    /// Enter the description of your new custom indicator here
    /// </summary>
    [Description("Enter the description of your new custom indicator here")]
    public class aaPASOSCbackcolor : Indicator
    {
        #region Variables
        // Wizard generated variables
        // User defined variables (add any user defined variables below)
		private SwingTypes swingType = SwingTypes.Gann;
        #endregion

        /// <summary>
        /// This method is used to configure the indicator and is called once before any bar data is loaded.
        /// </summary>
        protected override void Initialize()
        {
            Overlay				= true;
        }

        /// <summary>
        /// Called on each bar update event (incoming tick)
        /// </summary>
        protected override void OnBarUpdate()
        {
            // Use this method for calculating your indicator values. Assign a value to each
            // plot below by replacing 'Close[0]' with your own formula.
			
			            // Condition set 1
//            if (EMA(10)[0] < EMA(50)[0]
//                && EMA(10)[0] < Bollinger(2, 20).Middle[0])
//            if (PriceActionSwingOscillator(15, 5, PriceActionSwingOscillator.Utility.SwingTypes.Gann).VHigh[0] > 0)
            if (PriceActionSwingOscillator(15, 5, swingType).VHigh[0] > 0)
            {
	            BackColor = Color.FromArgb(50,201,4,14);
            }

            // Condition set 2
//            if (EMA(10)[0] > EMA(50)[0]
//                && EMA(10)[0] > Bollinger(2, 20).Middle[0])
            if (PriceActionSwingOscillator(15, 5, swingType).VHigh[0] < 0)
            {
                BackColor = Color.FromArgb(50,26,166,10);
            }
        }


Nil per os
-NJAMC [Generic Programmer]

LOM WIKI: NT-Local-Order-Manager-LOM-Guide
Artificial Bee Colony Optimization
Reply With Quote
The following user says Thank You to NJAMC for this post:
 
  #647 (permalink)
Elite Member
London, UK
 
Futures Experience: Intermediate
Platform: ninja,TS,Meta,Tradeguider
Favorite Futures: FX,Metals
 
Posts: 38 since Sep 2011
Thanks: 9 given, 6 received


NJAMC View Post
Hi @solondon,

Try changing:
private SwingTypes swingType = SwingTypes.Gann;

to:
private PriceActionSwingOscillator.Utility.SwingTypes swingType = PriceActionSwingOscillator.Utility.SwingTypes.Gann;

Let me know if that doesn't work.

I still get
The type name 'Utility' does not exist in the type 'NinjaTrader.Indicator.PriceActionSwingOscillator'

I also tried changing the using to using PriceActionSwingOscillator.Utility but I cant work out whats wrong in the type library seeing as your fix explicitly declares it. Any other ideas?

Reply With Quote
 
  #648 (permalink)
Elite Member
Atkinson, NH USA
 
Futures Experience: Intermediate
Platform: NinjaTrader 8/TensorFlow
Broker/Data: NinjaTrader Brokerage
Favorite Futures: Futures, CL, ES, ZB
 
NJAMC's Avatar
 
Posts: 1,907 since Dec 2010
Thanks: 2,949 given, 2,273 received


solondon View Post
I still get
The type name 'Utility' does not exist in the type 'NinjaTrader.Indicator.PriceActionSwingOscillator'

I also tried changing the using to using PriceActionSwingOscillator.Utility but I cant work out whats wrong in the type library seeing as your fix explicitly declares it. Any other ideas?

Humm.... Okay, I don't have that Indicator loaded, I will try it tonight and let you know, but what might have happened it the Oscillator may be dependent upon one of the non-oscillator versions of PAS. Try this for now:

private PriceActionSwing.Utility.SwingTypes swingType = PriceActionSwing.Utility.SwingTypes.Gann;

(Looks like this may be correct based upon the USING statement in your code example)

Nil per os
-NJAMC [Generic Programmer]

LOM WIKI: NT-Local-Order-Manager-LOM-Guide
Artificial Bee Colony Optimization
Reply With Quote
The following user says Thank You to NJAMC for this post:
 
  #649 (permalink)
Elite Member
London, UK
 
Futures Experience: Intermediate
Platform: ninja,TS,Meta,Tradeguider
Favorite Futures: FX,Metals
 
Posts: 38 since Sep 2011
Thanks: 9 given, 6 received


NJAMC View Post
Humm.... Okay, I don't have that Indicator loaded, I will try it tonight and let you know, but what might have happened it the Oscillator may be dependent upon one of the non-oscillator versions of PAS. Try this for now:

private PriceActionSwing.Utility.SwingTypes swingType = PriceActionSwing.Utility.SwingTypes.Gann;

(Looks like this may be correct based upon the USING statement in your code example)

error on compile still exists, thanks for taking the time to reply if you can spare the time i really appreciate the help to get this working

Reply With Quote
 
  #650 (permalink)
Elite Member
Atkinson, NH USA
 
Futures Experience: Intermediate
Platform: NinjaTrader 8/TensorFlow
Broker/Data: NinjaTrader Brokerage
Favorite Futures: Futures, CL, ES, ZB
 
NJAMC's Avatar
 
Posts: 1,907 since Dec 2010
Thanks: 2,949 given, 2,273 received



solondon View Post
error on compile still exists, thanks for taking the time to reply if you can spare the time i really appreciate the help to get this working

Okay,

I can't install the Oscillator version for some reason, but I can see the "using" statement is this:

using PriceActionSwingOscillator.Utility;
Replace this line with the above:
using PriceActionSwing.Utility;

You can then probably use your original code or the Oscillator version.

Nil per os
-NJAMC [Generic Programmer]

LOM WIKI: NT-Local-Order-Manager-LOM-Guide
Artificial Bee Colony Optimization
Reply With Quote
The following user says Thank You to NJAMC for this post:

Reply



futures io > > > > PriceActionSwing discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

July Journal Challenge w/$1100 in prizes from TopstepTrader

July
 

An Afternoon with FIO member Softsoap

Elite only

Battlestations: Show us your trading desks and win $750 in prizes

August
 

Extended Ask Me Anything w/Brett Steenbarger

Elite only

Prototyping Python Strategies (part 3) w/Ran Aroussi

Elite only

Brannigan Barrett w/Axia Futures

Elite only

Introduction to Phillip Capital futures brokerage services

Aug TBD

How Monte Carlo Analysis Can Help Your Trading w/Kevin Davey

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 02:52 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-07-25 in 0.08 seconds with 19 queries on phoenix via your IP 54.166.136.90