how to get value(s) from a indi to a strategy - NinjaTrader Programming | futures io social day trading
futures io futures trading


how to get value(s) from a indi to a strategy
Updated: Views / Replies:1,528 / 6
Created: by cory Attachments:2

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

Reply
 
Thread Tools Search this Thread
 

how to get value(s) from a indi to a strategy

  #1 (permalink)
Market Wizard
virginia
 
Futures Experience: Intermediate
Platform: ninja
Favorite Futures: ES
 
cory's Avatar
 
Posts: 5,220 since Jun 2009
Thanks: 628 given, 6,318 received
Forum Reputation: Legendary

how to get value(s) from a indi to a strategy

I look at Hurly strategy and it gets 2 value from APZ indicator by

APZ apzuv = APZ (High, APZstddev, APZlength);
APZ apzlv = APZ(Low, APZstddev, APZlength);

then I open APZ but i dont see High, Low mention inside APZ ???

anyway what I am after is High, Low of HiLoOfTimeRange indi

so my code would be ??? what should I code here???


APZ apzuv = HiLoOfTimeRange (9,30,9,45);
APZ apzllv = HiLoOfTimeRange (9,30,9,45);

Attached Files
Register to download File Type: cs HiLoOfTimeRange.cs (10.4 KB, 12 views)
Reply With Quote
 
  #2 (permalink)
Quick Summary
Quick Summary Post

Quick Summary is created and edited by users like you... Add FAQ's, Links and other Relevant Information by clicking the edit button in the lower right hand corner of this message.

 
  #3 (permalink)
Site Administrator
Manta, Ecuador
 
Futures Experience: Advanced
Platform: My own custom solution
Favorite Futures: E-mini ES S&P 500
 
Big Mike's Avatar
 
Posts: 46,240 since Jun 2009
Thanks: 29,357 given, 83,240 received



cory View Post
I look at Hurly strategy and it gets 2 value from APZ indicator by

APZ apzuv = APZ (High, APZstddev, APZlength);
APZ apzlv = APZ(Low, APZstddev, APZlength);

then I open APZ but i dont see High, Low mention inside APZ ???

anyway what I am after is High, Low of HiLoOfTimeRange indi

so my code would be ??? what should I code here???


APZ apzuv = HiLoOfTimeRange (9,30,9,45);
APZ apzllv = HiLoOfTimeRange (9,30,9,45);

High and Low is the dataseries being passed to APZ instead of the normal Close. Can't comment beyond that, no longer using NT.

Mike

Due to time constraints, please do not PM me if your question can be resolved or answered on the forum.

Need help?
1) Stop changing things. No new indicators, charts, or methods. Be consistent with what is in front of you first.
2) Start a journal and post to it daily with the trades you made to show your strengths and weaknesses.
3) Set goals for yourself to reach daily. Make them about how you trade, not how much money you make.
4) Accept responsibility for your actions. Stop looking elsewhere to explain away poor performance.
5) Where to start as a trader? Watch this webinar and read this thread for hundreds of questions and answers.
6)
Help using the forum? Watch this video to learn general tips on using the site.

If you want
to support our community, become an Elite Member.

Reply With Quote
The following user says Thank You to Big Mike for this post:
 
  #4 (permalink)
Administrator: Retired Backtester
 Vendor: speedytradingservers.com 
Rennes France
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: IB/Kinetick
Favorite Futures: Futures
 
sam028's Avatar
 
Posts: 3,367 since Jun 2009
Thanks: 3,574 given, 3,983 received


cory View Post
I look at Hurly strategy and it gets 2 value from APZ indicator by

APZ apzuv = APZ (High, APZstddev, APZlength);
APZ apzlv = APZ(Low, APZstddev, APZlength);

then I open APZ but i dont see High, Low mention inside APZ ???

anyway what I am after is High, Low of HiLoOfTimeRange indi

so my code would be ??? what should I code here???


APZ apzuv = HiLoOfTimeRange (9,30,9,45);
APZ apzllv = HiLoOfTimeRange (9,30,9,45);

The High and Low are the high/low of the current bar. So the APZ take different parameters, and may return different values.
For the HiLo.. indic, it use TheHigh and TheLow dataSeries, so you can get the needed values there.


edit: oops, Mike was faster

Success requires no deodorant! (Sun Tzu)
Reply With Quote
The following user says Thank You to sam028 for this post:
 
  #5 (permalink)
Elite Member
Calcutta, India
 
Futures Experience: Intermediate
Platform: ArthaChitra
 
Posts: 278 since Jun 2009
Thanks: 161 given, 259 received


cory View Post
I look at Hurly strategy and it gets 2 value from APZ indicator by

APZ apzuv = APZ (High, APZstddev, APZlength);
APZ apzlv = APZ(Low, APZstddev, APZlength);

then I open APZ but i dont see High, Low mention inside APZ ???

anyway what I am after is High, Low of HiLoOfTimeRange indi

so my code would be ??? what should I code here???


APZ apzuv = HiLoOfTimeRange (9,30,9,45);
APZ apzllv = HiLoOfTimeRange (9,30,9,45);

havent tested it on NT but will be something on this line
 
Code
DataSeries high = HiLoOfTimeRange(9,30,9,45).TheHigh

Reply With Quote
The following user says Thank You to bukkan for this post:
 
  #6 (permalink)
Elite Member
Brisbane, Australia
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: Mirus/Zen-Fire
Favorite Futures: CL
 
nanobiotech's Avatar
 
Posts: 670 since Jun 2009
Thanks: 134 given, 428 received

Similar problem but with _ADXVMA_Alerts_v01_5

In some of the Hurley strategies there is a need to avoid entries when the _ADXVMA_Alerts_v01_5 indicators show neutral, whether or not they also show rising or falling.

For a long the following is in the Entry Condition code (I have changed the indicator names a bit as it is from the Elite section):

&& (_ADXVMA_Alerts_v01_5(periodlength1, true).Signal[0] != 0)
&& (_ADXVMA_Alerts_v01_5_diff_colors(periodlength2, true).Signal[0] != 0)
&& Close[0] > _ADXVMA_Alerts_v01_5(adxvmalength1, true).Rising[0]
&& Close[0] > _ADXVMA_Alerts_v01_5_diff_colors(periodlength2, true).Rising[0]
&& _ADXVMA_Alerts_v01_5(periodlength1, true).Rising[0] > _ADXVMA_Alerts_v01_5_diff_colors(periodlength2, true).Rising[0]

Note there are 2 versions of _ADXVMA_Alerts_v01_5 used where the difference is limited to the colours of the Rising & Falling lines on the chart.

@gregid suggested the && (_ADXVMA_Alerts_v01_5_diff_colors(periodlength2, true).Signal[0] != 0) code but it doesn't appear to prevent entries as you can see on the attached chart.

Anyone have some suggestions how I can code to prevent entries when the _ADXVMA_Alerts_v01_5 is showing yellow (neutral) even if it is also rising (green and dark green) or falling (red or orange)?

In the attached chart segment, the circled _ADXVMA_Alerts_v01_5's show both rising and neutral, therefore I don't want to enter, but it still enters the trade.

Cheers,
Nano

Attached Thumbnails
how to get value(s)  from a indi to a strategy-chart.jpg  
Reply With Quote
The following user says Thank You to nanobiotech for this post:
 
  #7 (permalink)
Market Wizard
virginia
 
Futures Experience: Intermediate
Platform: ninja
Favorite Futures: ES
 
cory's Avatar
 
Posts: 5,220 since Jun 2009
Thanks: 628 given, 6,318 received
Forum Reputation: Legendary

I am looking for a simple strategy to learn, the basic code is if close > open range high, short and stop at 5 ticks profit or stop at 5 ticks loss done for the day. If close < low of open range long for 5 ticks target or 5 ticks stop done for the day. Strategies here are too advance for my learning.

Reply With Quote

Reply



futures io > > > > > how to get value(s) from a indi to a 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
Auto ABC Projection indi jtrade NinjaTrader Programming 14 October 14th, 2013 09:59 AM
volatility indi shah1266 NinjaTrader 3 August 1st, 2011 03:07 PM
Indi works on chart, not in Market Analyzer. Null ref check? MXASJ NinjaTrader Programming 5 May 12th, 2011 10:34 PM
Integrating existing DLL in NT7 indi martinp NinjaTrader Programming 8 February 15th, 2011 03:32 PM
Indi from Tradestation to Ninja 7.. edi025 NinjaTrader Programming 5 December 11th, 2010 08:42 PM


All times are GMT -4. The time now is 06:43 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.11 seconds with 21 queries on phoenix via your IP 54.221.93.187