I found some code I think is for the green dots... though I'm not entirely sure. Converted it below:
Code:
# Dr Wish's Black & Green Dot Indicator For ThinkOrSwim
# @Joshua 9/2021
# with green dots by mashume
# from TC2000 code found here: https://wishingwealthblog.com/2021/06/follow-on-to-traderlion-conference-this-wednesdays-long-island-talk-examples-of-black-dot-signals-gmi6-of-6/
def black =
Sum(StochasticFull(10,1) <= 25, 3) >= Yes
and close > close[1]
and (
close > Average(close,30)
or
close > expAverage(close,21)
)
;
plot bDot = if black then low else double.nan;
bDot.SetPaintingStrategy(paintingStrategy.POINTS);
bDot.setLineWeight(2);
bDot.setDefaultColor(color.black);
def green = if stochasticFull(10, 4)[1] < Average(StochasticFull(10, 4)[1], 4)
AND StochasticFull(10, 4) > Average(StochasticFull(10, 4), 4) then LOW else double.nan;
plot gDot = green;
gDot.SetPaintingStrategy(paintingStrategy.POINTS);
gDot.setLineWeight(2);
gDot.setDefaultColor(color.green);
Last edited by a moderator: