PureBytes Links
Trading Reference Links
|
Can anyone ahre an example of how to code for a
follow through condition.What I am looking for is the following.
1. A stock went up or down on some condition - Gap
up or down, Up(down) on good volume ( say twice above the 50 DMA of Volume)some
time ago.
2. Today the stock closed above (below) , from when
condition 1 happened.
I tried to modify Jon's code for a 10 day high, But
it is not exactly what I am loking for.
//backP = 260;
H20 = HHV<FONT
color=#000000 face="Courier New" size=2>(H,<FONT color=#ff00ff
face="Courier New" size=2>10<FONT color=#000000 face="Courier New"
size=2>);
backP=3<FONT
color=#000000 face="Courier New" size=2>;
shortP = 10<FONT
color=#000000 face="Courier New" size=2>;<FONT color=#008000
face="Courier New" size=2>
//sumNewHigh = Sum( HHV(H,backP)==H20, shortP);<FONT color=#000000
face="Courier New" size=2>
sumNewHigh = <FONT color=#0000ff face="Courier New"
size=2>Sum( H==H20,
shortP);
Graph0 = sumNewHigh;
/* Filter = sumNewHigh >=
2<FONT color=#000000
face="Courier New" size=2>;*/
Thanks for anyhelp.
regards
<FONT color=#000000 face="Courier New"
size=2>Mohan
|