InvestorsHub Logo
Followers 39
Posts 5370
Boards Moderated 0
Alias Born 08/19/2009

Re: santafe2 post# 106044

Wednesday, 05/17/2023 12:25:06 PM

Wednesday, May 17, 2023 12:25:06 PM

Post# of 110152
On another note, one also gets ThinkOrSwim, one of the better trading platforms with TDA, includes the ThinkBack (practice on any previous chart functions that were all recorded for exact previous market action), or just the straight app for trading with fake cash.

About the PPO which has been one of my main studies I've used for years now, in ToS there's a PriceOsc, but a script for a truer PercentagePriceOsc for ToS (might have to adjust script for a different platform) can be with whatever critiquing one might want

thinkScript Code

Code:
# PPO
# Mobius
# V01.03.2014

declare lower;

input c = close;
input AvgType = AverageType.Simple;
input nFast = 8;
input nSlow = 13;
input nSmooth = 5;

plot PPO = ((MovingAverage(AverageType = AvgType, c, nFast) -
MovingAverage(AverageType = AvgType, c, nSlow)) /
MovingAverage(AverageType = AvgType, c, nSlow));
PPO.SetPaintingStrategy(PaintingStrategy.Histogram);
PPO.AssignValueColor(if PPO > 0
then color.green
else color.red);

plot smooth = MovingAverage(AverageType = AvgType, PPO, nSmooth);
smooth.SetPaintingStrategy(PaintingStrategy.Line);
smooth.SetDefaultColor(Color.Cyan);
# End Code PPO

or link for "Open Shared Item" in ToS;
https://tos.mx/hv8hVf (copy and paste into "Open Shared Item" under "Setup" on main workspace and then edit or add study PPO or whatever you named it)

Or a PPO version with divergence and pivot indicators share link;
https://tos.mx/VmatfLU

Join the InvestorsHub Community

Register for free to join our community of investors and share your ideas. You will also get access to streaming quotes, interactive charts, trades, portfolio, live options flow and more tools.