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


PriceActionSwing discussion
Updated: Views / Replies:453,648 / 1,531
Created: by dorschden Attachments:490

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

PriceActionSwing discussion

  #81 (permalink)
 Vendor: www.ezcolortrading.com 
Cambridge, Ontario
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: Zen-Fire
Favorite Futures: 6E
 
Posts: 1,773 since Dec 2009
Thanks: 1,258 given, 1,196 received

Hi Dorschden

I followed Post #7 and tried to add your PA indicator to my strategy as Exit. Got an error message "No overload for method 'PriceActionSwing' takes '3' arguments" when I tried to compile. Appreciate your kind suggestion on how to fix my code (as follows) and what I did wrong. Thank you.

Beth

 
Code
 
//Exit Condition based on PA Swing
if (PriceActionSwing(pAS_SwingMode, pAS_DtbStrength, pAS_Span).PriceSwingRelation[0] == -1
&& CrossBelow(SMA(3), SMA(7), 1))
{
ExitLong();
}

if (PriceActionSwing(pAS_SwingMode, pAS_DtbStrength, pAS_Span).PriceSwingRelation[0] == 1
&& CrossAbove(SMA(3), SMA(7),1))
{
ExitShort();
}

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


alex5000 View Post
Just a suggestion, is it possible to have on "Swing Length" price/ticks/and bar count.

Hello Alex,

I upload a new version and add your suggestion. Download the new version (here).

I also displaced the statistic from the chart to a text box panel. This works only in NT7. In NT6.5 the statistic is still on the chart.

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


dorschden

Reply With Quote
The following 5 users say Thank You to dorschden for this post:
 
  #83 (permalink)
Elite Member
Sydney
 
Futures Experience: Intermediate
Platform: Ninja Trader
 
Posts: 85 since Nov 2009
Thanks: 26 given, 49 received


thank you so much dorschden

Alex

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


wgreenie View Post
I will try to automate the PriceActionSwingRelation indicator .. seems do-able. Will knock at your door if I encounter any technical issues.


wgreenie View Post
Got an error message "No overload for method 'PriceActionSwing' takes '3' arguments" when I tried to compile.

Hello Beth,

the old code snippet isn't fully correct because I change the parameter number.

Try the following code (NT7 only). I didn't test it, but it should work. Don't hesitate to ask if you encounter some issues. I'll try to help if I can.

For you automatization you can also use the new UpFlip[0] series to get the information when the swing is change from low to high (DownFlip vice versa). For access use the same code and replace PriceSwingRelation with UpFlip.


 
Code
                            
#region Using declarations

using PriceActionSwing.Utility;
#endregion

#region Variables
private SwingMode calcMode SwingMode.Standard;
private 
int calcSize 8;
private 
int dtbStrength 15;
private 
double psarAcceleration    0.02;
private 
double psarAccelerationMax 0.2;
private 
double psarAccelerationStep0.02;

private 
IDataSeries     priceSwingRel;
#endregion


protected override void OnStartUp()
{
  
// Set the PriceActionSwingRelation value to to the priceSwingRel series
  
priceSwingRel PriceActionSwing(InputcalcModecalcSizedtbStrength,
    
psarAccelerationpsarAccelerationMaxpsarAccelerationStep).PriceSwingRelation;
}

protected 
override void OnBarUpdate()
{
  
//Exit Condition based on PA Swing
  
if (priceSwingRel[0] == -&& CrossBelow(SMA(3), SMA(7), 1))
  {
    
ExitLong();
  }

dorschden


Last edited by dorschden; June 6th, 2010 at 04:03 PM. Reason: Change code
Reply With Quote
The following user says Thank You to dorschden for this post:
 
  #85 (permalink)
 Vendor: www.ezcolortrading.com 
Cambridge, Ontario
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: Zen-Fire
Favorite Futures: 6E
 
Posts: 1,773 since Dec 2009
Thanks: 1,258 given, 1,196 received


dorschden View Post
Don't hesitate to ask if you encounter some issues. I'll try to help if I can.

Hi Dorschden

Your prompt response has made my weekend. Thank you!

I tried the suggested code and did compile the strategy successfully. Unfortunately the revised strategy does not trigger any trades. FYI: Without the PA Swing code, the strategy does trigger trades. Well, I must have done something wrong ..

I will do some investigation first before bothering you again. For sure, you will hear from me if I have a big head after hours of getting no-where ...

Beth

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


wgreenie View Post

I tried the suggested code and did compile the strategy successfully. Unfortunately the revised strategy does not trigger any trades. FYI: Without the PA Swing code, the strategy does trigger trades.

Hey Beth,

if you use NT7 then you can use the edited code above. You have to use the OnStartUp() method to initialize the priceSwingRel series. If you use NT6.5 then the following code works. It's not the best performance solution but it works.

 
Code
                            
if (PriceActionSwing(calcModecalcSizedtbStrengthpsarAccelerationpsarAccelerationMax,

    
psarAccelerationStep).PriceSwingRelation[0] == -&& CrossBelow(SMA(3), SMA(7), 1))
{
  
ExitLong();


Reply With Quote
The following user says Thank You to dorschden for this post:
 
  #87 (permalink)
 Vendor: www.ezcolortrading.com 
Cambridge, Ontario
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: Zen-Fire
Favorite Futures: 6E
 
Posts: 1,773 since Dec 2009
Thanks: 1,258 given, 1,196 received

Hi Dorschden

I used your latest suggestion to create a PA Swing strategy. Compiled successfully and it generated trades too. Thank you! Hey, You Rock!!

Now I will go through the trades and see how can I improve the strategy so that it will be profitable.

Beth (grateful)

Reply With Quote
 
  #88 (permalink)
 Vendor: www.ezcolortrading.com 
Cambridge, Ontario
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: Zen-Fire
Favorite Futures: 6E
 
Posts: 1,773 since Dec 2009
Thanks: 1,258 given, 1,196 received

Hi Dorschden

Need to pick your brains please. How can I add text label (HH/HL/LL/LH/DB/DT) in addition to the dots? Is it easy to learn how to code it? Appreciate your guidance. Thank you.

FYI: I succeeded in adding an Exit condition (PA Swing Rel = 1 or -1 and SMA crossover) to an existing strategy that I have been sim-trading. It really helps! My heartfelt thanks again for your sharing and assistance.

Have a Successful week.

Beth

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


wgreenie View Post
How can I add text label (HH/HL/LL/LH/DB/DT) in addition to the dots?

Hey Beth,

I upload a new version and add swing labels (Download here). I thought the dot colors were enough, but the swing labels make it more visible.

Good to hear that the indicator help you with your exit conditions in the strategy.

dorschden

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

Reply With Quote
The following 3 users say Thank You to dorschden for this post:
 
  #90 (permalink)
 Vendor: www.ezcolortrading.com 
Cambridge, Ontario
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: Zen-Fire
Favorite Futures: 6E
 
Posts: 1,773 since Dec 2009
Thanks: 1,258 given, 1,196 received



dorschden View Post
I upload a new version and add swing labels (Download here). I thought the dot colors were enough, but the swing labels make it more visible.

Hi Dorschden

You're a "peach"!! I learned from my Western peers that it's a good compliment for one who's extraordinarily Nice - YOU!! Thank you.

For a PA newbie (me), the swing labels help a lot LOL!

Beth (grateful)

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)

FuturesTrader71: TBA

Elite only

Al Brooks: TBA

Elite only

Jigsaw Trading: TBA

Oct 19

RandBots: TBA

Oct 24
     

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 04:29 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-09-24 in 0.08 seconds with 19 queries on phoenix via your IP 54.156.47.142