StockFetcher Forums · View by Author: (199 messages)  [ Display By: Date / Subject ]<< 1 2 3 4 5 ... 20 >> 
Filter Exchange · XARLOR? Can you do this?
xarlor
msg #151555
3/29/2020 10:31:55 PM

Sure thing. Add some numbers here... a dash of percentages there... a pinch of separators... and WAHLA!

Fetcher[
symlist(SPY)

set{H3H,high 3-month high}
set{H3C,close 3-month high}
set{H3L,low 3-month high}

set{L3H,high 3-month low}
set{L3C,close 3-month low}
set{L3L,low 3-month low}
add column separator
add column H3H {Highest 3-month high}
add column H3C {Highest 3-month close}
add column H3L {Highest 3-month low}
add column separator
add column L3H {Lowest 3-month high}
add column L3C {Lowest 3-month close}
add column L3L {Lowest 3-month low}

set{DollarRange,H3H - L3L}
set{PercentDifference1,DollarRange / H3H}
set{PercentDifference,PercentDifference1 * -100}
add column separator
add column DollarRange {3-month Dollar Range}
add column PercentDifference {3-month Percent Difference}
]



Filter Exchange · This might be impossible
xarlor
msg #151550
3/29/2020 6:55:43 PM

TRO, I see the rumors of your demise were greatly exaggerated. Great to see you back, even if it's in passing. Strange times we're living in, these 652 days later. Hope you and yours are doing well and do stay safe.

Filter Exchange · Trend Filter - Simple?
xarlor
msg #151546
3/29/2020 5:09:44 PM

Fetcher[
close > 2
average volume(30) > 200000

relative strength(^SPX,252) > 1
compare with ^SPX

add column relative strength(^SPX,252)
do not draw relative strength(^SPX,252)

sort column 5 descending
]



Fetcher[
close > 2
average volume(30) > 200000

relative strength(^SPX,65) < 1
compare with ^SPX

add column relative strength(^SPX,65)
do not draw relative strength(^SPX,65)

sort column 5 ascending
]



General Discussion · Breakiing monthly trend
xarlor
msg #151529
3/28/2020 12:17:47 PM

Unfortunately, SF only does daily candles or weekly candles.

General Discussion · What is wrong with this filter?
xarlor
msg #151509
modified
3/27/2020 4:43:42 PM

Highest Low in this example means you take every Low of every day for the last 3 months. Then you sort those numbers from smallest to largest. The largest of these numbers is your Highest Low.

You mention 229.68. That is not the highest low, but the lowest high. In other words, take all the HIGHs of every day for the last 3 months. Sort those from smallest to largest. The smallest of these is the lowest high.

General Discussion · Need help writing this filter
xarlor
msg #151507
3/27/2020 3:27:16 PM

Here you are.

Fetcher[
close > DMA(150)
close > DMA(200)
DMA(150) > DMA(200)
30-day slope of DMA(200) > 0
DMA(50) > DMA(150)
DMA(50) > DMA(200)
close > DMA(50)

set{52wl,low 52-week low}
close more than 30% above 52wl

set{52wh,high 52-week high}
close less than 25% below 52wh

add column 52wl
add column 52wh
do not draw 30-day slope of DMA(200)
do not draw 52wl
do not draw 52wh
]



General Discussion · What is wrong with this filter?
xarlor
msg #151500
3/27/2020 1:45:12 PM

2- Why am I need to use "high 3 months high" instead of simply "3 months high". They return different results.


Most people don't know this, but the first part indicates which part of the candle and the last part indicates if you want the highest in the period or the lowest. So you could filter for "Of all the LOWS in the last 3 months, which of them was the highest?". Or, "Of all the CLOSE in the last 3 months, which was lowest of them?"

See my example below.

Fetcher[
symlist(spy)

set{H3H,high 3-month high}
set{H3C,close 3-month high}
set{H3L,low 3-month high}

set{L3H,high 3-month low}
set{L3C,close 3-month low}
set{L3L,low 3-month low}

add column H3H {Highest 3-month high}
add column H3C {Highest 3-month close}
add column H3L {Highest 3-month low}

add column L3H {Lowest 3-month high}
add column L3C {Lowest 3-month close}
add column L3L {Lowest 3-month low}
]



General Discussion · May be close to time to test the waters
xarlor
msg #151489
3/27/2020 9:18:48 AM

Careful, this smells like a bull trap. Personally, I think SPY is going down to 180-185.

This weekend's COVID-19 numbers will be alarming in the U.S. and it will make any stimulus/relief package irrelevant as a new round of fear takes hold.


Filter Exchange · Bull Filter
xarlor
msg #151449
3/25/2020 6:04:32 PM

Think you have a typo in your second line:

show stocks where ift is below above -.75.

Changed it to below and put in some BUY triggers for look-back visualization.

Fetcher[
volume is above 500000
show stocks where ift is below -.75
draw ift line at .25
draw ift line at .75
draw ift line at -.50
draw ift line at .50
draw ift line at -.25
draw ift line at -.75
draw Ultimate Oscillator
draw Ultimate Oscillator line at 30
draw Ultimate Oscillator line at 70
show stocks where ultimate oscillator crossed above 30
draw median bollinger band(20)
price is below median bollinger band(20)

set{BUY,count(IFT crossed above -0.75,1)}
BUY > -1
]



General Discussion · help with filter
xarlor
msg #151448
3/25/2020 5:56:09 PM

Day Position is the indicator you want.

Fetcher[
/* large bullish candle from 3 days ago. I want the candle close to be near the high of the day. I want the candle from 2 days ago to have a high price near the large candle from the one 3 days ago. */

market not otcbb
SET{DIFF, HIGH - LOW} DIFF reached a new 9 day high 3 days ago
close 3 days ago > day position(0.75,1) 3 days ago
high 2 days ago > day position(0.75,1) 3 days ago
high 2 days ago < day position(1.25,1) 3 days ago

do not draw diff
do not draw diff 9-day high
]



StockFetcher Forums ·  · << 1 2 3 4 5 ... 20 >>

*** 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 2018 - 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