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 960,529 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

  #651 (permalink)
 solondon 
London, UK
 
Experience: Intermediate
Platform: ninja,TS,Meta,Tradeguider
Trading: FX,Metals
Posts: 38 since Sep 2011
Thanks Given: 9
Thanks Received: 6


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

Can you help answer these questions
from other members on NexusFi?
My NT8 Volume Profile Split by Asian/Euro/Open
NinjaTrader
Request for MACD with option to use different MAs for fa …
NinjaTrader
ZombieSqueeze
Platforms and Indicators
NexusFi Journal Challenge - April 2024
Feedback and Announcements
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Retail Trading As An Industry
58 thanks
Battlestations: Show us your trading desks!
55 thanks
NexusFi site changelog and issues/problem reporting
48 thanks
What percentage per day is possible? [Poll]
31 thanks
GFIs1 1 DAX trade per day journal
29 thanks

  #652 (permalink)
 
NJAMC's Avatar
 NJAMC 
Atkinson, NH USA
Market Wizard
 
Experience: Intermediate
Platform: NinjaTrader 8/TensorFlow
Broker: NinjaTrader Brokerage
Trading: Futures, CL, ES, ZB
Posts: 1,970 since Dec 2010
Thanks Given: 3,037
Thanks Received: 2,394


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
Visit my NexusFi Trade Journal Reply With Quote
The following user says Thank You to NJAMC for this post:
  #653 (permalink)
 solondon 
London, UK
 
Experience: Intermediate
Platform: ninja,TS,Meta,Tradeguider
Trading: FX,Metals
Posts: 38 since Sep 2011
Thanks Given: 9
Thanks Received: 6


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
  #654 (permalink)
 
NJAMC's Avatar
 NJAMC 
Atkinson, NH USA
Market Wizard
 
Experience: Intermediate
Platform: NinjaTrader 8/TensorFlow
Broker: NinjaTrader Brokerage
Trading: Futures, CL, ES, ZB
Posts: 1,970 since Dec 2010
Thanks Given: 3,037
Thanks Received: 2,394


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
Visit my NexusFi Trade Journal Reply With Quote
The following user says Thank You to NJAMC for this post:
  #655 (permalink)
 solondon 
London, UK
 
Experience: Intermediate
Platform: ninja,TS,Meta,Tradeguider
Trading: FX,Metals
Posts: 38 since Sep 2011
Thanks Given: 9
Thanks Received: 6

thanks, please find attached

Attached Files
Elite Membership required to download: aaPASOSCbackcolor.cs
Reply With Quote
  #656 (permalink)
 
NJAMC's Avatar
 NJAMC 
Atkinson, NH USA
Market Wizard
 
Experience: Intermediate
Platform: NinjaTrader 8/TensorFlow
Broker: NinjaTrader Brokerage
Trading: Futures, CL, ES, ZB
Posts: 1,970 since Dec 2010
Thanks Given: 3,037
Thanks Received: 2,394


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
Elite Membership required to download: aaPASOSCbackcolor.cs
Visit my NexusFi Trade Journal Reply With Quote
The following 2 users say Thank You to NJAMC for this post:
  #657 (permalink)
 solondon 
London, UK
 
Experience: Intermediate
Platform: ninja,TS,Meta,Tradeguider
Trading: FX,Metals
Posts: 38 since Sep 2011
Thanks Given: 9
Thanks Received: 6

Happy holidays, thanks again

Reply With Quote
  #658 (permalink)
 
Silvester17's Avatar
 Silvester17 
Columbus, OH
Market Wizard
 
Experience: None
Platform: NT 8, TOS
Trading: ES
Posts: 3,603 since Aug 2009
Thanks Given: 5,139
Thanks Received: 11,527

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.


Attached Files
Elite Membership required to download: PriceActionSwingPro.cs
Reply With Quote
The following 17 users say Thank You to Silvester17 for this post:
  #659 (permalink)
 elgaza 
Toronto Canada
 
Experience: Master
Platform: NinjaTrader 7
Trading: ES
Posts: 109 since Jul 2011
Thanks Given: 16
Thanks Received: 18

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

Reply With Quote
  #660 (permalink)
 
lolu's Avatar
 lolu 
Lagos, Nigeria
Market Wizard
 
Experience: Intermediate
Platform: NinjaTrader, SierraChart
Trading: Euro Currency & Oil
Frequency: Daily
Duration: Hours
Posts: 2,552 since Jun 2009
Thanks Given: 1,049
Thanks Received: 1,678



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.


@Silvester,

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

Lolu

Visit my NexusFi Trade Journal Reply With Quote
The following user says Thank You to lolu for this post:





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