Jesse Livermore style accumulation breakout scan

apc2800

New member
I've made a custom candlestick scan which generated this study code:

Code:
def IsUp = close > open;
def IsDown = close < open;
def IsDoji = IsDoji();
def avgRange = 0.05 * Average(high - low, 20);
plot PatternPlot =
    IsUp[6] and
    ((Sum(IsUp, 5)[1] >= 0)) and
    IsUp[0] and
    low[6] < Lowest(low[1], 5) and
    Highest(high[1], 5) < close[0] and
    high[6] > close[1] and
    Lowest(low[1], 5) < low[0];

Is it possible to re-code the five mixed candles as a range of days? For example from 3-18 trading days instead of just a single integer as the TOS pattern editor allows.

Also, I'm hoping to add a volume study to the first and last candlestick on the chart to look for unusual volume (say 50% above average on the first and last stick on the scan).

Any help appreciated. I will refine this scan and if it brings a good result will post it back here.

exmA6N2.png
 

XeoNoX

Well-known member
VIP
Q) Is it possible to re-code the five mixed candles as a range of days? For example from 3-18 trading days instead of just a single integer as the TOS pattern editor allows.
A) sounds possible.

Q) Also, I'm hoping to add a volume study to the first and last candlestick on the chart to look for unusual volume (say 50% above average on the first and last stick on the scan).
A) that study/scan has already been made somewhere on the forum.
 
Thread starter Similar threads Forum Replies Date
markos IBD Stock Charts Style and Scan for ThinkorSwim Custom 110

Similar threads

Top