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


SwingRay2 for strategy
Updated: Views / Replies:7,143 / 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

  #31 (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 super,

what is eswingrays? Searching futures.io (formerly BMT) did not reveal anything. Swingrays...are just NT"s own Swings which end only when they are broken.

EDGE:
I contacted NT support and will be back with an answer as soon as they tell me..

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

here it is

here is eswingrays, this is what I mentioned on last post.


https://futures.io/elite-trading-journals/16622-price-action-journal-strategies-13.html#post211422

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



supermht View Post

@supermht

I just took the swingrays2 indy that was posted here on the forums and hacked it up to try and fix some things I didn't like about how it was working, then also added the ray labeling to it. I just named it eswingrays because that's how I name all my personal modifications to not confuse things, but I had nothing to do with the original code. I did look at the code that Eubie is using, and to be honest, it does look much more efficient! He should prob take the labeling portion out of the one I modified, or add something similar (as I'm not sure just how efficiently I did that) and then once he gets those values exposed, his modified version would probably be a better alternative to the one I posted..


.

Reply With Quote
The following 2 users say Thank You to EDGE for this post:
 
  #34 (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

Here you go guys, hope this helps, didn't have time to test it, but hope that the exposed values work this time

Attached Files
Register to download File Type: zip SwingRays2.zip (3.6 KB, 60 views)
Reply With Quote
 
  #35 (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


BankRobberNT View Post
Here you go guys, hope this helps, didn't have time to test it, but hope that the exposed values work this time

@BankRobberNT

Thanks for try'n, but still no luck.. Not sure why, looks like it should work to me.. but I get this when printing values from another indy..

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



Using a dataseries is probably the better method if you ever want to see anything other than just the very last value.

But if anyone is going to try and get this to work, please properly expose the swing hi/lo's and bar#'s values as well.

Also any updates should probably be renamed to swingrays3beta or something (anything) new so that no one confuses this with what is already posted on the forums, or doesn't overwrite an existing indy.. Thanks!


.

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


BankRobberNT View Post
Best way to use swing rays is to modify the code as a function in your strategy.

There are many reasons why I said this

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

so I posted on NT forum ( Making a variable public - NinjaTrader Support Forum ) and ... the help did not help that much.

The error seems to be generated by accessing
 
Code
Swings.LastLowSwingBreakBar
where the accessed variable is said not to be allocated yet. However, as it's an int, there is no need to dynamically allocate it, so both me, Bertrand and now probably even you are surprised

I tried making a version with dataseries, but the problem was the same. Thank you for the interest though

Daniel

Reply With Quote
 
  #38 (permalink)
Elite Member
California
 
Futures Experience: Intermediate
Platform: NinjaTrader, TOS
Favorite Futures: CL, TF, Options & Stocks
 
Posts: 50 since Jun 2013
Thanks: 322 given, 26 received


EDGE View Post
@BankRobberNT

Thanks for try'n, but still no luck.. Not sure why, looks like it should work to me.. but I get this when printing values from another indy..

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



Using a dataseries is probably the better method if you ever want to see anything other than just the very last value.

But if anyone is going to try and get this to work, please properly expose the swing hi/lo's and bar#'s values as well.

Also any updates should probably be renamed to swingrays3beta or something (anything) new so that no one confuses this with what is already posted on the forums, or doesn't overwrite an existing indy.. Thanks!


.

Any Luck with this. I have been thinking about coding a strategy for this. Please provide the details.

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

SwingRays


skann View Post
Any Luck with this. I have been thinking about coding a strategy for this. Please provide the details.

@skann


Wow this is an old thread I'd forgot all about.. Came across a post in Want your NT indicator created for free that was asking if someone would expose the values in this indy and even referred back to this thread.. Since I just posted a revised version over there, thought I might as well post it here in the original thread it started in.. I cleaned up the code a bit and exposed the last swing high and low values so that it could be used in a strategy or bloodhound.. None the less this was some pretty old code, and could still use some more cleaning up.. Didn't spend a lot of time on it, as it's several years old and about 10 versions behind what I'm currently using .. But here ya go.. Enjoy!


Edge

Attached Thumbnails
SwingRay2  for strategy-eswingrays3.jpg  
Attached Files
Register to download File Type: zip eSwingRays3.zip (4.9 KB, 75 views)
Reply With Quote
The following 4 users say Thank You to EDGE for this post:

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)

Jigsaw Trading: TBA

Elite only

FuturesTrader71: TBA

Elite only

NinjaTrader: TBA

Jan 18

RandBots: TBA

Jan 23

GFF Brokers & CME Group: Futures & Bitcoin

Elite only

Adam Grimes: TBA

Elite only

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 04:41 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-18 in 0.13 seconds with 20 queries on phoenix via your IP 54.221.136.62