Here’s a Saturday evening quickie. Lou dropped into the forum last week looking for a simple thinkScript conversion of the DT Oscillator code he had. It’s pretty basic but I thought I’d post it here in case you missed it in the forum. In essence it is just another version of the Stochastic RSI. I’ve been a bit quiet these days in the forum as I have spent a fair amount of time deep in the ThinkScripter laboratory cooking up some new goodies for you all. A careful examination of the price pane will reveal that the daily version of the Volume Profile is nearly complete. Stay tuned….
# TS_DTOscillator thinkScript translation by ThinkScripter
# http://www.thinkscripter.com
# thinkscripter@gmail.com
# Last Update 15 OCT 2009
declare lower;
input RSIPeriod = 13;
input StochasticPeriod=8;
input MAType = {default SMA,EMA};
input KPeriod = 5;
input DPeriod = 3;
input upper = 70;
input lower = 30;
def StoRSI= 100*(( RSIWilder( RSIPeriod) - lowest( RSIWilder( RSIPeriod ) , StochasticPeriod ) ) / ( (
highest( RSIWilder( RSIPeriod) , StochasticPeriod ) ) - lowest(RSIWilder( RSIPeriod ), StochasticPeriod ) )
);
def SK;
def SD;
Switch (MAType){
case SMA:
SK=average(StoRSI,KPeriod);
SD=average(SK,Dperiod);
case EMA:
SK=ExpAverage(StoRSI,KPeriod);
SD=ExpAverage(SK,DPeriod);
}
Plot DTOscSK = SK;
DTOscSK.setDefaultColor(color.blue);
plot DTOscSD = SD;
DTOscSD.setDefaultCOlor(color.gray);
DTOscSD.setStyle(curve.SHORT_DASH);
plot zero = 50;
zero.setDefaultColor(color.white);
plot UpperL = upper;
UpperL.setDefaultColor(color.red);
plot LowerL = lower;
lowerL.setDefaultColor(color.green);





Eric,
Nice job on the recoding of the DTO.
More so, the coding on the Daily VPI.
I was coding around with the VPI and the TPO trying to get a daily and smaller time frame read on them. You appeared to have pushed through the threshold.
I like it.
Sweet! – This looks very close to profiling! I’m looking forward to the release.
Keep up the great work.
Peace-
Daily version of the Volume Profile! Eagerly awaiting! Thanks Eric.
jeezus… you really are a scirpter magician… pleaze dont forget the tpo version if possible
What is the name of the ribbon-like study on the upper chart displayed above?
That is the Volume Profile’s VWAP and VWAP standard deviation lines. The VWAP of the chart period is plotted along with the first and second standard deviations of the VWAP. – Very handy…
-Eric
Thank you for the speedy reply!