johnpaulca 12,036 posts msg #146879 - Ignore johnpaulca |
3/12/2019 9:53:48 AM
johnpaulca
12,018 posts
msg #146774 3/1/2019 3:56:31 PM
EVRG($55.06)...stcross = 1(yesterday), (not triggered using my criteria as yet)
*****************************************************************************************
update:
$56.45(closed)
|
graftonian 1,089 posts msg #146965 - Ignore graftonian |
3/17/2019 1:10:14 PM
Ed S,
I was both facinated and mystified by the code you posted on 2/28. Great job. I had to "reverse engineer"
your work and substitute some rather unwieldy variable names in order to keep the logic straight in my tired old brain.I tacked on a few Groenke filters (as I understand them) and offer this for your perusal.
|
nibor100 1,044 posts msg #146966 - Ignore nibor100 |
3/17/2019 2:46:24 PM
@graftonian,
Thanks, I’ll take a look at it in more depth when I get back home from playing handball today.
Ed S.
|
SAFeTRADE 646 posts msg #146967 - Ignore SAFeTRADE |
3/17/2019 3:03:05 PM
Very interesting work you have done here with coding. My only question is why does Point A
not start at the 200 day low. It appears to start 5 or so days later. I do think this setting correctly
places the V on the chart. Think it is because the use of 50 days is used as the default number.
Some of these stocks hit their 200 day low earlier. Just my thoughts as I went through the code.
Safetrade
|
graftonian 1,089 posts msg #146978 - Ignore graftonian |
3/17/2019 11:30:43 PM
should the y value of point a be at the current 200 day low or the 200 day low 50 days ago? Think I'll throw on a diagonal call spread on 'TEVA
|
SAFeTRADE 646 posts msg #146979 - Ignore SAFeTRADE |
3/18/2019 7:35:54 AM
Here is a pic of the of the coding rules.
Point A is the 52 week low. Hope this helps.
Safetrade
|
nibor100 1,044 posts msg #146996 - Ignore nibor100 |
3/18/2019 5:32:28 PM
@graftonian,
1. Your Visions V filter is clearly much easier to follow the logic than mine was and you picked up on am important criteia that I had missed, which was that Groenke is using stock closing prices for his 52 weeks High and Low values, 10 weeks High and Low values, etc. instead of the lowest low price and highest high price which is what I had used.
Not sure why you have picked 200 days for your filter but it seems to work well.
2. Your set{unique, unique1 / open} statement has probably definitely solved one of my filter's issues with finding a one of a kind variable to be fixed for 50 days of stock history.
3. I find interesting your F variable, that is used for setting the Buy Limit, can be changed from the default value of .25. Are you planning on experimenting with different values with the F variable in the future or have you already?
a.It appears you've decided that the ensuing 'half F" and 'deltaB' variables should be fixed relationships to the F variable. (I have no idea)
4. In order to be able draw a proper Visions V for any stock in SF, we would still need to solve the issue of Point A, the leftmost end point of the V drawing, moving off of the lowest low, when there are multiple values for the 52 week low/200 day low during the past 50 days.
This only happens when the very lowest low value occurs later than the first date of the V. (I have some more strange ideas I'm planning on trying, but I'm not too hopeful at this point)
Thanks,
Ed S.
|
graftonian 1,089 posts msg #147002 - Ignore graftonian |
3/19/2019 11:59:34 AM
Ed S,
Thanks for the critique.
I can answer one of your questions. I used days rather than weeks only because I generally screw things up when using weekly variables. after reading http://etfhq.com/blog/2010/05/25/best-technical-indicators/ posted by bushynose, I may be pushed into paying more attention to the weeklys.
As to your other questions, I can only answer "it seemed like a good idea at the time."
Graf
|
graftonian 1,089 posts msg #147003 - Ignore graftonian |
3/19/2019 12:10:40 PM
03/18/19 TEVA diagonal bto may 15 call cost $1.94
ivr 0.4 sto apr 18 call est prof $1.06
Current price is $2.12, not bad, 9%
|
snappyfrog 731 posts msg #147005 - Ignore snappyfrog |
3/19/2019 12:48:42 PM
Nice graft
|