StockFetcher Forums · Filter Exchange · Why does this not work?<< >>Post Follow-up
SAFeTRADE
630 posts
msg #114264
Ignore SAFeTRADE
6/30/2013 1:37:24 AM

symlist(spy)

set{20hi65ago, high 20 day high 65 days ago}
set{near2065, count(close near high 20 day high 65 days ago,1)}
set{2065draw, count(near2065 > 0,1) * 20hi65ago}

add column near2065

add column 2065draw
draw price line at 2065draw

Trying to get this to print 2065draw line at price. It prints at zero. This triggered four days ago on Monday.
What am I missing?


four
5,087 posts
msg #114265
Ignore four
modified
6/30/2013 9:20:14 AM

Fetcher[
symlist(spy)

set{20hi65ago, high 20 day high 65 days ago}
set{near2065, count(close near high 20 day high 65 days ago,1)}
set{2065draw, count(near2065 > 0,1) * 20hi65ago}

add column near2065

add column 2065draw
draw 2065draw /* Changed */
]



SAFeTRADE
630 posts
msg #114267
Ignore SAFeTRADE
6/30/2013 10:09:17 AM

Thanks Four, but is there a way to draw the price line with out the signal?

SAFeTRADE
630 posts
msg #114268
Ignore SAFeTRADE
modified
6/30/2013 10:44:03 AM

Got it to work, Thanks to Four for his attempt. Thanks to TRO for his A COMPLETE LOGIC SYSTEM
where I changed (show stocks example) to draw. Been working on this most of the night. So moral
of this story is I learned a new technique. Draw based on an outcome of a count sequence.
Thanks all!

Clarence

Fetcher[symlist(spy)
set{A, count(close near high 20 day high 65 days ago,1)}


draw price line at high 20 day high 65 days ago where a above 0

add column a
add column high 20 day high 65 days ago
do not draw a
]



four
5,087 posts
msg #114269
Ignore four
modified
6/30/2013 10:45:33 AM

Clarence,


Please post your solution for us...
---------------------------------------------------------------
A-COMPLETE-LOGIC-SYSTEM-ANOTHER-GIFT-FROM-AVERY

http://www.stockfetcher.com/forums/General-Discussion/A-COMPLETE-LOGIC-SYSTEM-ANOTHER-GIFT-FROM-AVERY/28017

SAFeTRADE
630 posts
msg #114270
Ignore SAFeTRADE
6/30/2013 10:48:46 AM

Four check modified previous post. Thanks again

SAFeTRADE
630 posts
msg #114272
Ignore SAFeTRADE
6/30/2013 11:36:50 AM

I have heard it said thinking is linking. I have many thoughts running through my head right now.
There are many people who have shared their ideas since I have have been here. I have been mostly
silent absorbing all these ideas. People who come to mind besides two already mentioned are
Kevin, Mary4money and all his aliases, muddy, yepher, riggs, alf44 etc.

My thinking is this can be used with Kevin's CRSI filter and his Z-Score filter to spot support. I think this
works better in an uptrending market where resistance becomes support. I have also heard it said
"price is king". This just uses price. Sort of incorporates PnF chart ideas.

This also incorporates TRO's theory about using only a horizontal line to trade. No squiggly lines injured.
Just support and resistance.

Here is only a start of the filter I have in mind.

Fetcher[
set{zscoreb,close - CMA(close,4)}
set{zscore, zscoreb / standard deviation(4)}

symlist(spy,iwm,rsp,ijr,ijs)
set{A, count(close near high 20 day high 65 days ago,1)}


draw price line at high 20 day high 65 days ago where a above 0
add column zscore
add column a
add column high 20 day high 65 days ago
do not draw a

sort column 5 descending
]



Run the filter back to Monday where is was used for the "calendar effects trade"

SAFeTRADE
630 posts
msg #114278
Ignore SAFeTRADE
6/30/2013 5:32:12 PM

More complete filter.

Fetcher[set{rsrank, close / high 220 day high 1 day ago}
set{zscoreb,close - CMA(close,4)}
set{zscore, zscoreb / standard deviation(4)}

symlist(spy,iwm,rsp,ijr,ijs)



set{near20_35, count(close near high 20 day high 35 days ago,1)}
set{near20_65, count(close near high 20 day high 65 days ago,1)}
set{or1, near20_35 + near20_65}


set{near20_45, count(close near high 20 day high 45 days ago,1)}
set{near20_55, count(close near high 20 day high 55 days ago,1)}
set{or2, near20_45 + near20_55}

set{or3, or1 + or2}
or3 > 0



draw price line at high 20 day high 35 days ago

draw price line at high 20 day high 45 days ago

draw price line at high 20 day high 55 days ago

draw price line at high 20 day high 65 days ago








add column zscore
add column rsrank
add column or1
add column or2



add column near20_35
add column near20_45
add column near20_55
add column near20_65


do not draw near20_35
do not draw near20_65
do not draw or3







sort column 5 descending
]



StockFetcher Forums · Filter Exchange · Why does this not work?<< >>Post Follow-up

*** Disclaimer *** StockFetcher.com does not endorse or suggest any of the securities which are returned in any of the searches or filters. They are provided purely for informational and research purposes. StockFetcher.com does not recommend particular securities. StockFetcher.com, Vestyl Software, L.L.C. and involved content providers shall not be liable for any errors or delays in the content, or for any actions taken based on the content.


Copyright 2022 - Vestyl Software L.L.C.Terms of Service | License | Questions or comments? Contact Us
EOD Data sources: DDFPlus & CSI Data Quotes delayed during active market hours. Delay times are at least 15 mins for NASDAQ, 20 mins for NYSE and Amex. Delayed intraday data provided by DDFPlus


This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.