PriceActionSwing discussion - NinjaTrader | futures.io
futures.io futures trading


PriceActionSwing discussion
Started: by dorschden Views / Replies:401,967 / 1,422
Last Reply: Attachments:434

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

PriceActionSwing discussion

  #171 (permalink)
Elite Member
Germany (Meck-Pomm)
 
Futures Experience: Advanced
Platform: NinjaTrader
 
Posts: 109 since Jun 2009
Thanks: 54 given, 962 received


Silvester17 View Post
the swing trend might be a very good "filter". I tried to implement a paint bar study instead of the lines on the bottom of the chart. needless to say I didn't get very far. any help would be very much appreciated.

You just have to add the following bold lines to the PriceActionSwingTrend indicator (starts in line 77):
 
Code
            
if (showTrend)
{
  int trend = Convert.ToInt32(swingTrend[0]);
  switch (trend)
  {
  case -1:
    BarColor = Color.Red;
    DownTrend.Set(1);
    break;
  case 1:
    BarColor = Color.Green;
    UpTrend.Set(1);
    break;
  default:
    BarColor = Color.Gray;
    NoWhere.Set(1);
    break;
   }
 }
dorschden


Last edited by dorschden; March 22nd, 2011 at 02:16 PM. Reason: NoWhere.Set and DownTrend.Set was wrong
Reply With Quote
The following 2 users say Thank You to dorschden for this post:
 
  #172 (permalink)
Elite Member
Austin, Tx.
 
Futures Experience: Intermediate
Platform: Ninja Trader, Metatrader
 
Posts: 4 since Sep 2010
Thanks: 1 given, 1 received

Applicable to NT 7.3

Is the new version importable into NT 7.3?

Tom

Reply With Quote
 
  #173 (permalink)
Elite Member
Daphne
 
Futures Experience: Intermediate
Platform: TradeStation, TOS, Infinity, NT7
Broker/Data: As above
Favorite Futures: ES, 6E, 6B, 6J
 
Posts: 124 since Apr 2010
Thanks: 198 given, 66 received

Import failed


Any idea what I've done wrong? Import failed so I extracted the files to the proper folder, then tried to compile, and got this >> 2011-03-22_1125 - GregHohman's library

Reply With Quote
 
  #174 (permalink)
Elite Member
Germany (Meck-Pomm)
 
Futures Experience: Advanced
Platform: NinjaTrader
 
Posts: 109 since Jun 2009
Thanks: 54 given, 962 received


Skylab View Post
Is the new version importable into NT 7.3?

I think so, but I only have version 7.0.1000.4 and Windows 7 with SP 1, so I can't test it with the previous version.


ghman101 View Post
Any idea what I've done wrong? Import failed so I extracted the files to the proper folder, then tried to compile, and got this >> 2011-03-22_1125 - GregHohman's library

You have to delete the PriceActionSwingRelation indicator. I renamed it to PriceActionSwingTrend.

Reply With Quote
The following user says Thank You to dorschden for this post:
 
  #175 (permalink)
Elite Member
Philly, Pa
 
Futures Experience: Master
Platform: NinjaTrader
Favorite Futures: ES, ZB
 
tigertrader's Avatar
 
Posts: 5,870 since Jul 2010
Thanks: 6,243 given, 31,013 received

Futures Edge on FIO

dorschden View Post
I think so, but I only have version 7.0.1000.4 and Windows 7 with SP 1, so I can't test it with the previous version.



You have to delete the PriceActionSwingRelation indicator. I renamed it to PriceActionSwingTrend.


Thanks, that did the trick!!!

Reply With Quote
 
  #176 (permalink)
Market Wizard
Columbus, OH
 
Futures Experience: None
Platform: NT 8, TOS
Favorite Futures: ES
 
Silvester17's Avatar
 
Posts: 3,245 since Aug 2009
Thanks: 4,472 given, 9,961 received


dorschden View Post
You just have to add the following bold lines to the PriceActionSwingTrend indicator (starts in line 77):
 
Code
            
if (showTrend)
{
  int trend = Convert.ToInt32(swingTrend[0]);
  switch (trend)
  {
  case -1:
    BarColor = Color.Red;
    DownTrend.Set(1);
    break;
  case 1:
    BarColor = Color.Green;
    UpTrend.Set(1);
    break;
  default:
    BarColor = Color.Gray;
    NoWhere.Set(0);
    break;
   }
 }
dorschden

wow, that was fast. working perfectly now. thank you very much.

Attached Thumbnails
PriceActionSwing discussion-6e-06-11-5-min-3_22_2011.jpg  

Last edited by Silvester17; March 22nd, 2011 at 02:13 PM.
Reply With Quote
 
  #177 (permalink)
Elite Member
Germany (Meck-Pomm)
 
Futures Experience: Advanced
Platform: NinjaTrader
 
Posts: 109 since Jun 2009
Thanks: 54 given, 962 received


Silvester17 View Post
wow, that was fast. working perfectly now. thank you very much.

Maybe you can increase the paint bar study, if you change the bar color when a trend ends. Because often the end of a trend will result in the opposite trend. You skip the no trend part.

 
Code
// add a variable "int oldTrend" to the variable region

            if (showTrend)
            {
                int trend = Convert.ToInt32(swingTrend[0]);
                switch (trend)
                {
                    case -1:
                        DownTrend.Set(1);
                        oldTrend = -1;
                        BarColor = Color.Red;
                        break;
                    case 1:
                        BarColor = Color.Green;
                        oldTrend = 1;
                        UpTrend.Set(1);
                        break;
                    default:
                        NoWhere.Set(1);
                        if (oldTrend == 1)
                            BarColor = Color.Red;
                        else if (oldTrend == -1)
                            BarColor = Color.Green;
                        break;
                }
            }

Reply With Quote
The following 2 users say Thank You to dorschden for this post:
 
  #178 (permalink)
Market Wizard
Columbus, OH
 
Futures Experience: None
Platform: NT 8, TOS
Favorite Futures: ES
 
Silvester17's Avatar
 
Posts: 3,245 since Aug 2009
Thanks: 4,472 given, 9,961 received


dorschden View Post
Maybe you can increase the paint bar study, if you change the bar color when a trend ends. Because often the end of a trend will result in the opposite trend. You skip the no trend part.

 
Code
// add a variable "int oldTrend" to the variable region

            if (showTrend)
            {
                int trend = Convert.ToInt32(swingTrend[0]);
                switch (trend)
                {
                    case -1:
                        DownTrend.Set(1);
                        oldTrend = -1;
                        BarColor = Color.Red;
                        break;
                    case 1:
                        BarColor = Color.Green;
                        oldTrend = 1;
                        UpTrend.Set(1);
                        break;
                    default:
                        NoWhere.Set(1);
                        if (oldTrend == 1)
                            BarColor = Color.Red;
                        else if (oldTrend == -1)
                            BarColor = Color.Green;
                        break;
                }
            }

yes agree, that's a good idea. thanks again and really appreciate your help.

Reply With Quote
 
  #179 (permalink)
Elite Member
Rechovot
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: CQG
Favorite Futures: Index,Currency and Energy futures
 
perryg's Avatar
 
Posts: 1,701 since Jan 2010
Thanks: 501 given, 6,244 received


Silvester17 View Post
wow, that was fast. working perfectly now. thank you very much.

Can you post your version with the colored bars, as I like the way you have colored them.

Reply With Quote
 
  #180 (permalink)
Elite Member
UK London
 
Futures Experience: None
Platform: NT and XTrader
Favorite Futures: Piano
 
Posts: 1,209 since Sep 2009
Thanks: 1,296 given, 1,452 received


Hi and thx.dorschden

I have an older version of your price swing indicator.
I'm using it on ZigZag but only for the FibRetracement.
You say you have taken ZigZag out of latest version of post#167

Q1: am I correct that the latest version will display the same FibRetracement lines
but just also includes all the ABC information as one display ?

Q1a: if so then I can transparent out the displays I don't want to leave just the
FibRetracement which will be the same FibRetracement as per ZigZag of older version?


Many...many..................................................many thx

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)

2016 True Edge Awards: Voting is open until Jan 21!

Now
 

An Afternoon with FIO member Massive l

Elite only
 

Anthony Drager: Pulling the trigger with confidence

Elite only
 

Leo Murphy: The Art and Science of Technical Analysis

Elite only
 

FuturesTrader71: Ask Me Anything

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 01:23 PM.

no new posts
Page generated 2017-01-19 in 0.11 seconds with 21 queries on phoenix via your IP 54.145.220.120