StockFetcher Forums · General Discussion · Need help on price above ma(150)<< >>Post Follow-up
lforrester
4 posts
msg #144015
Ignore lforrester
7/3/2018 12:29:48 PM

Below is a filter I'm using for bounce plays. I want stock above their 150 day ma, but this filter will show stocks below the 150 ma sometimes. Ex. TRTC. Is there something wrong with my 150 MA syntax?

show atocks where close is above .99
Average Volume(50) >= 500000
Close is greater than ma(150)
ADX(7) is above 45
Average True Range Percent(10) is above 4
RSI(3) is below 30
add column rsi(3)
add column average true range percent(10)
add column ATR(10)
add column market

lforrester
4 posts
msg #144016
Ignore lforrester
7/3/2018 12:34:05 PM

Never mind. My charting was wrong. Filter ok.

boston
58 posts
msg #144017
Ignore boston
7/3/2018 12:34:46 PM

Fetcher[
show atocks where close is above .99
Average Volume(50) >= 500000
Close is above ma(150)
ADX(7) is above 45
Average True Range Percent(10) is above 4
RSI(3) is below 30
add column rsi(3)
add column average true range percent(10)
add column ATR(10)
add column market
]



change the greater than to is above

lforrester
4 posts
msg #144018
Ignore lforrester
7/3/2018 12:38:48 PM

Correction TRTC is below it's 150 MA. Any suggestions?

lforrester
4 posts
msg #144019
Ignore lforrester
7/3/2018 12:40:31 PM

Got it. thanks much

Mactheriverrat
3,153 posts
msg #144021
Ignore Mactheriverrat
7/3/2018 9:05:57 PM

TRTC doesn't look like its going anywhere but down.

compound_gains
221 posts
msg #144027
Ignore compound_gains
modified
7/4/2018 12:34:34 PM

Interesting 10-day backtest YTD...
: sort on average true range percent(10) descending
: trade only the stock at the top of the list
: set buy limit at mid-point of setup day bar
: no allowance for commissions
: no slippage on entry (buy limit)
: just measuring 10-day high over entry, so no exit and net gain calcs

60 trades triggered
Avg 10-day high over entry = 15%
Median 10-day high over entry = 10.5%
Trades w 10-day high 10% or higher = 60%

https://drive.google.com/open?id=1hzfoK2jgHlEPNPoOzYNl5ZbSbfLR7rwb

Fetcher[
not otcbb
sort on column 6 descending
close 10 days ago above .99
average Volume(50) 10 days ago > 500000
close 10 days ago above ma(150) 10 days ago
ADX(7) 10 days ago above 45
average true range Percent(10) 10 days ago above 4
RSI(3) 10 days ago below 30
add column rsi(3) 10 days ago {rsi3}
add column average true range percent(10) 10 days ago {atrp10}
add column ATR(10) 10 days ago {atr10}
set{ent1, high 10 days ago - low 10 days ago }
set{ent2, ent1 / 2}
set{ent, low 10 days ago + ent2}
set{h1, count(high 9 days ago above ent, 1)}
set{h2, count(low 9 days ago below ent, 1)}
set{h3, h1 + h2}
set{hit, count(h3 equals 2, 1)}
add column hit
set{hgh, high 10 day high / ent}
add column hgh
chart-length is 3 months
]



StockFetcher Forums · General Discussion · Need help on price above ma(150)<< >>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.