SwingRay2 for strategy - NinjaTrader Programming | futures io social day trading
futures io futures trading


SwingRay2 for strategy
Updated: Views / Replies:7,119 / 38
Created: by Trader.Jon Attachments:8

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

SwingRay2 for strategy

  #21 (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,238 since Jun 2009
Thanks: 29,350 given, 83,218 received

Moderator Note


The last ten posts of this thread have been removed as they were off-topic/fighting/rude posts.

Do not continue that line of discussion.

If you have a problem with someone that you cannot resolve with them via Private Message, then you can report the problem to me. Do not make posts in a thread in order to solve a dispute.




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 user says Thank You to Big Mike for this post:
 
  #22 (permalink)
Elite Member
Prague, Czech republic
 
Futures Experience: Beginner
Platform: NinjaTrader/ZF
Favorite Futures: ES, TF
 
Posts: 79 since Jul 2010
Thanks: 41 given, 34 received

Hello guys,

I would like to access the index of the last bar, on which a swing was broken. For example, lets talk about HighSwings. So, I add

 
Code
private int 		_LastHighSwingBreakBar 	= -1;
into variables, then set the value in the indicator when a swing is broken...

 
Code
				
/*	Set values shared by SwingRays2 with the rest of the world	*/
_LastHighSwingBreakBar 		= CurrentBar;
_LastHighSwingBreakValue	= tmpRay.Anchor1Y;
Print("_LastHighSwingBreakBar=" + _LastHighSwingBreakBar + " Time=" + Time[0] + " Price=" + _LastHighSwingBreakValue);

Lastly, in order to make it visible from outside the indicator, I add

 
Code
        
[Browsable(false)]	
[XmlIgnore()]		
public int LastHighSwingBreakBar
     {
         get { return _LastHighSwingBreakBar; }
     }
into Properties of the indicator. However, SwingRay2(...).LastHighSwingBreakBar has a value of -1, i.e. I cannot really access it. Any ideas on what I am doing wrong? When I load the indicator, Output window populates with messages like


Quoting 
_LastHighSwingBreakBar=14445 Time=4/27/2012 1:27:36 PM Price=104.78
_LastHighSwingBreakBar=14450 Time=4/27/2012 1:30:25 PM Price=104.83
_LastHighSwingBreakBar=14464 Time=4/27/2012 2:11:39 PM Price=104.9
_LastHighSwingBreakBar=14464 Time=4/27/2012 2:11:39 PM Price=104.92
_LastHighSwingBreakBar=14464 Time=4/27/2012 2:11:39 PM Price=104.92
_LastHighSwingBreakBar=14464 Time=4/27/2012 2:11:39 PM Price=104.92
_LastHighSwingBreakBar=14477 Time=4/27/2012 2:26:16 PM Price=104.98
_LastHighSwingBreakBar=14478 Time=4/27/2012 2:27:00 PM Price=104.99

so I know those _LastHighSwingBreakBar, _LastHighSwingBreakValue variables are being set correctly.

Many thanks, Daniel

Reply With Quote
 
  #23 (permalink)
 Vendor: www.htech.net 
Saint Louis, Mo., USA
 
Futures Experience: Advanced
Platform: NinjaTrader, Tradestation
Broker/Data: Amp/CQG, Velocity/TT, Kinetick, TS
Favorite Futures: Anything That Moves..
 
EDGE's Avatar
 
Posts: 127 since Aug 2010
Thanks: 77 given, 220 received



Eubie View Post
Hello guys,

I would like to access the index of the last bar, on which a swing was broken. For example, lets talk about HighSwings. So, I add

Lastly, in order to make it visible from outside the indicator, I add

 
Code
[Browsable(false)]	
[XmlIgnore()]		
public int LastHighSwingBreakBar
     {
         get { return _LastHighSwingBreakBar; }
     }

into Properties of the indicator. However, SwingRay2(...).LastHighSwingBreakBar has a value of -1, i.e. I cannot really access it. Any ideas on what I am doing wrong? When I load the indicator, Output window populates with messages like

so I know those _LastHighSwingBreakBar, _LastHighSwingBreakValue variables are being set correctly.

Many thanks, Daniel


@Eubie -- Try this:


 
Code
[Browsable(false)]	
[XmlIgnore()]
public int LastHighSwingBreakBar
     {
          get { Update(); return _LastHighSwingBreakBar;}
     }


.

Reply With Quote
 
  #24 (permalink)
Elite Member
Prague, Czech republic
 
Futures Experience: Beginner
Platform: NinjaTrader/ZF
Favorite Futures: ES, TF
 
Posts: 79 since Jul 2010
Thanks: 41 given, 34 received

Hey EDGE,

unfortunately, the effect is zero:/

Reply With Quote
 
  #25 (permalink)
 Vendor: www.htech.net 
Saint Louis, Mo., USA
 
Futures Experience: Advanced
Platform: NinjaTrader, Tradestation
Broker/Data: Amp/CQG, Velocity/TT, Kinetick, TS
Favorite Futures: Anything That Moves..
 
EDGE's Avatar
 
Posts: 127 since Aug 2010
Thanks: 77 given, 220 received


Eubie View Post
Hey EDGE,

unfortunately, the effect is zero:/


hmmm.. which version of the indy are you using? Post it, and I'll take a look, but no promises if your not using the version I posted..


.

Reply With Quote
 
  #26 (permalink)
Elite Member
Prague, Czech republic
 
Futures Experience: Beginner
Platform: NinjaTrader/ZF
Favorite Futures: ES, TF
 
Posts: 79 since Jul 2010
Thanks: 41 given, 34 received

Hello EDGE,

Im using my own version that I posted here twice. The version WITH the code of my recent posts added I attach to this message. The code is well documented. However, if U dont feel like reading it, I will totally understand.

Many thanks,
Daniel

Attached Files
Register to download File Type: zip SwingRays2Eubie.zip (3.6 KB, 56 views)
Reply With Quote
 
  #27 (permalink)
 Vendor: www.htech.net 
Saint Louis, Mo., USA
 
Futures Experience: Advanced
Platform: NinjaTrader, Tradestation
Broker/Data: Amp/CQG, Velocity/TT, Kinetick, TS
Favorite Futures: Anything That Moves..
 
EDGE's Avatar
 
Posts: 127 since Aug 2010
Thanks: 77 given, 220 received


Eubie View Post
Hello EDGE,

Im using my own version that I posted here twice. The version WITH the code of my recent posts added I attach to this message. The code is well documented. However, if U dont feel like reading it, I will totally understand.

Many thanks,
Daniel


I looked and tried several things.. Not sure I understand why it doesn't work, But I too am at a loss..


.

Reply With Quote
The following user says Thank You to EDGE for this post:
 
  #28 (permalink)
Membership Temporarily Revoked
NYC
 
Futures Experience: Intermediate
Platform: Ninjatrader
Broker/Data: Interactive Brokers
Favorite Futures: forex
 
Posts: 38 since Aug 2011
Thanks: 9 given, 25 received

Eubie, Kudos to you for this nice indy.

Reply With Quote
 
  #29 (permalink)
Elite Member
Prague, Czech republic
 
Futures Experience: Beginner
Platform: NinjaTrader/ZF
Favorite Futures: ES, TF
 
Posts: 79 since Jul 2010
Thanks: 41 given, 34 received


BankRobberNT View Post
Eubie, Kudos to you for this nice indy.

Its not mine, ryanb put it here first, I just fixed it What do u use it for? I use it mainly to spot whether there is resistance to a move once the market hits a previous swing. By resistance I mean lots of passive buys (support) or passive sells (resistance) in the gomVolumeLadder.

Reply With Quote
 
  #30 (permalink)
Elite Member
Naperville IL
 
Futures Experience: Intermediate
Platform: ninjatrader
Broker/Data: NT broker
Favorite Futures: NQ ES 6E GC CL
 
Posts: 954 since Feb 2010
Thanks: 1,184 given, 650 received

curious



Eubie View Post
Its not mine, ryanb put it here first, I just fixed it What do u use it for? I use it mainly to spot whether there is resistance to a move once the market hits a previous swing. By resistance I mean lots of passive buys (support) or passive sells (resistance) in the gomVolumeLadder.

hi, Eubie

what is the difference between your version and eswingrays? are they working same? thank you

Reply With Quote

Reply



futures io > > > > > SwingRay2 for strategy

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)

Linda Bradford Raschke: Reading The Tape

Elite only

Adam Grimes: TBA

Elite only

NinjaTrader: TBA

January

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Call ATM Strategy on an automated strategy to control position jsengxx NinjaTrader Programming 7 May 31st, 2016 05:51 PM
Utility To Transpose Optimized Strategy Values From Excel Output to Actual Strategy mercuryfx NinjaTrader 5 April 7th, 2012 04:59 PM
Ninjatrader7 ATM Strategy combine with Strategy Wizard Ninja Script schuster21 NinjaTrader Programming 4 July 4th, 2011 05:39 PM
Ninja Strategy multi-timeframe issue/Strategy to indicator nw123 NinjaTrader Programming 2 December 20th, 2009 07:24 PM


All times are GMT -4. The time now is 09:01 PM.

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-12-11 in 0.13 seconds with 20 queries on phoenix via your IP 54.83.122.227