I'd like to scan the criteria when the arverage of close price of last X bars is in a very narrow range, or let's say slop of X( for example 8 Day) MA/EMA kind of flat. what would this formula look like?
thank you
regards
Kevin
|
Hi,Bruce, i would like your help to write a PCF that scan the following criteria:
1)the lowest Stochastics of previous X bars( let's say 5 from 1 bar ago) is below 20;
2)the highest Stochastics of previous X bars(let's say 5 from 1 bar ago) is higher than 20.
3) the Stochastics of current bar is breaking the high of previous X bar(let's say 5 from 1 bar ago).
how would you write it?
i appreciate your help.
thank you
Kevin
|