Click here to Login





                                                   Highest high and Lowest low difference intraday chart

  0

0
Hmt Ptl
2016-07-29 06:54:31


I've tried following to show me the Highest high and lowest Low intraday difference, as the bars are formed for the current day.

I right clicked on chart went into "Edit Formula" and typed following:
######################################################
nob = barssince(day() != ref(day(),1));
TimeframeSet(60*5);
hi = hhv(high, nob); // find highest high for current day
lo = llv(low, nob); // find the lowest low for current day
PrintChart(hi - lo, "", BottomLeft, colorBlack, colorTransparent, colorTransparent, 200);
UpdatePrintSettings("Size", 1, 60);
TimeframeRestore();
#######################################################

But, Above code doesn't do what I want - it just shows high low difference of individual bar...

Any clues how to do what I want?

Thanks.



QuantShare
2016-07-29 14:37:29

  0

You should decompress the time series using timeframedecompress function but it is easier to use this:

a = histoprice(_high,0) - histoprice(_low,0);



No more messages
0




Reply:

No html code. URLs turn into links automatically.

Type in the trading objects you want to include: - Add Objects
To add a trading object in your message, type in the object name, select it and then click on "Add Objects"










QuantShare

Trading Items
High Low Chart - Drawing Item
Time-series location relative to its high and low
Filter high and low spikes
Highest and Lowest value over a dynamic period
High and Low Between a Start and End Time

How-to Lessons
How to scale and move the chart Y-axis
How to speed up watchlist and screener plug-ins when working with...
Difference between the watchlist and the screener tools
How to display notes/commentaries on a chart
How to plot support and resistance lines automatically

Related Forum Threads
Previous day high and low in in intraday chart
trend line stick to high and low
INTRADAY CHART AND VERTICAL LINE TO SEPARATE EACH DAYS
How to compute the Highest Low
Access intraday data while working on daily chart

Blog Posts
How to filter quotes data from high and low price spikes
Backtesting chart patterns using the auto support and resistance ...
Different periodicities and chart bar types in QuantShare Trading...
6 ways to download free intraday and tick data for the U.S. stock...
Day Trading: A trading system that combines intraday and EOD data









QuantShare
Product
QuantShare
Features
Create an account
Affiliate Program
Support
Contact Us
Trading Forum
How-to Lessons
Manual
Company
About Us
Privacy
Terms of Use

Copyright © 2024 QuantShare.com
Social Media
Follow us on Facebook
Twitter Follow us on Twitter
Google+
Follow us on Google+
RSS Trading Items



Trading financial instruments, including foreign exchange on margin, carries a high level of risk and is not suitable for all investors. The high degree of leverage can work against you as well as for you. Before deciding to invest in financial instruments or foreign exchange you should carefully consider your investment objectives, level of experience, and risk appetite. The possibility exists that you could sustain a loss of some or all of your initial investment and therefore you should not invest money that you cannot afford to lose. You should be aware of all the risks associated with trading and seek advice from an independent financial advisor if you have any doubts.