Join the 80,000 other DTN customers who enjoy the fastest, most reliable data available. There is no better value than DTN!

(Move your cursor to this area to pause scrolling)

"I was on the phone with a friend who uses CQG and right after the Fed announcement, CQG was as much as 30 seconds behind DTN.IQ. Some quotes were off by as much as 15-18 cents. Your feed never missed a beat." - Comment from Roger
"Thanks for the great product and support. During this week of high volume trading, my QuoteTracker + IQ Feed setup never missed a beat. Also, thanks for your swiftness in responding to data issues. I was on ******* for a few years before I made the switch over early this year, and wish I had done it a long time ago." - Comment from Ken
"As a past ******* customer(and not a happy one), IQ Feed by DTN is a much better and cheaper product with great customer support. I have had no problems at all since switching over." - Comment from Public Forum
"Previously I was using *******. IQFeed is WAY more economical, and for my charting needs is just as good, if not better." - Comment from Public Forum Post
"If someone needs the best quality data and backfill beyond what their broker provides at a rate that is the best in the industry, I highly recommend IQFeed." - Comment from Josh via Public Forum
"I'm satisfied with IQFeed. It's the most reliable and fastest quote feed I have ever used. Although I'm a resident in China, it's still very fast!" - Comment from Xiaofei
"Interactive Brokers tick data was inconsistent, so I have switched to using DTN exclusively. It is great to no longer have to worry about my datafeed all day long." - Comment from Philippe
"I have been using IQFeed now for a few years in MultiCharts and I have zero complaints. Very, very rare to have any data hiccups or anything at all go wrong." - Comment from Public Forum
"I am very pleased with the DTNIQ system for quotes and news." - Comment from Larry
"After all the anxiety I had with my previous data provider it is a relief not to have to worry about data speed and integrity." - Comment from Eamonn
Home  Search  Register  Login  Blogs Recent Posts

Information on DTN's Industries:
DTN Oil & Gas | DTN Trading | DTN Agriculture | DTN Weather
Follow DTNMarkets on Twitter
DTN.IQ/IQFeed on Twitter
DTN News and Analysis on Twitter
»Forums Index »Product Support »ProphetX Support »Making an movingaverage of high or low
Author Topic: Making an movingaverage of high or low (4 messages, Page 1 of 1)

-Interested User-
Posts: 6
Joined: Mar 29, 2007

Posted: Mar 29, 2007 08:23 AM          Msg. 1 of 4
How do I make a formalu that makes an average of the high prices instead of the close?

DTN_Tim Walter
-DTN Guru-
Posts: 1238
Joined: Apr 25, 2006

Posted: Mar 29, 2007 08:30 AM          Msg. 2 of 4
Hello Daniel,

The easiest way to do this is to create your study on the chart, right click on the chart line, left click on your studies properties, and change the element to high, intead of close and then click ok.

Let me know if you need help with this.
Edited by DTN_Tim Walter on Mar 29, 2007 at 09:16 AM

-VP, Product Operations-
Posts: 1752
Joined: May 3, 2004


Posted: Mar 29, 2007 08:33 AM          Msg. 3 of 4
You can use the standard moving average and change the Element to have it calculate on the High instead of the close.

Or, as a formula, it would be MOV(SERIES,PERIOD,VertShift,HorShift,Method,Element)

Series = Symbol (leave the word SERIES in the parameter so it uses the base symbol of the chart)

Period = Lookback period

VertShift = Vertical offset

HorShift = Horizontal Offset

Method = (Standard, Exponential, Weighted, Running) => (0,1, 2, 3).

Element = Field to use (Close, High, Low, Open) => (0,1,2,3).

Thus, a formula such as MOV(SERIES,20,0,0,0,1) would allow you to create a simple MA of the high for 20 bars.

If you build a User Custom Study with this formula, you can then create Parameters and name them yourself. For example, I would put "PERIODS" instead of 20 in the formula. Then, in the dialog for the User Custom Study, I would create a Parameter called PERIODS and use a value of 20 (which will become the default). You can then change this Parameter whenever you apply it to a chart.

Jay Froscheiser
DTN - Trading Markets

-Interested User-
Posts: 6
Joined: Mar 29, 2007

Posted: Mar 29, 2007 09:39 AM          Msg. 4 of 4
Thank you for the quick answer. I have found the 'element' feature on the properties of moving averages.


Time: Sat April 20, 2019 3:46 AM CFBB v1.2.0 31 ms.
© AderSoftware 2002-2003