PDA

View Full Version : PriceType - Median same as HLAvg?


Jibu V
08-03-2007, 11:04 AM
Is the Median pricetype the same as ((High+Low)/2), or high/low average?

NinjaTrader_Dierk
08-03-2007, 11:05 AM
Please see here: http://www.ninjatrader-support.com/HelpGuideV6/Median.html

Jibu V
08-03-2007, 11:13 AM
Thank you Dierk. I had a question about this in conjunction with my other post about the CCIwithColor indicator. Should adding the ' PriceTypeSupported = true;' statement in the 'protected override void Initialize()' section cause the ability to choose pricetype for the CCI? I added it and it compiled, but selecting Median price doesn't really seem to make a difference from whatever it was set to before pricetype was selected as true...

NinjaTrader_Dierk
08-03-2007, 11:16 AM
Please see the implimenation of the CCI: it's not reflective of price type since it uses the "Typical" data series:
http://www.ninjatrader-support.com/HelpGuideV6/Typical.html

Jibu V
08-03-2007, 11:23 AM
Dierk, that page goes to an error "404 - Seite nicht gefunden" ?

NinjaTrader_Dierk
08-03-2007, 11:26 AM
Sorry, I edited link below.

Jibu V
08-03-2007, 11:29 AM
Sorry, I edited link below.
Thank you, Dierk. Is there a way to allow for adjustment of pricetype in the CCI? I am looking to set it at Median instead of Typical.

NinjaTrader_Dierk
08-03-2007, 11:32 AM
Sure. Open CCI->Right click->Save As-><select your indicator name>
... and then edit the indicator.

Jibu V
08-03-2007, 12:08 PM
Sure. Open CCI->Right click->Save As-><select your indicator name>
... and then edit the indicator.
Thanks Dierk. I went ahead and did that, but is there a way to make the customCCI default to a Median pricetype setting, just as the original CCI is at a Typical pricetype? I don't mind if I cannot adjust this on the charts, I'd just like to keep it at Median. The reason I'd like to do this is the make sure that any other custom indicator I reference to this customCCI is using the Median setting.

NinjaTrader_Dierk
08-03-2007, 12:10 PM
Just edit the indicator as per below and replace any occurence of Typical by Median.

Jibu V
08-03-2007, 01:24 PM
Just edit the indicator as per below and replace any occurence of Typical by Median.
Wow, that made everything SO much easier, Dierk! Thank you again!