Strategy referencing an indicator drawn object - futures io
futures io



Strategy referencing an indicator drawn object


Discussion in NinjaTrader

Updated
    1. trending_up 987 views
    2. thumb_up 1 thanks given
    3. group 2 followers
    1. forum 4 posts
    2. attach_file 0 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
 

Strategy referencing an indicator drawn object

(login for full post details)
  #1 (permalink)
jwikker
Vancouver Canada
 
 
Posts: 3 since Jul 2013
Thanks: 1 given, 0 received

I am referencing an indicator inside a strategy. This indicator draws dots and creates alerts to indicate conditions that I would like to check for in the strategy code also. Instead of duplicating the indicator logic in the strategy, how can a strategy access the drawn lines or dots or even alerts for given bars when they are not properties?

FYI The indicator in question is is the D3spotterV2 indicator

Reply With Quote

Can you help answer these questions
from other members on futures io?
1 min chart v-shape scan help please
ThinkOrSwim
MacdBB V402 NT804 + gradient + pullback not working on N …
NinjaTrader
For the experts of Metastock
Platforms and Indicators
TradingView help in improving Anchored Vwap
Platforms and Indicators
Eurex Denali vs dxFeed
Sierra Chart
 
 
(login for full post details)
  #3 (permalink)
 Fat Tails 
Berlin, Europe
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,858 since Mar 2010
Thanks: 4,238 given, 26,770 received



jwikker View Post
I am referencing an indicator inside a strategy. This indicator draws dots and creates alerts to indicate conditions that I would like to check for in the strategy code also. Instead of duplicating the indicator logic in the strategy, how can a strategy access the drawn lines or dots or even alerts for given bars when they are not properties?

FYI The indicator in question is is the D3spotterV2 indicator


You would either need to duplicate the logic in the strategy, or access the indicator.

To be able to access the indicator, the indicator should come with a public DataSeries, IntSeries or BoolSeries, such that the logical condition for plotting lines or dots can be accessed.

Reply With Quote
 
(login for full post details)
  #4 (permalink)
jwikker
Vancouver Canada
 
 
Posts: 3 since Jul 2013
Thanks: 1 given, 0 received

Thank you. So I can access the dataseries and then duplicate the plotting code in my strategy (but instead of plotting I will set criteria for my strategy). Makes sense.

The indicator in question is editable, could I instead create a bool series in the indicator and set true in it when that indicator is plotting something that I'm interested in? Then I could instead have my strategy more simply refer to my new bool series. Anything wrong with that?

Reply With Quote
 
(login for full post details)
  #5 (permalink)
 Fat Tails 
Berlin, Europe
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,858 since Mar 2010
Thanks: 4,238 given, 26,770 received


jwikker View Post
Thank you. So I can access the dataseries and then duplicate the plotting code in my strategy (but instead of plotting I will set criteria for my strategy). Makes sense.

The indicator in question is editable, could I instead create a bool series in the indicator and set true in it when that indicator is plotting something that I'm interested in? Then I could instead have my strategy more simply refer to my new bool series. Anything wrong with that?

Yes. this makes sense. You can add a BoolSeries to the indicator. You need a public BoolSeries in order to allow for access by a strategy.

Reply With Quote
The following user says Thank You to Fat Tails for this post:


futures io Trading Community Platforms and Indicators NinjaTrader > Strategy referencing an indicator drawn object


Last Updated on August 7, 2013


Upcoming Webinars and Events
 

NinjaTrader Indicator Challenge!

Ongoing
 

Our 12-year anniversary w/ $$,$$$ prizes (check soon)

August
     



Copyright © 2021 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada), 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