StockFetcher Forums · View by Author: xarlor (119 messages) ·  [ Display By: Date / Subject ]<< 1 2 3 4 5 ... 12 >> 
General Discussion · "Within" parameter appears broken....please help!!!!!!
xarlor
msg #149748
12/2/2019 11:33:35 AM

Reading the SF manual, as best as I can tell, "within the last" applies only to the following statements:

"crossed above/below"
"gained/lost more than"
"reached a new high/low"

How to fix your statement? Two ways:

Fetcher[
CCI(20) crossed below -200 within the last 6 days
draw CCI(20) line at -200
]



Fetcher[
set{var1,count(CCI(20) < -200,6)}
var1 > 0
draw CCI(20) line at -200

]



Filter Exchange · 2 standard deviation pull back on prior 10 bars
xarlor
msg #146925
3/14/2019 2:44:14 PM

You'll have to check the accuracy, but I believe this draws a line 2SD above the current close and 2SD below the current close as calculated over the last 10 days.

The variable "lower" would be your stop loss.

Fetcher[
market not otcbb
average volume(30) > 1234567
close > 10
ema(9) > ema(50)

set{2SD,Standard Deviation(10)*2}
set{upper,close+2SD}
set{lower,close-2SD}

draw price line at upper
draw price line at lower

add column 2SD
add column upper
add column lower
]



General Discussion · @graftonian
xarlor
msg #149865
12/12/2019 12:51:01 PM

Contrarian Investing is a thing for this exact reason.

General Discussion · @graftonian
xarlor
msg #149883
12/13/2019 5:29:52 PM

Cheese, I'm not an authority on Contrary Opinion (CO). I just learned about it in Weinstein's book where he dedicated several pages to it. In a nutshell, he said when the media is all in agreement and shouting about how great/horrible the market is, that is when you need to perk up. He suggests using multiple "market indicators". These include Advance-Decline Lines, New High-New Low Figures, and "As GM Goes".

"As GM Goes" during the time the book was written was the theory that whatever GM was doing, the market follows. GM was the darling stock in that day and used the "four-month rule." It states that if GM doesn't make a new high (or low) in four months, the current trend is reversing. I updated "As GM Goes" to "As FAANG Goes" as these are the darlings of today's market. Yes, I wrote a filter for it:

Fetcher[
symlist(FB,NFLX,AMZN,AAPL,GOOG,SPY)
chart-time is 4 months

draw wma(150)
set{var1,high 4-month high}
set{4MH,count(high > var1 1 day ago,84)}
add column 4MH
add column var1
draw high 4-month high

set{var2,low 4-month low}
set{4ML,count(low < var2 1 day ago,84)}
add column 4ML
add column var2
draw low 4-month low
]



Contrary Opinion is more of an art, and I'm a horrible artist so it's not something I can put to use accurately. Just another tool for the toolbox. To your question, looking at these market indicators, I don't see any of them hinting at a reversal of the current bullish trend. The media is also split on whether we're on the brink of a big crash or the prevailing trend will continue. When they all start agreeing, though, is when we worry.





Stock Picks and Trading · A Newbie's Journey
xarlor
msg #147788
5/14/2019 2:40:11 PM

sandjco, this is the best I could do:

Fetcher[
set {V, average volume(30) * .50}
and draw V on plot Average Volume(30)
]



Stock Picks and Trading · A Newbie's Journey
xarlor
msg #149287
10/5/2019 4:35:22 PM

sandjco, there's probably better ways to find breaking trendlines, but this is what I use in my filters.

Unfortunately, when looking back, the LRC always draws with today's data, instead of however long you're looking back. The filter is still showing correctly, it's just the LRC lines display based on today's data. Go back a month to see what I mean.

Still, it does a reasonable job of showing a breakout of a trend.


Fetcher[
/* Breaking downward trend */
optionable
close > top linear regression line(38,0.75) 1 day ago
LRS(38) < 0
]



Stock Picks and Trading · A Newbie's Journey
xarlor
msg #149290
10/5/2019 6:03:57 PM

Added two lines at the bottom to tighten up the number of results.

Fetcher[
market is etf
set{1A_1, count (close > bottom linear regression line(13,0.75) 1 day ago,1)}
set{1A_2, count (LRS(13) < 0,1)}
set{1A, 1A_1 * 1A_2}

set{2A, count(rsi(14) crossed above 40,1)}

set{trigger, 1A * 2A}
add column trigger > 0

add column 1A
add column 2A
add column rsi(14)

average volume(30) > 123456
low > wma(150)
]



Stock Picks and Trading · A Newbie's Journey
xarlor
msg #149694
11/27/2019 7:49:39 AM

just happened to see a big candle dwarf the 3 candles prior (is there a name or script for that?)


What you see there is a doji candlestick after a downtrend. Doji's are candles whose open and close are pretty much in the same spot. It reflects an even tug-of-war between the bulls and the bears and often signifies a reversal in the trend.

Specific doji more strongly predict a trend change:

  • Gravestone doji
  • Dragonfly doji
  • Morning star doji
  • Evening star doji

  • Filter Exchange · Aggregate Risk
    xarlor
    msg #149025
    8/31/2019 6:57:17 PM

    Fetcher[
    chart-time is 7 months
    close 6 months ago < .10
    date offset 6 months
    sort by column 5
    ]



    ~550 losers
    ~50 break even
    ~350 winners

    So roughly:

    58% losers
    5% break even
    37% winners



    Filter Exchange · Aggregate Risk
    xarlor
    msg #149030
    9/1/2019 3:22:21 PM

    Just did a hypothetical study. Bought any stock that was under 10 cents six months ago. Sort that by performance to this day (6 months later).

    On the results page, I have each page list 100 stocks per page. Counted the number of pages that had a negative performance (1 page = 100 stocks). Same for those that had a 0.00% performance and those that had a positive performance. Those are the numbers I listed.

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

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