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


PriceActionSwing discussion
Started: by dorschden Views / Replies:414,118 / 1,447
Last Reply: Attachments:449

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

PriceActionSwing discussion

  #171 (permalink)
Elite Member
Germany (Meck-Pomm)
 
Futures Experience: Advanced
Platform: NinjaTrader
 
Posts: 110 since Jun 2009
Thanks: 54 given, 977 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 01: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: 204 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: 110 since Jun 2009
Thanks: 54 given, 977 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,871 since Jul 2010
Thanks: 6,243 given, 31,049 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,279 since Aug 2009
Thanks: 4,527 given, 10,122 received
Forum Reputation: Legendary


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 01:13 PM.
Reply With Quote
 
  #177 (permalink)
Elite Member
Germany (Meck-Pomm)
 
Futures Experience: Advanced
Platform: NinjaTrader
 
Posts: 110 since Jun 2009
Thanks: 54 given, 977 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,279 since Aug 2009
Thanks: 4,527 given, 10,122 received
Forum Reputation: Legendary


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,252 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)
 

Mastering Trading Pysychology w/Brett Steenbarger & Trading Technologies

Elite only

Spring Grains Outlook w/Sean Lusk @ Walsh Trading

Elite only

FIO Video Journal Challenge featuring NinjaTrader ($2,000+ of prizes)

April

Process above all else w/Anthony Crudele @ Futures Radio Show

Elite only

Machine Learning - Quantitative Trading w/Martin Froehler @ Quantiacs

Elite only

Ask Me Anything w/Patrick Rooney @ Trading Technologies

Apr 18

Ask Me Anything w/FuturesTrader71

Apr 19

Machine Learning w/Kris Longmore

Elite only

Market Analysis w/Dave Forss

Apr 25

Introducing iSystems with Stage 5 Trading

Apr 27
     

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 06:33 AM.

no new posts
Page generated 2017-03-23 in 0.11 seconds with 20 queries on phoenix via your IP 54.166.82.161