StockFetcher Forums · View by Author: bushynose (11 messages) ·  [ Display By: Date / Subject ]<< 1 2 >> 
Filter Exchange · Almost got my TMF filter working but need one more thing fixed. Help please.
bushynose
msg #148091
6/9/2019 1:24:24 AM

I tought that Stockfetcher can't handle this filter if there are too many decimal places

Filter Exchange · Almost got my TMF filter working but need one more thing fixed. Help please.
bushynose
msg #148074
6/7/2019 2:25:00 AM

It seems that this filter is good for shorting

Filter Exchange · Almost got my TMF filter working but need one more thing fixed. Help please.
bushynose
msg #148073
modified
6/7/2019 12:03:42 AM

pa247

maybe you should use within the last X days?

Fetcher[

/* Twiggs Money Flow indicator was developed by Colin Twiggs for incrediblecharts to improve Chaikin Money Flow (CMF). The main idea behind the TMF indicator is to evaluate volume (money flow) as bullish or as bearish based on a close price location. Chaikin Money Flow uses CLV (Close Location Value) to do it. Twigs Money Flow, on the other hand, uses TR (True Range). Another main difference is that CMF uses cumulative volume (sum of volumes over specified period) and the TMF applies Moving average to the volume. */

not etf
not otcbb
close > 1
optionable


/* Calculate Highest High (HH) and Lowest Low (LL)
LL = minimum(current low or previous close)
HH = maximum(current High or previous close) */
set{LL, min(low, close)}
set{HH, max(high, close)}

/* calculate Range = (Close - LL) / (HH - LL) * 2 - 1 ) */
set{xR, Close - LL}
set{R2, HH - LL}
set{R3, xR / R2}
set{R4, R3 * 2}
set{R5, R4 - 1} /* R5 = Range */

/* Calculate Range Volume
RangeV = EMA (Volume * Range) */
set{range1, volume * R5}
set{rangeV, CEMA(range1,21)}

/* Calculate TMF = RangeV / EMA(Volume) * 100 */
set{tmf1, cEMA(volume,21)}
set{tmf2, tmf1 * 100}
set{tmf, rangeV / tmf2}
set{var1, tmf * 1000}
add column var1

/* so this next line is where Im trying to limit the number of stocks and isnt working right */
var1 crossed above 1
draw var1 line at 1

/* (Apply EMA to TMF as second signal line) TMF Signal Line = EMA(TMF) */
set{tmfsignal, CEMA(var1,21)}
set{var2, tmfsignal * 1000}
/* and this next line is a further limit that isnt working right either */
var2 crossed above 1 within the 3 weeks
draw var2 line at 1

draw CEMA(var1,21)} on plot var1

set{var5, count(CEMA(var1,21) crossed above 1, 1)}
draw var5
set{var6, count(var2 crossed above 1, 1)}
draw var6
]



General Discussion · Weekly +di(14)
bushynose
msg #148018
6/3/2019 12:59:32 AM

Fetcher[
set {x,weekly pdi(14)}
set {xx,cema(x,15)}
set {y,weekly mdi(14)}
set {yy,cema(y,15)}
set {xm1, value of xx 1 day ago}
set {del,x-xm1}
del crossed above 0
draw del line at 0
draw xx
draw yy on plot xx
draw adx
]



Fetcher[
set {x,weekly pdi(14)}
set {y,weekly mdi(14)}
set {xm1, value of x 1 day ago}
set {del,x-xm1}
del crossed above 0
draw del line at 0
draw x
draw y on plot x
draw adx
]



General Discussion · Is this correct?
bushynose
msg #147967
modified
5/30/2019 11:04:45 AM

Fetcher[
market is nasdaq
market is not etf
close > 10
volume > 1234567
optionable
/* 1. First you have to get the maximum close price in the analyzed period:
Close Max = Highest Close in the selected period (p1) */

set{HC, max(high, close 2 week high)}
/*set{HC,max close(14)} */
add column hc

/*2. In the second step you calculate Drawdown Percent and square it:
DP = ((Close Max - Current Close) / Close Max * 100)^2 */

set{draw_down1, HC - close}
set{draw_down2, HC * 100}
set{draw_down3, draw_down1 / draw_down2}
set{dp, draw_down3 * draw_down3}
add column draw_down3

/* 3. In the third step you apply simple moving average to the Drawdown percent with the same bar period which was used to get maximum close price:
DPma = SMA(DP, p1) */

set{dpma,cma(dp,14)}
add column dpma

/*4. In the last step you calculate UI as square root from smoothed Drawdown percent calculated in step #3:
UI = SQR(DPma) */

set{UI,pow(dpma,0.5)}

add column UI
draw UI
]

If you want the root of a function simply raise your measure to the decimal equivalent of its fraction. For example ...

the 1st root of the CLOSE = close^(1/1)
the 2nd (square) root of the CLOSE = close^(1/2)
the 3rd (cube) root of the CLOSE = close^(1/3)
the 4th root of the CLOSE = close^(1/4)


Filter Exchange · 1 month low filter
bushynose
msg #147739
5/9/2019 3:12:14 AM

Fetcher[Show stocks where high reached a new 1 year high within the last 2 weeks
and cma(high,6) has been decreasing for the last 2 days
and cma(low,2) was lower 1 day ago
and cma(low,2) is increasing for the last 1 day
and draw cma(low,2)
and close has been above ma(50) for the last 10 days


and Average Volume(90) is above 500000
and price is between 10 and 500
and draw ma(10)
and draw ma(20)
and draw ma(50)

and stock is optionable

set{var1, count(high reached a new 1 year high within the last 2 weeks, 1)}
draw var1
set{var2, count(cma(high,6) has been decreasing for the last 2 days, 1)}
draw var2
set{var4, count(cma(low,2) is increasing for the last 1 day, 1)}
draw var4
set{var5, count(close has been above ma(50) for the last 10 days, 1)}
draw var5
]



Filter Exchange · 1 month low filter
bushynose
msg #147726
5/8/2019 2:45:50 PM

kossvet - can you share Think or Swim code?

Filter Exchange · 1 month low filter
bushynose
msg #147713
modified
5/8/2019 2:32:40 AM

and draw cma(low,2)lose has been above ma(50) for the last 10 days

should be?:
and draw cma(low,2)
and close has been above ma(50) for the last 10 days

what is "cma(low,2) was lower 1 day ago"?

Filter Exchange · FRAMA
bushynose
msg #146992
3/18/2019 2:18:04 PM

http://etfhq.com/blog/2010/05/25/best-technical-indicators/

Filter Exchange · Bulkowski's Adam White Setup
bushynose
msg #146742
2/27/2019 2:36:10 AM

Quick filter display. Can someone improve this idea?

Fetcher[
set{L5, low 5 week low}
draw L5
set{L13, low 13 week low}
draw L13 on plot L5

set{H5, high 5 week high}
draw H5 on plot L5
set{H, high 1 week high}
draw H on plot L5
set{L513, count(L5 is above L13, 1)}
draw L513
set{H15, count(H equals H5, 1)}
draw H15
]



StockFetcher Forums ·  · << 1 2 >>

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