mktmole 325 posts msg #121919 - Ignore mktmole |
11/5/2014 5:41:53 PM
" The lowest high of either 2 or 3 days ago is below the lowest high of the prior 10 days. "
Help to code the above would be much appreciated.
Thank you.
rgds,
mm
|
mahkoh 1,065 posts msg #121936 - Ignore mahkoh modified |
11/6/2014 2:39:27 PM
This should do it
|
mktmole 325 posts msg #121960 - Ignore mktmole |
11/7/2014 4:22:31 PM
Thanks kindly mahkoh,
rgds
mm
|
mahkoh 1,065 posts msg #121969 - Ignore mahkoh |
11/9/2014 3:08:59 AM
You're welcome. Are you looking for some consistent outcome following this pattern?
|
mktmole 325 posts msg #121990 - Ignore mktmole |
11/13/2014 11:14:55 AM
mahkoh, here you go, work in progress. a reversal.
|
mahkoh 1,065 posts msg #121991 - Ignore mahkoh |
11/13/2014 3:51:59 PM
I think you'd need to phrase
and my_diff OR my_diff2 equal 0
like this
set{x,count(my_diff equal 0,1)}
set{y,count(my_diff2 equal 0,1)}
set{z,x + y}
y above 0.5
But
set{Lowest_High19, High 19 day Low}
is a much better solution for the original problem.
|
mktmole 325 posts msg #121992 - Ignore mktmole |
11/14/2014 11:37:06 AM
thanks! tried re-phrasing suggested but that seems to have a hiccup somewhere
|
mahkoh 1,065 posts msg #121993 - Ignore mahkoh modified |
11/14/2014 1:52:42 PM
Careful where you place your comma's.
A few other adjustments:
count(liquidity above 500,000,10) above 8
to ensure consistent liquidity rather than today's
and z has to be >0.5, not y
|