I would like to calculate a custom input series (O/H/L/C data) which I can publish on my chart as BarCharts and which is then accessible also by other indicators (that need OHLC data (for example such a Stochastic).
I could for example create my indicator value like this:
PriceATROpen = Open[0] / EMA(ATR(ATRperiod),EMAperiod)[0];
PriceATRHigh = High[0] / EMA(ATR(ATRperiod),EMAperiod)[0];
PriceATRLow = Low[0] / EMA(ATR(ATRperiod),EMAperiod)[0];
PriceATRClose = Close[0] / EMA(ATR(ATRperiod),EMAperiod)[0];
My questions:
- How do I define these values that NT understands which values are my open, high, low, close? In the properties section, with PriceType?
- How do I "add plots" to create a bar chart of these values
- How do I access this input series to create the Stochastic indicator of this custom input series?
Thank you for your help
whotookmynickname
Comment