how to get value(s) from a indi to a strategy - futures io
futures io futures trading



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


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one cory with 2 posts (0 thanks)
    2. looks_two Big Mike with 1 posts (1 thanks)
    3. looks_3 nanobiotech with 1 posts (1 thanks)
    4. looks_4 bukkan with 1 posts (1 thanks)
      Best Posters
    1. looks_one sam028 with 1 thanks per post
    2. looks_two bukkan with 1 thanks per post
    3. looks_3 Big Mike with 1 thanks per post
    4. looks_4 nanobiotech with 1 thanks per post
    1. trending_up 2,076 views
    2. thumb_up 4 thanks given
    3. group 4 followers
    1. forum 6 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
 

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

(login for full post details)
  #1 (permalink)
the coin hunter
virginia
 
Experience: Intermediate
Platform: ninja
Trading: NQ
 
cory's Avatar
 
Posts: 6,029 since Jun 2009
Thanks: 845 given, 7,893 received

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)
Started this thread Reply With Quote

Journal Challenge February 2021 results:
Competing for $1500 in prizes from Topstep
looks_oneSBtrader82 's Trading Journalby SBtrader82
(173 thanks from 31 posts)
looks_twoJust BEING a Trader: Letting Go!!by iqgod
(120 thanks from 33 posts)
looks_3Wisdom is Emptinessby Mtype
(68 thanks from 25 posts)
looks_4Deetee’s DAX Trading Journal (time based)by Deetee
(35 thanks from 17 posts)
looks_5Journal for peanuts1956by peanuts1956
(23 thanks from 13 posts)
 
 
(login for full post details)
  #3 (permalink)
Site Administrator
Swing Trader
Data Scientist & DevOps
Manta, Ecuador
 
Experience: Advanced
Platform: My own custom solution
Trading: Emini Futures
 
Big Mike's Avatar
 
Posts: 49,764 since Jun 2009
Thanks: 32,302 given, 97,535 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

We're here to help -- just ask

For the best trading education, watch our webinars
Searching for trading reviews? Review this list

Follow us on Twitter, YouTube, and Facebook

Support our community as an Elite Member:
https://futures.io/elite/
Follow me on Twitter Visit my futures io Trade Journal Reply With Quote
The following user says Thank You to Big Mike for this post:
 
(login for full post details)
  #4 (permalink)
Site Moderator
 
 
sam028's Avatar
 
Posts: 3,665 since Jun 2009
Thanks: 3,786 given, 4,494 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)
Follow me on Twitter Reply With Quote
The following user says Thank You to sam028 for this post:
 
(login for full post details)
  #5 (permalink)
Calcutta, India
 
Experience: Intermediate
Platform: ArthaChitra
 
Posts: 278 since Jun 2009
Thanks: 161 given, 269 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:
 
(login for full post details)
  #6 (permalink)
Brisbane, Australia
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Mirus/Zen-Fire
Trading: CL
 
nanobiotech's Avatar
 
Posts: 670 since Jun 2009
Thanks: 134 given, 429 received

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
Click image for larger version

Name:	Chart.jpg
Views:	95
Size:	101.7 KB
ID:	22297  
Reply With Quote
The following user says Thank You to nanobiotech for this post:
 
(login for full post details)
  #7 (permalink)
the coin hunter
virginia
 
Experience: Intermediate
Platform: ninja
Trading: NQ
 
cory's Avatar
 
Posts: 6,029 since Jun 2009
Thanks: 845 given, 7,893 received

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.

Started this thread Reply With Quote


futures io Trading Community Platforms and Indicators NinjaTrader > how to get value(s) from a indi to a strategy


Last Updated on October 10, 2010


Upcoming Webinars and Events
 

NinjaTrader Indicator Challenge!

Ongoing
 

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

March
 

Call Option Buying: The New Pain Trade? w/Carley Garner

Elite only
 

Importance of Finding Your Own Way w/Adam Grimes

Elite only
 

New Challenge (TBD)

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