Typical and weighted price
Typical and weighted price
15 Apr 2013, 16:11
what are the formulas used for typical and weighted market series prices?
Replies
driftingprogrammer
19 Jan 2020, 14:45
Still no documentaion
Thanks for this thread, 7 years later people are still looking for these 2 lines since they have still not been added to the API.
@driftingprogrammer
snowchilli
11 Oct 2020, 11:39
RE:
cAlgo_Fanatic said:
Typical price: (High + Low + Close)/3
Weighted: (Open + High + Low + Close) / 4
Are these the formulae that cTrader 3.8 uses for the new indicators
TypicalPrice and WeightedPrice?
@snowchilli
PanagiotisCharalampous
12 Oct 2020, 08:38
Hi snowchilli,
Can you make your question more specific? Which new indicators?
Best Regards,
Panagiotis
@PanagiotisCharalampous
snowchilli
12 Oct 2020, 09:27
RE:
PanagiotisCharalampous said:
Hi snowchilli,
Can you make your question more specific? Which new indicators?
Best Regards,
Panagiotis
right click in a chart
select "Indicators"
select "Other"
select "TypicalPrice" (or "WeightedPrice")
Having had a closer look these 2 indicators are not new to cTrader 3.8.
Still the same question though
Typical price: (High + Low + Close)/3
Weighted: (Open + High + Low + Close) / 4
Does the indicator
- "TypicalPrice" use the formula "Typical price: (High + Low + Close)/3"
- WeightedPrice use the formula "Weighted: (Open + High + Low + Close) / 4"
If not, what formulae do those 2 use?
@snowchilli
PanagiotisCharalampous
12 Oct 2020, 09:34
Hi snowchilli,
The formulas are
Typical Price = (High+Low+Close)/3
Weighted Close = (Close*2+High+Low)/4
Best Regards,
Panagiotis
@PanagiotisCharalampous
bcronje
15 Jul 2024, 19:37
( Updated at: 16 Jul 2024, 05:51 )
RE: Typical and weighted price
PanagiotisCharalampous said:
Hi snowchilli,
The formulas are
Typical Price = (High+Low+Close)/3
Weighted Close = (Close*2+High+Low)/4
Best Regards,
Panagiotis
Does this mean Bars interface is not documented correctly for Bars.TypicalPrices
, see below? I guess it should be /3 and not /2 as per the code comment?
public interface Bars : IEnumerable<Bar>, IEnumerable
{
//
// Summary:
// Gets the Typical prices data (High + Low + Close) / 2.
DataSeries TypicalPrices { get; }
}
@bcronje
PanagiotisCharalampous
16 Jul 2024, 06:45
RE: RE: Typical and weighted price
bcronje said:
PanagiotisCharalampous said:
Hi snowchilli,
The formulas are
Typical Price = (High+Low+Close)/3
Weighted Close = (Close*2+High+Low)/4
Best Regards,
Panagiotis
Does this mean Bars interface is not documented correctly for
Bars.TypicalPrices
, see below? I guess it should be /3 and not /2 as per the code comment?public interface Bars : IEnumerable<Bar>, IEnumerable{ // // Summary: // Gets the Typical prices data (High + Low + Close) / 2. DataSeries TypicalPrices { get; }}
Hi there,
Yes, can you please send me the link from where you found this so that we can fix it?
Best regards,
Panagiotis
@PanagiotisCharalampous
bcronje
16 Jul 2024, 10:34
( Updated at: 16 Jul 2024, 10:40 )
RE: RE: RE: Typical and weighted price
PanagiotisCharalampous said:
Hi there,
Yes, can you please send me the link from where you found this so that we can fix it?
Best regards,
Panagiotis
Hi there.
It must be coming from the Bars interface source file, as I see it in Visual Studio IntelliSense popup, as well as when drilling into the source with F12 in Visual Studio. See below:
F12:
@bcronje
cAlgo_Fanatic
15 Apr 2013, 16:37
Typical price: (High + Low + Close)/3
Weighted: (Open + High + Low + Close) / 4
@cAlgo_Fanatic