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


PriceActionSwing discussion
Created: by dorschden Views / Replies:421,318 / 1,476
Updated: Attachments:458

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

PriceActionSwing discussion

  #201 (permalink)
Identify Evaluate Execute
Mercer Island WA
 
Futures Experience: Advanced
Platform: Ninjatrader/Strategy Desk
Broker/Data: Various
Favorite Futures: TF/NQ/ES/Stocks
 
djkiwi's Avatar
 
Posts: 561 since May 2010
Thanks: 980 given, 1,515 received

Swing Bar Limitation Question

Thanks Dorschden. I will try that out.

There was one other issue I had some questions and will illustrate with the attached chart. The red down arrows at around 8 am on the 28th show short signals based on the price action lower low being valid and other signals. I am using the formula based on the older version:

priceSwingRel[0] ==-1

Now the swing continues downwards after hours where you see 3 red arrows at the swing low point (-30.5 point swing and 17 bars). Exhaustive testing suggests entering too late into the trend reduces the probabilities of a winning trade significantly. This charts shows entries at bars 14, 15 and 16 as per the 3 down arrows which is too late for this NQ instrument. We can see in the statistics at the bottom that the average swing length is 9 bars down. What I would like to do is have a filter that limits the signal based on the number of bars that have elapsed in the swing so in this case it would be something like:

if priceSwingRel[0] ==-1 && swing bars elapsed <9. Assuming you require 5 bars for a valid swing that leaves another 4 bars to play with. In the attached chart this would eliminate those 3 signals. Any ideas on how to achieve this would be appreciated.

Cheers
DJ





Attached Thumbnails
PriceActionSwing discussion-swing-issue-nq-06-11-10-betterrenko-3_29_2011.jpg  
Reply With Quote
 
  #202 (permalink)
Elite Member
Germany (Meck-Pomm)
 
Futures Experience: Advanced
Platform: NinjaTrader
 
Posts: 110 since Jun 2009
Thanks: 54 given, 978 received


djkiwi View Post
What I would like to do is have a filter that limits the signal based on the number of bars that have elapsed in the swing so in this case it would be something like:

if priceSwingRel[0] ==-1 && swing bars elapsed <9. Assuming you require 5 bars for a valid swing that leaves another 4 bars to play with. In the attached chart this would eliminate those 3 signals. Any ideas on how to achieve this would be appreciated.

There are no public swing values, so you can't access the bar number of the swing high/low outside of the indicator.

dorschden

Reply With Quote
The following user says Thank You to dorschden for this post:
 
  #203 (permalink)
Elite Member
London, England
 
Futures Experience: Intermediate
Platform: Ninja
Broker/Data: Mirus Futures/Zen-Fire
Favorite Futures: EUR
 
Trafford's Avatar
 
Posts: 337 since Sep 2010
Thanks: 379 given, 227 received


Dorschden,

Is it possible modify code to add an audio alert for say a Double Top or Double Bottom on Price action swing indicator?

Reply With Quote
 
  #204 (permalink)
Elite Member
California - USA/Rio grande do sul-Brasil.
 
Futures Experience: Intermediate
Platform: tradestation, ninja trader
Favorite Futures: Futuros
 
Posts: 88 since Apr 2011
Thanks: 851 given, 23 received

Hi Dorschden and guys,

I wanted to install the indicator for NT6.5 but wen I entry on NTs website to install the NT7 it said that I need Windows 7 but I have Windos Vista. Is there anyway to install it without having Windows 7?

Thank you Dorschden for such a good work.
Felix


Last edited by Felix trader; April 8th, 2011 at 03:31 PM.
Reply With Quote
 
  #205 (permalink)
Elite Member
Las Vegas
 
Futures Experience: Intermediate
Platform: NT7
Broker/Data: Mirus/Zen-Fire
Favorite Futures: es tf
 
LastShadowRider's Avatar
 
Posts: 13 since Apr 2010
Thanks: 18 given, 2 received

Just Import It

futures io Member Poll

How many trading buddies do you follow or share with?

 
It should work, no matter what version of windows you have. Windows 7 is windows Vista (upgraded).

Reply With Quote
The following user says Thank You to LastShadowRider for this post:
 
  #206 (permalink)
Trading for Fun
NY
 
Futures Experience: Advanced
Platform: NinjaTrader
 
Posts: 84 since Sep 2009
Thanks: 52 given, 19 received


Felix trader View Post
Hi Dorschden and guys,

I wanted to install the indicator for NT6.5 but wen I entry on NTs website to install the NT7 it said that I need Windows 7 but I have Windos Vista. Is there anyway to install it without having Windows 7?

Thank you Dorschden for such a good work.
Felix


The main reason Vista is not suggested it's because it's not an high performance OS.

Reply With Quote
The following user says Thank You to paulg for this post:
 
  #207 (permalink)
Elite Member
London
 
Futures Experience: Beginner
Platform: MultiCharts
 
Posts: 213 since Nov 2010
Thanks: 8 given, 18 received

Do you have for Multicharts?

Reply With Quote
 
  #208 (permalink)
Elite Member
California - USA/Rio grande do sul-Brasil.
 
Futures Experience: Intermediate
Platform: tradestation, ninja trader
Favorite Futures: Futuros
 
Posts: 88 since Apr 2011
Thanks: 851 given, 23 received


bomberone1 View Post
Do you have for Multicharts?

no.

Reply With Quote
 
  #209 (permalink)
Identify Evaluate Execute
Mercer Island WA
 
Futures Experience: Advanced
Platform: Ninjatrader/Strategy Desk
Broker/Data: Various
Favorite Futures: TF/NQ/ES/Stocks
 
djkiwi's Avatar
 
Posts: 561 since May 2010
Thanks: 980 given, 1,515 received

Statistics

Hi Dorschden

Thanks again for posting the update. I had so many indicators linking to this one that the changeover from version 1 to 2 took so long to complete. Once installed I discovered a problem which not sure how to fix.

When I set the statistic to "bottom" or anything else, the statistics box is not showing up like it did with version 1. I am using the latest .4 version. I notice the priceactionswingrelation file is no longer used so not sure and has been updated with the new priceactionswingtrend indicator.

Any ideas would be appreciated

Cheers
DJ

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



Trafford View Post
Is it possible modify code to add an audio alert for say a Double Top or Double Bottom on Price action swing indicator?

Trafford,

Yes this is possible. You can use the following code for this. Add the two variables in the variables region and the rest of this code in the end of the OnBarUpdate function (didn't test it, but something like this should do the trick):

 
Code
                            
private bool noDb true;

private 
bool noDt true;

// Search for new highs
if (trendDir == 1)
{
  
// Reset noDb to true, because in an up slope no DB can find
  
noDb true;
  
// Check if the sound file is already played in this up slope
  
if (noDt)
  {
    
// Check for DT
    
if (curHighRelation == Relation.Double)
    {
      
// Set a bool variable, to avoid sound file playing at every bar in the up slope
      
noDt false;
      
// Play the sound
      
PlaySound("Enter sound file name here");
    }
  }
}
// DB vice versa
else if (trendDir == -1)
{
  
noDt true;
  if (
noDb)
  {
    if (
curLowRelation == Relation.Double)
    {
      
noDb false;
      
PlaySound("Enter sound file name here");
    }
  }

dorschden

Reply With Quote
The following 7 users say Thank You to dorschden 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)
 

Market Analysis w/Dave Forss @ IQFeed

Apr 25
 

Introducing iSystems with Stage 5 Trading

Apr 27

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

May

Prototyping Python Strategies (part 2) w/Ran Aroussi

Elite only

Ask Me Anything w/Raymond Deux @ NinjaTrader

May 3

An Afternoon with FIO member Softsoap

Elite only
 

Machine Learning & Data Mining Bias w/Kris Longmore @ Robot Wealth

Elite only

Brannigan Barrett (TBA)

Elite only

FIO member Gomi (TBA)

Elite only

FuturesTrader71 (TBA)

Elite only

EasyLanguage Programming w/Chris @ ABC Trading Group

Elite only

Portfolio Diversification w/Brendon Delate

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 06:29 PM.

no new posts
Page generated 2017-04-25 in 0.19 seconds with 20 queries on phoenix via your IP 54.196.5.241