Indicator to Strategy HELP! - NinjaTrader Programming | futures io social day trading
futures io futures trading

Indicator to Strategy HELP!
Updated: Views / Replies:782 / 10
Created: by kidvic Attachments:0

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 donít 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

Thread Tools Search this Thread

Indicator to Strategy HELP!

  #11 (permalink)
Elite Member
Futures Experience: Advanced
Platform: NinjaTrader 8
Favorite Futures: YM, ES, NQ, CL, ZB
trendwaves's Avatar
Posts: 743 since Dec 2012
Thanks: 2,832 given, 2,447 received

kidvic View Post
This script exists inside an indicator, if I create a strategy how do I link it?

The values of C and TV would need to be made public in the properties section of the indicator file. Then you would reference those properties from within the strategy...

So in your indicator properties you might have something like this...

        #region Properties

        public bool C
            get { return Values[0]; }

        public double TV
            get { return Values[1]; }

Then in your strategy you can access those values like this (where XYZ() is the name of your indicator)....

if (XYZ().C[0])
     EnterShortLimit(DefaultQuantity, XYZ().TV[0], "ShortEntry");
     SetStopLoss("ShortEntry", CalculationMode.Ticks, StopLossOffsetTicks, false);
     SetProfitTarget("ShortEntry", CalculationMode.Ticks, ProfitTargetTicks);

Be Patient and Trade Smart
Reply With Quote
The following 2 users say Thank You to trendwaves for this post:


futures io > > > > > Indicator to Strategy HELP!

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

Wyckoff Hunting for Great Risk/Reward Ratio w/Gary Fullett

Elite only

Digging into the Details of iSystems w/Stage 5 & iSystems

Jun 5

Similar Threads
Thread Thread Starter Forum Replies Last Post
Indicator to a strategy cihde NinjaTrader Programming 5 October 10th, 2012 11:43 AM
How to call this indicator within the indicator/strategy zikonc NinjaTrader 2 July 26th, 2012 03:45 PM
Can I do everything I want in a Strategy? Why use an indicator? DaFish NinjaTrader Programming 10 March 6th, 2012 08:48 AM
Strategy into indicator??? giorgosz The Elite Circle 10 September 21st, 2010 10:47 PM
Ninja Strategy multi-timeframe issue/Strategy to indicator nw123 NinjaTrader Programming 2 December 20th, 2009 06:24 PM

All times are GMT -4. The time now is 11:12 AM.

Copyright © 2018 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432,
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 2018-05-21 in 0.05 seconds with 19 queries on phoenix via your IP