glgene 616 posts msg #96879 - Ignore glgene |
10/12/2010 11:51:16 PM
For anyone who is reading this for the first time, please note:
Day-end position of 1.00 means the stock closed at the high of the day
Day-end position of 0.00 means the stock closed at the low of the day.
Anything in between means stock didn't close at high or low of the day. A higher number (e.g. .80 vs. .35) is better if you're looking for 'long' strength.
|
four 5,087 posts msg #96880 - Ignore four |
10/12/2010 11:53:23 PM
|
glgene 616 posts msg #96882 - Ignore glgene |
10/13/2010 12:09:05 AM
four,
Your end-of-day run on 10-12-2010 shows EEM with an day-end position of 99.78%. I show 83%. ??? If yours is correct, that might explain my scripting logic on a stock that loses on a given day. If mine is correct, ????
Anyone else?
|
glgene 616 posts msg #96884 - Ignore glgene |
10/13/2010 12:49:31 AM
four,
After seeing your post and manually checking both of our scripts, I concede that yours is correct (at least with stocks that rise in a given day). Thanks for your correctness. Still not sure about a stock that loses in a day. ???
|
traderseb 36 posts msg #96886 - Ignore traderseb |
10/13/2010 7:49:23 AM
Try this:
|
four 5,087 posts msg #96899 - Ignore four |
10/13/2010 12:27:26 PM
TRY...
|
traderseb 36 posts msg #96917 - Ignore traderseb |
10/14/2010 6:32:49 AM
Yes, that is the way I would do it if I enjoyed adding extraneous lines of code and wasting set statement resources.
|