Help Recognizing New Rays - futures io
futures io futures trading



Help Recognizing New Rays


Discussion in NinjaTrader

Updated
    1. trending_up 424 views
    2. thumb_up 0 thanks given
    3. group 1 followers
    1. forum 0 posts
    2. attach_file 2 attachments




Welcome to futures io: the largest futures trading community on the planet, with well over 125,000 members
  • Genuine reviews from real traders, not fake reviews from stealth vendors
  • Quality education from leading professional traders
  • We are a friendly, helpful, and positive community
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts
  • We are here to help, just let us know what you need
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

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

 
Search this Thread
 

Help Recognizing New Rays

(login for full post details)
  #1 (permalink)
New Orleans Louisiana United States
 
Experience: Intermediate
Platform: Ninjatrader 7 & 8
Trading: forex
 
Posts: 4 since Jun 2014
Thanks: 0 given, 0 received

Hey guys, I need help getting the most recent swing low/high to be recognizable in ninjatrader strategies by exposing them as a Data Series or a Plot so they can be used as stops/targets. The original swing rays indicator (Swing Rays V2 that's here on futures.io) and my edited version are both down below.

In the properties section of the original indicator, its set to take the last swing high/low from "Values" but for some reason, it can't be recognized at all so I added in my own variables to map it on to the most recent swing high/low. (the closest line that's dashed, not solid)

I added the two new data series on line 29 and 30. They are initialized as a class on lines 58 and 59. I also set it as a double in lines 135 and 195. And finally, I added the data series to the properties in lines 210 and 217.

Can any experienced programmer help me rewrite this so that the plots for the most recent swing high/low are recognizable in ninjatrader strategies? I can't figure out why it's not working.



Here's a picture of what it looks like on a chart

Attached Files
Register to download File Type: cs SwingRays.cs (16.7 KB, 2 views)
Register to download File Type: cs SwingRays (edited).cs (17.5 KB, 2 views)
Started this thread Reply With Quote


futures io Trading Community Platforms and Indicators NinjaTrader > Help Recognizing New Rays


Last Updated on November 19, 2017


Upcoming Webinars and Events
 

NinjaTrader Indicator Challenge!

Ongoing
 

Battlestations! Show us your trading desk - $1,500 in prizes!

March
 

Importance of Finding Your Own Way w/Adam Grimes

Elite only
 

Journal Challenge w/Jigsaw

April
     



Copyright © 2021 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