NexusFi: Find Your Edge


Home Menu

 





Newby Help to access variable in an indicator in a strategy


Discussion in NinjaTrader

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




Closed Thread
 
Search this Thread

Newby Help to access variable in an indicator in a strategy

  #1 (permalink)
 markbb10 
Treasure Coast, Florida
 
Experience: Advanced
Platform: Ninja 8
Trading: Futures
Posts: 135 since Aug 2012
Thanks Given: 57
Thanks Received: 50

Hello All,

I am attempting to learn ninjascript so pardon me if I state anything dumb.
I am using the WWaveVolume indicator which is available here on futures.io.

I want to access a variable from within this indicator in a strategy.

In the WWave code the variable is defined as a private int.

private int Trend;

Two questions.
How do I inform my strategy that I want to use data from this indicator?
Once the strategy knows about the indicator and can access it, will I have access to a variable defined as private?

Thanks

Mark

Started this thread
Thanked by:

Can you help answer these questions
from other members on NexusFi?
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
Exit Strategy
NinjaTrader
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Better Renko Gaps
The Elite Circle
MC PL editor upgrade
MultiCharts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Diary of a simple price action trader
31 thanks
My NQ Trading Journal
21 thanks
Just another trading journal: PA, Wyckoff & Trends
17 thanks
Tao te Trade: way of the WLD
13 thanks
Daytrading ES & NQ
9 thanks
  #3 (permalink)
 
bobwest's Avatar
 bobwest 
Western Florida
Site Moderator
 
Experience: Advanced
Platform: Sierra Chart
Trading: ES, YM
Frequency: Several times daily
Duration: Minutes
Posts: 8,168 since Jan 2013
Thanks Given: 57,421
Thanks Received: 26,276



markbb10 View Post
Hello All,

I am attempting to learn ninjascript so pardon me if I state anything dumb.
I am using the WWaveVolume indicator which is available here on nexusfi.com.

I want to access a variable from within this indicator in a strategy.

In the WWave code the variable is defined as a private int.

private int Trend;

Two questions.
How do I inform my strategy that I want to use data from this indicator?
Once the strategy knows about the indicator and can access it, will I have access to a variable defined as private?

Thanks

Mark

Hi @markbb10,

Please repost your question in one of the existing threads set up for members to get help for programming or strategy topics. An obvious one is the free indicator thread, where you made your original post on the subject:

Keeping related posts together helps others to find topics that interest them, and will help you in finding someone to give you a hand with your question.

This thread is closed, to prevent creating a split topic.

Bob.

When one door closes, another opens.
-- Cervantes, Don Quixote
Thanked by:

Closed Thread



Last Updated on February 22, 2020


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
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.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts