Did run into a little problem on hanging man scan with this.
the hanging man a 3-day high: high(0) < min(-1,-3,hi),
Believe it needs to be: high(0) > min(-1,-2,hi)
Here is the hanging man scan created from your Hammer Scan:
Bob Jagows Hammer Scan Revised to find Hanging Man Candle
input = "Volume.lst"; output = "Hang Bob.lst"; float maxPr, minPr, top; minPr := 5; maxPr := 20; top := .33; integer tbar; tbar := 0; //float temp, last; DaysToLoad = 100 -tbar; set Stochastic = 15,3,3; printhdrln " Symbol,Stoch%D,MACD,tbar,date";
if high(tbar)> max(tbar-1,tbar-3,hi)then if close(tbar) <= maxPr and close(tbar) >= minPr then if StochasticPctD(tbar) > 80 then if open(tbar) >= high(tbar) - top*range(tbar) and close(tbar) >= high(tbar) - top*range(tbar) and range(tbar)> 0 and open(tbar) != close(tbar) then println symbol,",",StochasticPctD(tbar):4:3,",", MACD(tbar),",",tbar,",",date(tbar); endif; endif; endif; endif;
|