Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
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 for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
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.
Can you help answer these questions from other members on NexusFi?
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
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
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.
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: