StockFetcher Forums · Filter Exchange · For those of us who like a quick 3 to 5 day move in the markets. This one is for us.<< >>Post Follow-up
SAFeTRADE
630 posts
msg #160423
Ignore SAFeTRADE
7/16/2023 10:45:39 AM

For those of us who like a quick 3 to 5 day move, try this one on for size and see how it fits. Thanks to

Kevin_in_GA and fotchstecker for the inspiration as I stole their code for this one.

Fetcher[symlist(qqq,spy,dia,vxx,svxy)
draw Williams %R(10) line at -50
draw Williams %R(10) line at -20
add column Williams %R(10)
draw macd(2,3,3)
draw ma(5)



set{originxy, open 2 days ago}
set{adjacent, originxy * 0.02238}
set{opposite_vector, close - originxy}
set{radians, opposite_vector / adjacent}
set{atanval, atan(radians)}
set{hcircle, 180 / 3.14159}
set{angledeg, atanval * hcircle}

set{overbought,10}
set{OB1, angledeg - overbought}
set{OB2, OB1 /1000}
set{OB3, close * OB2}
set{OB, close - OB3}
SET{ob_buy,count(close crossed above ob,1)}
SET{ob_sell,count(close crossed below ob,1)}

draw OB on plot price
draw ob_buy

draw ob_sell

add column ob_buy

add column ob_sell
]



VenturaTrader
43 posts
msg #160425
Ignore VenturaTrader
7/16/2023 7:49:26 PM

Thanks SAFeTRADE for your generosity in posting this filter. Kevin was also very generous and helpful.

If you were to trade this filter, would you attempt to enter the position on the same day a signal is fired or wait until the next open?

SAFeTRADE
630 posts
msg #160426
Ignore SAFeTRADE
7/16/2023 8:09:17 PM

Same day.

lorypanna
16 posts
msg #160427
Ignore lorypanna
7/18/2023 6:07:01 PM

Thanks for sharing @SAFeTRADE.

Just a beginner here, not trading at present (just studying when time allows).

The filter seems to me to be able to identify interesting setups.

I tried to understand your code. I ask some questions in case you or other users have some time to provide some information. Don't lose too much time and don't provide an answer if the questions are too stupid to deserve it ...

1. If I understand correctly, an angle in degree is calculated from the delta-% of close compared to open(-2), 'weighted' with a factor of 1 / 0.02238. Then a 'overbougth angle' is subtracted from the calculated angle, the result is divided by 1,000 and the obtained value is subtracted from 1 and the new result is multiplied by close. A value greater than close is obtained if close < open(-2), otherwise a value less than close. The question(s): what's the 'theory' behind this? is it explained in the posts by @Kevin_in_GA and @fotchstecker, that i was not able to find (if possibile, can you provide the links)? curious to know what's the 'meaning' of the values 0.02238, 10, 1000 ...

2. Are the various indicators calculated / plotted by the filter only used for supporting the buy/sell indicated by ob_buy/ob_sell? I'm referring to MA(5), Williams%R(10), MACD(2, 3, 3). If yes, how are they used?

TIA for any info, if any.
Have a nice evening. Cheers from Italy. LP

SAFeTRADE
630 posts
msg #160430
Ignore SAFeTRADE
7/19/2023 12:31:33 AM

Look at the 2 following posts, it might make some sense of what is included in the filter.

https://www.stockfetcher.com/forums/Filter-Exchange/Slope-Angle-in-Degrees/55214/0


https://www.stockfetcher.com/forums/Filter-Exchange/Wilson-Relative-Price-Channel/115076/-1/115076

safetrade

lorypanna
16 posts
msg #160431
Ignore lorypanna
modified
7/19/2023 5:19:05 AM

Thanks @SAFeTRADE. Have a nice day

SAFeTRADE
630 posts
msg #160443
Ignore SAFeTRADE
modified
7/24/2023 3:35:39 PM

Simulated trade 7/24/23
SVXY $87.41 stop $86.78
* raised stop to $87.31 today's low

Simulated trade 7/25/23
XLB $84.78 stop $84.35

Simulated trade 7/25/23
XLK $178.40 STOP $175.76

SAFeTRADE
630 posts
msg #160447
Ignore SAFeTRADE
modified
7/26/2023 11:53:10 AM

Simulated trade 7/24/23
SVXY $87.41 stop $86.78
* raised stop to $87.31 today's low
* 7/27/23 sold SVXY AT 88.29 profit $.78

Simulated trade 7/25/23
XLB $84.78 stop $84.35
* 7/27/23 sold XLB at $85.40 profit $.62

Simulated trade 7/25/23
XLK $178.40 STOP $175.76
* 7/26/23 stopped out 175.74 loss $2.76

OUT OF MARKET

StockFetcher Forums · Filter Exchange · For those of us who like a quick 3 to 5 day move in the markets. This one is for us.<< >>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.