High/Low horizontal line of n bars - Sierra Chart | futures io social day trading
futures io futures trading


High/Low horizontal line of n bars
Updated: Views / Replies:650 / 8
Created: by EdgeOfChaos 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 100,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
 

High/Low horizontal line of n bars

 
Trading Apprentice
Paris/France
 
Futures Experience: Intermediate
Platform: sierra chart
Favorite Futures: minidax
 
Posts: 6 since Feb 2017
Thanks: 3 given, 0 received

High/Low horizontal line of n bars

Hello all,
Is it possible, with one of the standard studies, to draw an horizontal line to the high and one to the low of n bars and once those n bars are reach, the level created remain through the day.
I've tried doing it with the "Highest High/Lowest Low Over N Bars" study but, as expected, the lines keep moving throughout the day as the line are redrawn after each 5 new bars...
Cheers.

 
 
Elite Member
Columbus, OH
 
Futures Experience: Intermediate
Platform: SierraChart
Favorite Futures: CL
 
Posts: 18 since May 2013
Thanks: 52 given, 9 received

This request is unclear to me, could you annotate a pic of what you're trying to do. It might clear up my confusion.

 
 
Elite Member
Alameda, CA
 
Futures Experience: Intermediate
Platform: Sierracharts
Favorite Futures: NQ
 
Posts: 38 since Oct 2011
Thanks: 137 given, 19 received


Have you used Highest-Lowest over a specific time frame?

 
 
Trading Apprentice
Paris/France
 
Futures Experience: Intermediate
Platform: sierra chart
Favorite Futures: minidax
 
Posts: 6 since Feb 2017
Thanks: 3 given, 0 received

Ok, sorry for the lack of clarity, i'm trying to keep track of the highs and lows of, for instance, the first 10 (range bars) starting at the European open 8h00.
I've joined pictures showing what i'm trying to explain.

The first one is what i'm looking for, At 8h00 the first candle starts (drawing a low in this instance) and ten candles later no more high/low are taken into consideration, keeping the highest high of the ten candles (drawn at the 6th candles) throughout the day.
I can't really use a time specific high/low as i'm using range bars and am trying to get the the high /low of those 10 first range candles starting at a specific time (8h00 in the morning kin this example.)

The second picture is a chart using the "Highest High/Lowest Low Over N Bars" study and is not what i want.

I hope this rather laborious wall of text is making any sense
Cheers

Attached Thumbnails
High/Low horizontal line of n bars-2017-06-22_09h56_39.png   High/Low horizontal line of n bars-2017-06-22_09h58_36.png  

Last edited by EdgeOfChaos; June 22nd, 2017 at 04:39 AM.
 
 
Elite Member
Tampa FL
 
Futures Experience: Advanced
Platform: Sierra Charts/TOS
Broker/Data: Future Path/TDA/S5
Favorite Futures: Futures/Cryptos
 
CenFlo's Avatar
 
Posts: 595 since Apr 2016
Thanks: 739 given, 843 received

You could try using the High / Low for time period and specify in the study the time to plot the lines based on what time frame of chart you are using.

Edit, just reread the above post and see that using a time frame isn't going to work.

You miss 100% of the shots you don't take. - Wayne Gretsky

Last edited by CenFlo; June 22nd, 2017 at 02:18 PM.
 
 
Elite Member
Columbus, OH
 
Futures Experience: Intermediate
Platform: SierraChart
Favorite Futures: CL
 
Posts: 18 since May 2013
Thanks: 52 given, 9 received

lol, yes that laborious wall of text made it much more clear, thanks

The only automated way to do what you want is to write an ACSIL program or build the criteria in the SC spreadsheet.

Short of that, you would have to identify the time of bar 10 and manually enter the approximate end time in the High/Low for Time Period - Extended study. This will work perfectly well with range bars too.

The following user says Thank You to mkata for this post:
 
 
Trading Apprentice
Paris/France
 
Futures Experience: Intermediate
Platform: sierra chart
Favorite Futures: minidax
 
Posts: 6 since Feb 2017
Thanks: 3 given, 0 received

All right then, looks like i'm going to learn how to properly use the SC spreadsheet function then !! or go the goold old manual way.
Thanks for the reply guys, and thanks to you too mkata for listing me the alternative options.

 
 
Elite Member
Phoenix AZ USA
 
Futures Experience: Advanced
Platform: SierraChart
Broker/Data: TradePro/TransAct
Favorite Futures: NQ YM
 
Posts: 314 since Nov 2009
Thanks: 126 given, 376 received


EdgeOfChaos View Post
All right then, looks like i'm going to learn how to properly use the SC spreadsheet function then !! or go the goold old manual way.
Thanks for the reply guys, and thanks to you too mkata for listing me the alternative options.

Here is how to do what you want using the Spreadsheet Study study:

Add the Spreadsheet Study study
1) On the Settings and Inputs tab:
-Set the Chart Region to 1
-Give it a name in the Spreadsheet Name field

2) On the Subgraphs tab:
-Set the subgraph Draw Styles like this:
K (SG1): Ignore
L (SG2): Stair Step
M (SG3): Stair Step
N (SG4): Stair Step
O (SG5): Stair Step
-Set SG2 and SG3 colors the same
-Set SG4 and SG5 colors the same

3)On the spreadsheet, use these formulas:
Cell K3:
 
Code
=IF(A3-INT(A3)>TIMEVALUE("08:00:00")+8/24,0,IF(MROUND(A3-INT(A3),1/86400)=TIMEVALUE("08:00:00"),1,K4+1))
Cell L3:
 
Code
=IF(AND(K3>0,K3<=10),MAX(C3,L4),0)
Cell M3:
 
Code
=IF(L3>0,0,IF(K4=10,L4,M4))
Cell N3:
 
Code
=IF(AND(K3>0,K3<=10),MINZ(D3,N4),0)
Cell O3:
 
Code
=IF(N3>0,0,IF(K4=10,N4,O4))

The following 3 users say Thank You to tomgilb for this post:
 
 
Trading Apprentice
Paris/France
 
Futures Experience: Intermediate
Platform: sierra chart
Favorite Futures: minidax
 
Posts: 6 since Feb 2017
Thanks: 3 given, 0 received

Wow that's very nice of you tomgilb !! Thanks you very much!! I'm going to test it this afternoon


 



futures io > > > > High/Low horizontal line of n bars
Thread Tools



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

September Journal Challenge (sponsored by TopstepTrader)

September

Battlestations! Win $947 in prizes for showing us your trading desk!

October
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Out of the last x bars mark bars with the same high/low skiguy NinjaTrader Programming 1 April 6th, 2015 12:36 AM
horizontal ray line supermht NinjaTrader 9 April 2nd, 2014 05:22 PM
Swing High Low line study Rad4633 Sierra Chart 2 July 22nd, 2013 03:35 PM
can you get a horizontal line at the current high of the volume indicator anniebee321 NinjaTrader 4 December 10th, 2010 05:18 PM
3 bar high/low entry maintain active order until 3 bar high/low in opposite direction mrticks NinjaTrader Programming 8 November 13th, 2009 07:44 PM


All times are GMT -4. The time now is 07:49 PM. (this page content is cached, log in for real-time version)

Copyright © 2018 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 2018-10-20 in 0.15 seconds with 15 queries on phoenix