PriceActionSwing discussion (Page 21) - 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:391,611 / 1,343
Last Reply:December 1st, 2016 (04:53 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 March 30th, 2011, 03:50 AM   #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
     

Old April 4th, 2011, 03:23 PM   #202 (permalink)
Elite Member
Germany (Meck-Pomm)
 
Futures Experience: Advanced
Platform: NinjaTrader
 
Posts: 107 since Jun 2009
Thanks: 50 given, 934 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:
     

Old April 5th, 2011, 12:56 PM   #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, 225 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
     

Old April 8th, 2011, 02:53 PM   #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 04:31 PM.
Reply With Quote
     

Old April 19th, 2011, 08:11 PM   #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 Edge on FIO

Are you a NinjaTrader user?

 
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:
     

Old April 21st, 2011, 05:36 AM   #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:
     

Old April 25th, 2011, 12:02 PM   #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
     

Old April 25th, 2011, 06:24 PM   #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
     

Old April 26th, 2011, 02:47 AM   #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
     

Old April 26th, 2011, 06:34 AM   #210 (permalink)
Elite Member
Germany (Meck-Pomm)
 
Futures Experience: Advanced
Platform: NinjaTrader
 
Posts: 107 since Jun 2009
Thanks: 50 given, 934 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 > 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)
 

NinjaTrader 8: Features and Enhancements, Tips and Tricks

Dec 6
 

Al Brooks: Stop Losing when a Good Trade goes Bad, Correcting Mistakes

Elite only
 

Trading Technologies: Algo Design Lab hands-on

Dec 13
     

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:38 PM.

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-03 in 0.12 seconds with 20 queries on phoenix via your IP 54.205.43.70