Hello, this is Richard Wilkinson: a.k.a pingPa.
I am 71 and a widower who has just discovered the wonderful World of thinkscript.
Recently, I was watching an interview with Bill Gates on PBS, where he describes how he uses Co-Pilot, and I thought I would try it for the first time.
Wow, Bloody Norah! As we Brits say when something takes us by surprise.
I asked Co-Pilot to create a script based on Ross Cameron's micro-pullback study.
Here's the reply:
I haven't tried this yet, but will this week. Makes me think that artificial intelligence is about to make life very interesting.
Cheers, pingPa
I am 71 and a widower who has just discovered the wonderful World of thinkscript.
Recently, I was watching an interview with Bill Gates on PBS, where he describes how he uses Co-Pilot, and I thought I would try it for the first time.
Wow, Bloody Norah! As we Brits say when something takes us by surprise.
I asked Co-Pilot to create a script based on Ross Cameron's micro-pullback study.
Here's the reply:
Code:
# Micro Pullback Chart Study by Copilot
input emaLength = 9;
input volumeMultiplier = 1.5;
def ema = ExpAverage(close, emaLength);
def bullishCandle = close > open;
def prevHigh = high[1];
def prevLow = low[1];
def pullback = close[1] < ema[1] and low[1] > ema[2];
def breakout = close > prevHigh and close > ema;
def avgVol = Average(volume, 20);
def volSpike = volume > avgVol * volumeMultiplier;
def signal = breakout and pullback and bullishCandle and volSpike;
plot MicroPullback = signal;
MicroPullback.SetPaintingStrategy(PaintingStrategy.BOOLEAN_ARROW_UP);
MicroPullback.SetDefaultColor(Color.GREEN);
MicroPullback.SetLineWeight(3);
I haven't tried this yet, but will this week. Makes me think that artificial intelligence is about to make life very interesting.
Cheers, pingPa
Last edited by a moderator: