PriceActionSwing discussion (Page 66) - 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,738 / 1,346
Last Reply:December 7th, 2016 (10:04 AM) Attachments:423

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

PriceActionSwing discussion

Old December 21st, 2012, 05:11 AM   #651 (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
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.

hi, yep tried that allready im afraid , the oscillator is part of PriceActionSwing.zip
View Download Details - Big Mike's Trading Forum

I dont have a way to view the typelibraries apart from intellisense which isnt offering me anything under when i type "PriceActionSwingOscillator." just all the general definitions. I think this is why its complaining about "Utility" class however as you are aware using PriceActionSwing that has utility doesnt seem compatible with PriceActionSwingOscillator

the worst thing is without access to this im having to scan my charts every 10m as its a main part of my strategy

Reply With Quote
     

Old December 21st, 2012, 10:00 AM   #652 (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,883 since Dec 2010
Thanks: 2,934 given, 2,242 received


solondon View Post
hi, yep tried that allready im afraid , the oscillator is part of PriceActionSwing.zip
View Download Details - Big Mike's Trading Forum

I dont have a way to view the typelibraries apart from intellisense which isnt offering me anything under when i type "PriceActionSwingOscillator." just all the general definitions. I think this is why its complaining about "Utility" class however as you are aware using PriceActionSwing that has utility doesnt seem compatible with PriceActionSwingOscillator

the worst thing is without access to this im having to scan my charts every 10m as its a main part of my strategy

Hummm...

If you post your code or PM me, I will take a look. I don't use the Wizard but will try to get it working in that for you. Worse case, I will update the code manually, although you will not be able to use the wizard to update it again.

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:
     

Old December 21st, 2012, 10:21 AM   #653 (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


thanks, i dont mind if its just code im usually ok at adjusting whats there just used the wizard to get the iniital function call syntax to make sure manual syntax was not the issue

 
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;
//        	private PriceActionSwingOscillator.Utility.SwingTypes swingType = PriceActionSwingOscillator.Utility.SwingTypes.Gann;
			private PriceActionSwing.Utility.SwingTypes swingType = PriceActionSwing.Utility.SwingTypes.Gann;
//			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);
            }
        }

Reply With Quote
     

Old December 21st, 2012, 10:31 AM   #654 (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,883 since Dec 2010
Thanks: 2,934 given, 2,242 received


solondon View Post
thanks, i dont mind if its just code im usually ok at adjusting whats there just used the wizard to get the iniital function call syntax to make sure manual syntax was not the issue

 
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;
//        	private PriceActionSwingOscillator.Utility.SwingTypes swingType = PriceActionSwingOscillator.Utility.SwingTypes.Gann;
			private PriceActionSwing.Utility.SwingTypes swingType = PriceActionSwing.Utility.SwingTypes.Gann;
//			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);
            }
        }

Hi @solondon,

Okay, I will take a look. Can you attach the CS file rather than Cut/Paste?

Thanks

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:
     

Old December 21st, 2012, 12:21 PM   #655 (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

Futures Edge on FIO

Are you a NinjaTrader user?

 
thanks, please find attached

Attached Files
Register to download File Type: cs aaPASOSCbackcolor.cs (6.7 KB, 40 views)
Reply With Quote
     

Old December 21st, 2012, 04:24 PM   #656 (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,883 since Dec 2010
Thanks: 2,934 given, 2,242 received


solondon View Post
thanks, please find attached

This version compiled for me.

Have a great holiday.

Nil per os
-NJAMC [Generic Programmer]

LOM WIKI: NT-Local-Order-Manager-LOM-Guide
Artificial Bee Colony Optimization
Attached Files
Register to download File Type: cs aaPASOSCbackcolor.cs (6.7 KB, 103 views)
Reply With Quote
     
The following 2 users say Thank You to NJAMC for this post:
     

Old December 22nd, 2012, 08:56 AM   #657 (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

Happy holidays, thanks again

Reply With Quote
     

Old December 31st, 2012, 05:02 PM   #658 (permalink)
Market Wizard
Columbus, OH
 
Futures Experience: None
Platform: NT-9G, TOS
Favorite Futures: ES
 
Silvester17's Avatar
 
Posts: 3,229 since Aug 2009
Thanks: 4,429 given, 9,899 received

using gom cd

many are still struggling to use gom cd as a divergence indicator.

if it's ok, I post a version of the price action swing pro indicator that can be used with gom cd. (all the necessary changes are already made) if not, let me know and I'll delete the file.

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

Attached Files
Register to download File Type: cs PriceActionSwingPro.cs (228.8 KB, 246 views)
Reply With Quote
     
The following 18 users say Thank You to Silvester17 for this post:
     

Old December 31st, 2012, 08:58 PM   #659 (permalink)
Elite Member
Toronto Canada
 
Futures Experience: Master
Platform: NinjaTrader 7
Favorite Futures: ES
 
Posts: 71 since Jul 2011
Thanks: 9 given, 11 received

wow why didn't anyone think about it until now?

Reply With Quote
     

Old January 1st, 2013, 03:26 AM   #660 (permalink)
Elite Member
Lagos, Nigeria
 
Futures Experience: Intermediate
Platform: NinjaTrader, SierraChart
Favorite Futures: Euro Currency & Oil
 
lolu's Avatar
 
Posts: 2,435 since Jun 2009
Thanks: 997 given, 1,590 received



Silvester17 View Post
many are still struggling to use gom cd as a divergence indicator.

if it's ok, I post a version of the price action swing pro indicator that can be used with gom cd. (all the necessary changes are already made) if not, let me know and I'll delete the file.

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

@Silvester,

So, is the attached PriceActionSwingPro, the GomCD divergence version ?

Lolu

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

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 10:41 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-10 in 0.13 seconds with 20 queries on phoenix via your IP 54.157.19.94