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 965,554 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

  #471 (permalink)
 yiman 
London
 
Experience: Intermediate
Platform: ninjatrader, multicharts, MT4
Broker: IB, PFG Best
Trading: 6E, EMD, TF
Posts: 265 since Jul 2009
Thanks Given: 111
Thanks Received: 158


madLyfe View Post
how do we get the swing volume down to the lower panel on the new version?


hey folks where does the priceaction sw2ing and wise wave for mc Come from, i would like to see how they work on MC

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Build trailing stop for micro index(s)
Psychology and Money Management
New Micros: Ultra 10-Year & Ultra T-Bond -- Live Now
Treasury Notes and Bonds
Online prop firm The Funded Trader (TFT) going under?
Traders Hideout
Exit Strategy
NinjaTrader
The space time continuum and the dynamics of a financial …
Emini and Emicro Index
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Get funded firms 2023/2024 - Any recommendations or word …
59 thanks
Funded Trader platforms
37 thanks
NexusFi site changelog and issues/problem reporting
24 thanks
GFIs1 1 DAX trade per day journal
22 thanks
The Program
19 thanks
  #472 (permalink)
 
djkiwi's Avatar
 djkiwi 
Mercer Island WA
 
Experience: Advanced
Platform: Ninjatrader/Strategy Desk
Broker: Various
Trading: TF/NQ/ES/Stocks
Posts: 561 since May 2010
Thanks Given: 981
Thanks Received: 1,558

Hi guys, I was just reviewing the action from today. Here is interesting stat that puts the monstrous move on oil today in perspective. I've attached an analysis of the swing stats on oil for two years from the beginning of 2010 to end of 2011 using a 20 Better Renko Swing chart.

The arrow is pointing at the 99th percentile for a LL to HH. This is 557 ticks which means the swing of 557 ticks was in the top 1% of swings for this period.



Now check out the swing in the chart below. 806 tick/52 Bar LL to HH. I don't have a data point near this. Note the median/50th percentile in shaded purple for a LL to a HH is 249 ticks. Also in bars in you look at the bottom panel you can see the 99th percentile in bars in 44 whereas this swing was 52.

This is one reason why I believe it is better to use medians in your statistical analyses as extreme outliers like this can skew the results of the data set.



Cheers
DJ

Reply With Quote
  #473 (permalink)
Vajce18
Kosice, Slovakia
 
Posts: 1 since Feb 2012
Thanks Given: 2
Thanks Received: 0


Greetings.
Firstly I would like to thank you for this awesome indicator and for deciding to make it available in the free section.
However, due to lack of any real coding experience, I have been futilely trying to alter the dreaded three lines for several hours now, in order to make PAS display divergences based on NT's default FisherTransform indicator (period 10)
I am stuck in place and in desperate need of help, any help will be greatly appreciated!

Reply With Quote
  #474 (permalink)
CoopGeko
Boston, MA
 
Posts: 10 since Jun 2012
Thanks Given: 22
Thanks Received: 4

Hi-

When I try to open a chart using the PasMA.xml template, I get the following NinjaTrader pop-up:

"Unable to open chart template 'PasMA'. Chart templates made from versions prior to NinjaTrader 7 are incompatible and need to be remade."

I'm using NT 7.0.1000.10.

Are other people able to use the XML file that was posted here on June 15th, 2012 able to get it to work with NT 7?

Thanks......

Reply With Quote
  #475 (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


CoopGeko View Post
Hi-

When I try to open a chart using the PasMA.xml template, I get the following NinjaTrader pop-up:

"Unable to open chart template 'PasMA'. Chart templates made from versions prior to NinjaTrader 7 are incompatible and need to be remade."

I'm using NT 7.0.1000.10.

Are other people able to use the XML file that was posted here on June 15th, 2012 able to get it to work with NT 7?

Thanks......

you need to open a "market analyzer" not a chart.



also you need to save the PasMA file in market analyzer and not chart.


Reply With Quote
  #476 (permalink)
 NathanExplosion 
Columbus
 
Experience: Beginner
Platform: NinjaTrader
Trading: Es, forex, stocks
Posts: 23 since Oct 2011
Thanks Given: 7
Thanks Received: 17

Dorschden, this is probably the most valuable indicator I've ever used! Thank you for putting it out here for everyone to use. I've been working on a strategy to automate some of what I'm doing trading manually and it requires me to record off the event (HL,LL,HH,LH,DB,DT) and the price on close. My programming skills are horrible so I can't figure out how to pull the data from the indicator for use in my strat.

Here's the offending code and the subsequent error:

if (PriceActionSwing(15, 7, PriceActionSwing.Utility.SwingTypes.Standard).DoubleBottom[0] > 0)
{
// Do Something
}
else if (PriceActionSwing(15, 7, PriceActionSwing.Utility.SwingTypes.Standard).HigherHigh[0] > 0)
{
// ETC...
}

Error: 'NinjaTrader.Strategy.Strategy.PriceActionSwing(int, int, PriceActionSwing.Utility.SwingTypes)' is a 'method', which is not valid in the given context

Is there a way to get the event and price data from the indicator on each bar update, if there data? Also, there's probably a better way to go about this, any suggestions would be greatly appreciated. Thanks for everything guys!

Thanks,

Nate K.

Attached Thumbnails
Click image for larger version

Name:	data.jpg
Views:	260
Size:	97.9 KB
ID:	81801  
Reply With Quote
  #477 (permalink)
 
Nalu's Avatar
 Nalu 
Irvine, California
 
Experience: Intermediate
Platform: NinjaTrader; Metatrader
Trading: ES
Posts: 4 since Mar 2011
Thanks Given: 34
Thanks Received: 1

Just wanted to point out that the divergence indicator for MACD uses the “Diff” plot (histogram) which is the difference between the MACD line and the Average; however, I typically look at divergence on just the MACD line, in which case “Diff” would need to be replaced with “Default” on lines 1455 & 1456. A thousand thanks, dorschden.

Attachment 81880

Reply With Quote
Thanked by:
  #478 (permalink)
 supermht 
Naperville IL
 
Experience: Intermediate
Platform: ninjatrader
Broker: NT broker
Trading: NQ ES 6E GC CL
Posts: 962 since Feb 2010
Thanks Given: 1,189
Thanks Received: 661

How to get that divergence signal on your chart

Reply With Quote
  #479 (permalink)
 dorschden 
Germany
 
Experience: Master
Platform: NinjaTrader
Posts: 112 since Jun 2009
Thanks Given: 59
Thanks Received: 1,143

@bomberone1 and @yiman unfortunately there is no Multicharts version.


Vajce18 View Post
make PAS display divergences based on NT's default FisherTransform indicator (period 10)

@Vajce18 add the following bold lines to the code, change line 138 to custom and compile it. In the "param1" parameter you can set the period, e.g. 10. Now it should work.

Line 138:
private DivergenceMode divergenceMode = DivergenceMode.Custom;

Line 162:
private Stochastics stochastics;
private MACD macd;
private FisherTransform fisherTransform;

Line 670:
case DivergenceMode.Custom:
fisherTransform = FisherTransform(param1);
// Add custom divergence indicator here
break;

Line 1440:
case DivergenceMode.Custom:
divergenceDataHigh = fisherTransform.Value;
divergenceDataLow = fisherTransform.Value;

// Add custom divergence indicator here
break;




NathanExplosion View Post
I've been working on a strategy to automate some of what I'm doing trading manually and it requires me to record off the event (HL,LL,HH,LH,DB,DT) and the price on close.

Is there a way to get the event and price data from the indicator on each bar update, if there data?

@NathanExplosion, unfortunately this isn't possible. You have to change the code to accomplish this. There are several ways to do this. Because of your moderate coding skills I suggest that you create some variables to save the certain swing relations and make them public. E.g. create a variable called lastLowRelation2 in which you save the 3rd last swing low relation (swing low relation = LL, HL, DB) and in line 2582 you write "lastLowRelation2 = lastLowRelation;" Then you have in the variables curLowRelation, lastLowRelation, lastLowRelation2 the swing low relations. Now you have to make this variables accessible. In "Region Properties" in "Region Dataseries" you add following line for each variable (same for the long values). Now you should be able to access the values from within a strategy. I didn't test this, but it should work.
 
Code
[Browsable(false)]
public Relation CurLowRelation
{
  get { return curLowRelation; }
}

supermht View Post
How to get that divergence signal on your chart

Set in the PAS indicator menu in the category "Divergence" the property "Div indicator" to MACD.

Started this thread Reply With Quote
  #480 (permalink)
 supermht 
Naperville IL
 
Experience: Intermediate
Platform: ninjatrader
Broker: NT broker
Trading: NQ ES 6E GC CL
Posts: 962 since Feb 2010
Thanks Given: 1,189
Thanks Received: 661


hi, here is market analyzer, anybody know how to add divergence signal to market analyzer? ( just like ABC signal showing on market analyzer), thanks

Error retrieving image, please check URL again (matched: "")

Reply With Quote
Thanked by:




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