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


PriceActionSwing discussion
Updated: Views / Replies:441,120 / 1,504
Created: by dorschden Attachments:477

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 90,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • 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.

-- Big Mike, Site Administrator

Reply
 477  
 
Thread Tools Search this Thread
 

PriceActionSwing discussion

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

Here is the market analyzer template with ABC signals, swing trend and the divergence signals. The settings are for daily bars. You have to change them to your preferred time frames. The underlying divergence indicator and it's settings can be changed under the property "Div indicator" and "Paremeter 1,2,3".

I already sent a new PriceActionSwing version to @Big Mike and first after he uploads the updated version and you downloaded the new one from the download section this template will work. He probably will write a post in this thread when he did it.

Save the file under ...\Documents\NinjaTrader 7\templates\MarketAnalyzer and then load it in a market analyzer.

Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).

Attached Files
Register to download File Type: xml PasMa2.xml (59.3 KB, 251 views)
Reply With Quote
 
  #482 (permalink)
Site Administrator
Manta, Ecuador
 
Futures Experience: Advanced
Platform: My own custom solution
Favorite Futures: E-mini ES S&P 500
 
Big Mike's Avatar
 
Posts: 46,010 since Jun 2009
Thanks: 29,168 given, 82,188 received


dorschden View Post
Here is the market analyzer template with ABC signals, swing trend and the divergence signals. The settings are for daily bars. You have to change them to your preferred time frames. The underlying divergence indicator and it's settings can be changed under the property "Div indicator" and "Paremeter 1,2,3".

I already sent a new PriceActionSwing version to @Big Mike and first after he uploads the updated version and you downloaded the new one from the download section this template will work. He probably will write a post in this thread when he did it.

Save the file under ...\Documents\NinjaTrader 7\templates\MarketAnalyzer and then load it in a market analyzer.

Done, and Notifications sent.

Mike

Due to time constraints, please do not PM me if your question can be resolved or answered on the forum.

Need help?
1) Stop changing things. No new indicators, charts, or methods. Be consistent with what is in front of you first.
2) Start a journal and post to it daily with the trades you made to show your strengths and weaknesses.
3) Set goals for yourself to reach daily. Make them about how you trade, not how much money you make.
4) Accept responsibility for your actions. Stop looking elsewhere to explain away poor performance.
5) Where to start as a trader? Watch this webinar and read this thread for hundreds of questions and answers.
6)
Help using the forum? Watch this video to learn general tips on using the site.

If you want
to support our community, become an Elite Member.

Reply With Quote
The following 3 users say Thank You to Big Mike for this post:
 
  #483 (permalink)
Elite Member
Columbus
 
Futures Experience: Beginner
Platform: NinjaTrader
Favorite Futures: Es, forex, stocks
 
Posts: 22 since Oct 2011
Thanks: 7 given, 17 received


Thanks guys, this is great!!

Reply With Quote
The following user says Thank You to NathanExplosion for this post:
 
  #484 (permalink)
Elite Member
Indianapolis, IN
 
Futures Experience: Advanced
Platform: NinjaTrader, MT4
Favorite Futures: Currency FUtures
 
Posts: 11 since Aug 2011
Thanks: 20 given, 4 received

DIVERGENCE

^Thanks everyone for making this thread so successful so far!

But my question is 2 fold. 1) Can we change the divergence indicators from the standard ones (Sto, MACD, etc) to something else? ANd if so, how? and 2) What is everyones favorite divergence indicator to use and what settings?

Thanks in advance,
bubbadirect

Reply With Quote
The following user says Thank You to bubbadirect for this post:
 
  #485 (permalink)
Elite Member
cordoba spain
 
Futures Experience: Intermediate
Platform: ninjatrader
Favorite Futures: 6E
 
dee50's Avatar
 
Posts: 72 since Feb 2011
Thanks: 77 given, 38 received

Better Late than Never


mystiq View Post
I use a setting of 10....for all timeframes....it catches most (a) (b)and (c) swings...just have to watch out for false patterns before swing (c) occurs...then just reverse the trade

Thanks for your response, sorry I am so late in coming back, but as I asked the question in February and had no response I gave up watching. A lot of water has flowed under the bridge since then, I have this on all my charts and I have been using the setting 3, Swing Size on 1hr and 15 min and 5 min charts, it picks up all the HH, HL, LL, LH you just get the occasional false signal but now I am better able to judge them for myself. I used the indi to train my eye for the swings, now I really do not need it anymore. ABC/ 123 Patterns are obvious now too. So I turned off everything bar the HH , HL, LH, LL markers because otherwise the chart is too cluttered and I couldn,t see the price action for all the trees.

Fanatastic Indi, I am grateful for it, it has helped train my eye, but now I do not need the training wheels anymore.

Just added a chart to show how I use this Indi.

Attached Thumbnails
PriceActionSwing discussion-6e-tdi-16-20-07-2012.png  

Last edited by dee50; July 22nd, 2012 at 11:08 AM.
Reply With Quote
The following 2 users say Thank You to dee50 for this post:
 
  #486 (permalink)
Elite Member
Indianapolis, IN
 
Futures Experience: Advanced
Platform: NinjaTrader, MT4
Favorite Futures: Currency FUtures
 
Posts: 11 since Aug 2011
Thanks: 20 given, 4 received


dorschden View Post
@bomberone1 and @yiman unfortunately there is no Multicharts version.



@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;

Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).




@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; }
}


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

DORSCHDEN++++I have a question for you. What are the DIVERGENCE settings in the parameter 1 parameter2 parameter3 stand for in the CUSTOM FisherTransform? What timeframes are they measuring from? The reason that I ask is that I would like to see if there is a way that I could measure the DIVERGENCE on a bigger set of prices (From one swing low to the next swing low, etc) for my fib calculations. I believe that if I could see the hDIV print when I see the FIB confluence, this would add strength to the trade!!!!!!!!

Thank you in advance, bubbadirect

Reply With Quote
The following user says Thank You to bubbadirect for this post:
 
  #487 (permalink)
Elite Member
cordoba spain
 
Futures Experience: Intermediate
Platform: ninjatrader
Favorite Futures: 6E
 
dee50's Avatar
 
Posts: 72 since Feb 2011
Thanks: 77 given, 38 received

This is simple for some, gobbledeegook for others!!

I too am trying to set up the divergence feature with a custom indicator that I use all the time anaTradersDynamicIndexColour but I have no coding skills at all, following your advice

Divergence:

Here you can set all settings to display divergence in the chart.

Div indicator:
Represents the indicator for the divergence calculations. You can add one or more indicators in the source code under the value "custom". You just have create an instance of you indicator in the "Divergence" region in the OnStartUp() function (Line 670 in the source code) which is only is one line and in the OnBarUpdate() function in the "Initialize variables" region in the "Divergence" region (Line 1440) you have to assign the indicator values to the data series which are only two lines and than you're done. The PAS makes the rest.

Param1, Param2, Param3
Represents the first parameter for the indicator you choose. E.g. the standard MACD(12,26,9) would be
Param1 = 12
Param2 = 26
Param3 = 9.

I have got this.

LINE 670. case DivergenceMode.Custom:
anaTradersDynamicIndexColour = anaTradersDynamicIndexColour (param1, param2, param3);

I do not know what to put in LINE 1440.

These are the variables from the custom INDI

private int rsiPeriod = 13;
private int pricePeriod = 2;
private int signalPeriod = 7;
private int bandPeriod = 34;
private double stdDevNumber = 1.62;

I am guessing that for divergence you only need 2 data sets 1 for high and 1 for low, but which do I use? and what syntax do I use.

Can anyone help. Much appreciated if you can. Attached is a chart with said INDI at the bottom.

Attached Thumbnails
PriceActionSwing discussion-divergence.png  
Reply With Quote
 
  #488 (permalink)
Elite Member
Boston
 
Futures Experience: Advanced
Platform: Ninja Trader
Favorite Futures: TF,CL
 
Posts: 33 since Apr 2011
Thanks: 30 given, 2 received

Hi, the swing pro indicator is very nice, I would like to use it on a stochastic indicator, can this be done or only on price bars?

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

Create divergence signals based on a freely chosen indicator

To answer the divergence questions I wrote some instructions.

With the PriceActionSwingPro we can very easily create divergence signals based on any indicator or oscillator with a few tweaks in the code. The only requirement is that the base indicator has a plot or a public data series output to access the base indicator values within the PriceActionSwingPro.

To get the names of the data series that save the base indicator values you can look in the base indicators source code in the "properties" region for the words "public dataseries" and the word after this two words is the data series name.

E.g. the MACD has three different values where we can calculate the divergence on.
1. macd value (Plot name: "Macd" = DataSeries name: "Default" = "Value")
2. average value (Plot name = DataSeries name: "Avg")
3. difference value (Plot name = DataSeries name: "Diff")

If the indicator has no public data series but plots values like the FisherTransformation than the name of the public data series is "Value".

Now we have the name of the data series where all the values from the base indicator are saved and which one we want to compare against the swings to calculate the divergence.

The next step is to change the source code of the PriceActionSwingPro. NT's standard FisherTransformation will be used as example.

1. Create a variable of the base indicator in the region "Variables" in line 52.

private FisherTransform fisherTransform;

2. Change the "divergenceMode" to custom in the region "Variables" in line 138.

private DivergenceMode divergenceMode = DivergenceMode.Custom;

3. Set the parameter of the base indicator in the param1, param2, parem3 variables in line 159. If the base indicator has only one variable use param1. Param2 and param3 are ignored. If the base indicator has more than 3 parameters create another parameter e.g. "param4" and make it public in the "properties" region.

private int param1 = 10;

4. Create the base indicator values. In the region "Create forms" in the region "Divergence" in the "case DivergenceMode.Custom" call the base indicator with the set parameters in line 675.

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

5. Access the base indicator values. In the "OnBarUpdate" function in the region "Initializes Variables" in the region "Divergence" in the "case DivergenceMode.Custom" access the base indicator values in line 1457.

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

// Add custom divergence indicator here
break;

There is a high and a low series two to accomplish divergence calculation where the base indicator values (or another instrument) have a high and a low. e.g. candlesticks. With this solution you can also calculate divergence based on a different instrument, e.g. you have a FDAX chart and calculate divergence on the FESX.

6. And now we are already done! The PriceActionSwingPro indicator will do the rest. Just compile it and load it on a chart or in the market analyzer.

Reply With Quote
The following 14 users say Thank You to dorschden for this post:
 
  #490 (permalink)
Elite Member
Boston
 
Futures Experience: Advanced
Platform: Ninja Trader
Favorite Futures: TF,CL
 
Posts: 33 since Apr 2011
Thanks: 30 given, 2 received



dorschden View Post
To answer the divergence questions I wrote some instructions.

With the PriceActionSwingPro we can very easily create divergence signals based on any indicator or oscillator with a few tweaks in the code. The only requirement is that the base indicator has a plot or a public data series output to access the base indicator values within the PriceActionSwingPro.

To get the names of the data series that save the base indicator values you can look in the base indicators source code in the "properties" region for the words "public dataseries" and the word after this two words is the data series name.

E.g. the MACD has three different values where we can calculate the divergence on.
1. macd value (Plot name: "Macd" = DataSeries name: "Default" = "Value")
2. average value (Plot name = DataSeries name: "Avg")
3. difference value (Plot name = DataSeries name: "Diff")

If the indicator has no public data series but plots values like the FisherTransformation than the name of the public data series is "Value".

Now we have the name of the data series where all the values from the base indicator are saved and which one we want to compare against the swings to calculate the divergence.

The next step is to change the source code of the PriceActionSwingPro. NT's standard FisherTransformation will be used as example.

1. Create a variable of the base indicator in the region "Variables" in line 52.

private FisherTransform fisherTransform;

2. Change the "divergenceMode" to custom in the region "Variables" in line 138.

private DivergenceMode divergenceMode = DivergenceMode.Custom;

3. Set the parameter of the base indicator in the param1, param2, parem3 variables in line 159. If the base indicator has only one variable use param1. Param2 and param3 are ignored. If the base indicator has more than 3 parameters create another parameter e.g. "param4" and make it public in the "properties" region.

private int param1 = 10;

4. Create the base indicator values. In the region "Create forms" in the region "Divergence" in the "case DivergenceMode.Custom" call the base indicator with the set parameters in line 675.

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

5. Access the base indicator values. In the "OnBarUpdate" function in the region "Initializes Variables" in the region "Divergence" in the "case DivergenceMode.Custom" access the base indicator values in line 1457.

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

// Add custom divergence indicator here
break;

There is a high and a low series two to accomplish divergence calculation where the base indicator values (or another instrument) have a high and a low. e.g. candlesticks. With this solution you can also calculate divergence based on a different instrument, e.g. you have a FDAX chart and calculate divergence on the FESX.

6. And now we are already done! The PriceActionSwingPro indicator will do the rest. Just compile it and load it on a chart or in the market analyzer.

dorschden, thank you very much for the reply, I am not a programmer, much too difficult for me.

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)

July Journal Challenge w/$1100 in prizes from TopstepTrader

July
 

An Afternoon with FIO member Softsoap

Elite only

Battlestations: Show us your trading desks and win $750 in prizes

August
 

Extended Ask Me Anything w/Brett Steenbarger

Elite only

Prototyping Python Strategies (part 3) w/Ran Aroussi

Elite only

Brannigan Barrett w/Axia Futures

Elite only

Introduction to Phillip Capital futures brokerage services

Aug TBD

How Monte Carlo Analysis Can Help Your Trading w/Kevin Davey

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:45 AM.

Copyright © 2017 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@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 2017-07-26 in 0.09 seconds with 19 queries on phoenix via your IP 54.224.109.48