StockFetcher Forums · View by Author: (319 messages)  [ Display By: Date / Subject ]<< 1 2 3 4 5 ... 32 >> 
General Discussion · A very unexpected use of Donchian Center & Lower Bands
xarlor
msg #154396
modified
10/20/2020 5:54:49 PM

Here is a visual of Cheese's observations. Definitely going to need advanced sub for this one.

Fetcher[
/*
https://www.stockfetcher.com/forums/General-Discussion/A-very-unexpected-use-of-Donchian-Center-Lower-Bands/154350
styliten modified 10/17/2020 3:36:32 AM
*/


SYMLIST(SPY)

/* LRI(5) moving price band in red */

and draw Center Standard Error Band(5, 0.40)
and draw Center Standard Error Band(5, 0.35)
and draw Center Standard Error Band(5, 0.30)
and draw Center Standard Error Band(5, 0.25)
and draw Center Standard Error Band(5, 0.20)
and draw Center Standard Error Band(5, 0.15)


/* Moving Resistance Band in Green*/

and draw clri(Donchian Center Band(8, 0), 25) on plot price
and draw clri(Donchian Center Band(9, 0), 25) on plot price
and draw clri(Donchian Center Band(10, 0), 25) on plot price
and draw clri(Donchian Center Band(11, 0), 25) on plot price
and draw clri(Donchian Center Band(12, 0), 25) on plot price
and draw clri(Donchian Center Band(13, 0), 25) on plot price


/* Moving Bottom Band in Purple*/

and draw clri(Donchian Lower Band(3, 0), 18) on plot price
and draw clri(Donchian Lower Band(4, 0), 18) on plot price
and draw clri(Donchian Lower Band(5, 0), 18) on plot price
and draw clri(Donchian Lower Band(6, 0), 18) on plot price


/* ********************************************************************************************** */
/* ********************************************************************************************** */

/* https://www.stockfetcher.com/forums/Filter-Exchange/Weekly-and-Daily-MACD-on-Same-Graph/154365 */
/* snappyfrog 10/19/2020 8:29:31 AM */
/*Written by Xarlor after my request for something that matched WeeklyandDailyMACD from ToS*/

symlist(spy)
set{wk1,cema(close,15)}
set{wk2,cema(close,50)}
set{Weekly_MACD,wk1 - wk2}

set{dy1,cema(close,3)}
set{dy2,cema(close,10)}
set{Daily_MACD,dy1 - dy2}

set{Weekly_and_Daily_MACD,Weekly_MACD + Daily_MACD}

draw Weekly_and_Daily_MACD
draw Weekly_MACD on plot Weekly_and_Daily_MACD
draw Weekly_and_Daily_MACD line at 0

chart-time 4 months


/* Cheese's Uptrend
prices are above both of sty's ribbons
AND
snappy's Weekly_and_Daily_MACD above Weekly_MACD */

set{x1,count(close > clri(Donchian Center Band(8,0),25),1)}
set{x2,count(close > clri(Donchian Center Band(9,0),25),1)}
set{x3,count(close > clri(Donchian Center Band(10,0),25),1)}
set{x4,count(close > clri(Donchian Center Band(11,0),25),1)}
set{x5,count(close > clri(Donchian Center Band(12,0),25),1)}
set{x6,count(close > clri(Donchian Center Band(13,0),25),1)}
set{x7,x1 * x2}
set{x8,x7 * x3}
set{x9,x8 * x4}
set{x10,x9 * x5}
set{x11,x10 * x6}

set{y1,count(close > clri(Donchian Lower Band(3,0),18),1)}
set{y2,count(close > clri(Donchian Lower Band(4,0),18),1)}
set{y3,count(close > clri(Donchian Lower Band(5,0),18),1)}
set{y4,count(close > clri(Donchian Lower Band(6,0),18),1)}
set{y5,y1 * y2}
set{y6,y5 * y3}
set{y7,y6 * y4}

set{z1,count(Weekly_and_Daily_MACD > Weekly_MACD,1)}

set{uptrend1,x11 * y7}
set{uptrend,uptrend1 * z1}
uptrend > -1

/* Cheese's Downtrend
prices are below EITHER of sty's ribbons
OR
snappy's Weekly_and_Daily_MACD below Weekly_MACD */

set{j1,count(close < clri(Donchian Center Band(8,0),25),1)}
set{j2,count(close < clri(Donchian Center Band(9,0),25),1)}
set{j3,count(close < clri(Donchian Center Band(10,0),25),1)}
set{j4,count(close < clri(Donchian Center Band(11,0),25),1)}
set{j5,count(close < clri(Donchian Center Band(12,0),25),1)}
set{j6,count(close < clri(Donchian Center Band(13,0),25),1)}
set{j7,j1 * j2}
set{j8,j7 * j3}
set{j9,j8 * j4}
set{j10,j9 * j5}
set{j11,j10 * j6}

set{k1,count(close < clri(Donchian Lower Band(3,0),18),1)}
set{k2,count(close < clri(Donchian Lower Band(4,0),18),1)}
set{k3,count(close < clri(Donchian Lower Band(5,0),18),1)}
set{k4,count(close < clri(Donchian Lower Band(6,0),18),1)}
set{k5,k1 * k2}
set{k6,k5 * k3}
set{k7,k6 * k4}

set{l1,count(Weekly_and_Daily_MACD < Weekly_MACD,1)}

set{downtrend1,j11 + k7}
set{downtrend,downtrend1 + l1}
downtrend > -1
]



Filter Exchange · Weekly and Daily MACD on Same Graph
xarlor
msg #154377
10/19/2020 2:47:41 PM

Thanks for sharing how you put this indicator to use, snappyfrog.

I understand your entry points and they do look quite enticing. You mentioned you use this indictator to let your winners run. What is your exit signal? Weekly_and_Daily_MACD crossing below Weekly_MACD or zero? Profit target? Something else?

Good stuff!

General Discussion · Scan for Weekly Charts
xarlor
msg #154376
10/19/2020 2:36:05 PM

From the usage guide:


Chart-Display


Chart-display is a very specific phrase that tells a chart to be converted to weekly mode. Like the other chart options, this does not affect screening results; instead it provides another way to draw the chart. By telling StockFetcher to place the chart in weekly mode, all of the plots, including price, are converted to the appropriate weekly values. Any measures or indicators that were a part of the screen are also converted to their weekly counterpart. As an example, below is a screen that looks for a 10 and 50 day moving average crossover.

Fetcher[
MA(10) crossed above the MA(50)
]



Adding the phrase chart-display is weekly to this screen doesn’t affect the individual matches; however, it does convert our averages from 10 and 50 day to 10 and 50 week averages. The new example is:

Fetcher[
MA(10) crossed above the MA(50)
and chart-display is weekly
]



While providing the ability to analyze weekly charts, this addition can be confusing when verifying that a particular condition occurred. Therefore, it is important to be careful when using weekly charts.


Filter Exchange · Linear Regression Slope based on Moving Average
xarlor
msg #154355
10/17/2020 10:35:06 AM

Does this help?

Fetcher[
symlist(spy,amzn,fb,aapl,nflx,goog,tsla,msft)
draw 20 day slope of ma(10)
draw 20 day slope of ma(20)
]



General Discussion · Weekly and Daily MACD combined please ?
xarlor
msg #154347
10/16/2020 10:26:21 PM

Fetcher[
symlist(spy)
set{wk1,cema(close,60)}
set{wk2,cema(close,130)}
set{Weekly_MACD,wk1 - wk2}

set{dy1,cema(close,12)}
set{dy2,cema(close,26)}
set{Daily_MACD,dy1 - dy2}

set{Weekly_and_Daily_MACD,Weekly_MACD + Daily_MACD}

draw Weekly_and_Daily_MACD
draw Weekly_MACD on plot Weekly_and_Daily_MACD
draw Weekly_and_Daily_MACD line at 0

chart-time 1 year
]



Filter Exchange · Weekly Reversal Strategy
xarlor
msg #154338
10/15/2020 2:45:13 PM

xarlor,

Did you really mean to set weekly exit like this

set{exit,count(close crossed below ema(10),1)}
exit > -1


Yes, I meant the weekly exit to be the close crossing below EMA(10). That's what the author alludes to as an exit, though it is not explicitly stated in the video. He may have slightly different criteria, but it definitely seems to be based on price crossing EMA(10) in some fashion.

I tried playing around with Parabolic SAR after your post. It performed worse than the EMA(10) exit, at least on the default setting and a few other settings I tried.

Filter Exchange · Weekly Reversal Strategy
xarlor
msg #154325
modified
10/14/2020 2:49:02 PM

I banged out two filters for this strategy. One was using Steven Cawiezell's rules to the letter[1]. This should be run after the close on Fridays only and is part of the author's core reasoning why it works.

The second is adapting it to a daily swing trading strategy[2]. One entry rule I added is the ticker must be trending up. I also modified the exit rule to: close crosses above Upper BB for profit, or below Lower BB as a stop-loss.

[1] Note Steven Cawiezell uses the MA(50) of volume as his above-average volume indicator.
[2] Daily strategy may not be viable as the author states the weekly reversal works on two main principles. One, institutions shaking out weak (retail) hands and two, those same institutions building their positions over a course of the next several months.

Fetcher[
/* https://members.thetradersplan.com/income-video */
/* Weekly chart run only after close on Friday
Must have low < prior 3 low
Close > close 1 week ago
Above Average Volume
Enter at the open on Monday
Exit when close crosses below EMA(10)
*/

set{undercut1,count(low < low 1 week ago,1)}
set{undercut2,count(low < low 2 weeks ago,1)}
set{undercut3,count(low < low 3 weeks ago,1)}
set{green,count(close > close 1 week ago,1)}
set{volma,cma(volume,50)}
set{aav,count(volume > volma,1)}

set{long1,undercut1 * undercut2}
set{long2,long1 * undercut3}
set{long3,long2 * green}
set{long,long3 * aav}

long > 0
set{exit,count(close crossed below ema(10),1)}
exit > -1

add column undercut1
add column undercut2
add column undercut3
add column green
add column aav

chart-display weekly
chart-time 1 year
]



Fetcher[
/* https://members.thetradersplan.com/income-video */
/* Modified daily strategy by Xarlor
Must have low < prior 3 low
Close > close 1 week ago
Above Average Volume
Enter at the open next day
Exit when close crosses above Upper BB or below Lower BB
*/

optionable
close > wma(150) for last 100 days

set{undercut1,count(low < low 1 day ago,1)}
set{undercut2,count(low < low 2 days ago,1)}
set{undercut3,count(low < low 3 days ago,1)}
set{green,count(close > close 1 day ago,1)}
set{volma,cma(volume,50)}
set{aav,count(volume > volma,1)}

set{long1,undercut1 * undercut2}
set{long2,long1 * undercut3}
set{long3,long2 * green}
set{long,long3 * aav}

long > 0

set{exit1,count(close crossed above Upper Bollinger Band(20,2),1)}
set{exit2,count(close crossed below Lower Bollinger Band(20,2),1)}
set{exit,exit1 + exit2}
exit > -1
draw ema(10)

add column undercut1
add column undercut2
add column undercut3
add column green
add column aav
]



Filter Exchange · Filter to find IPOs
xarlor
msg #154318
10/14/2020 11:07:42 AM

This isn't necessarily an IPO filter, but more of a "New ticker in the market" filter. It could include new ETF tickers, new tickers after a merger of two companies, IPOs, etc.

Fetcher[
volume 100 days ago equals 0 for last 100 days
close > 1

chart-time is 105 days
]



Stock Picks and Trading · SPY at apex
xarlor
msg #154299
10/12/2020 5:51:57 PM

FAANGT RSI says the bull is officially back on as of today.
ChopZone shows confirmation too.

Fetcher[
/*
Exit the market when the Weighted FAANGT market cap RSI(14) crosses below 50.
Hold off on making trades when in the no_touchie zone.
Reenter the market when it crosses back above 60.
*/

symlist(SPY)

set{soFB,ind(FB,shares outstanding)}
set{clFB,ind(FB,close)}
set{mcFB,soFB * clFB}

set{soAAPL,ind(AAPL,shares outstanding)}
set{clAAPL,ind(AAPL,close)}
set{mcAAPL,soAAPL * clAAPL}

set{soAMZN,ind(AMZN,shares outstanding)}
set{clAMZN,ind(AMZN,close)}
set{mcAMZN,soAMZN * clAMZN}

set{soNFLX,ind(NFLX,shares outstanding)}
set{clNFLX,ind(NFLX,close)}
set{mcNFLX,soNFLX * clNFLX}

set{soGOOG,ind(GOOG,shares outstanding)}
set{clGOOG,ind(GOOG,close)}
set{mcGOOG,soGOOG * clGOOG}

set{soTSLA,ind(TSLA,shares outstanding)}
set{clTSLA,ind(TSLA,close)}
set{mcTSLA,soTSLA * clTSLA}

set{market_cap, shares outstanding * close}


set{wmc1,mcfb + mcaapl}
set{wmc2,wmc1 + mcamzn}
set{wmc3,wmc2 + mcNFLX}
set{wmc4,wmc3 + mcGOOG}
set{wmc5,wmc4 + mcTSLA}
set{wmc,wmc5 / 6}

set{wmcRSI,CRSI(wmc, 14)}
draw wmcRSI line at 50
draw wmcRSI line at 60

add column mcFB {FB Market Cap}
add column mcAAPL {AAPL Market Cap}
add column mcAMZN {AMZN Market Cap}
add column mcNFLX {NFLX Market Cap}
add column mcGOOG {GOOG Market Cap}
add column mcTSLA {TSLA Market Cap}

set{buy,count(wmcRSI above 60,1)}
set{no_touchie,count(wmcRSI between 50 and 59,1)}
set{sell,count(wmcRSI below 50,1)}

draw buy
draw no_touchie
draw sell

add column wmc {Weighted FAANGT Market Cap}
chart-time 1 year
]



Fetcher[
symlist(SPY)

set{hlc3a,high + low}
set{hlc3b,hlc3a + close}
set{hlc3,hlc3b / 3}

set{number1,1}
set{pi,atan(number1) * 4}

set{h30,high 30-day high}
set{l30,low 30-day low}
set{range1,h30 - l30}
set{range2,range1 * l30}
set{range,25 / range2}

set{x1_ema34,0}
set{x2_ema34,1}
set{y1_ema34,0}
set{y2a,ema(34) 1 day ago - ema(34)}
set{y2b,hlc3 * range}
set{y2_ema34,y2a / y2b}

set{c1a,x2_ema34 - x1_ema34}
set{c1b,x2_ema34 - x1_ema34}
set{c1c,y2_ema34 - y1_ema34}
set{c1d,y2_ema34 - y1_ema34}
set{c1e,c1a * c1b}
set{c1f,c1c * c1d}
set{c1g,c1e + c1f}
set{c_ema34,sqrt(c1g)}

set{emaAngle1,x2_ema34 - x1_ema34}
set{emaAngle2,emaAngle1 / c_ema34}
set{emaAngle3,emaAngle2 / pi}
set{emaAngle4,acos(emaAngle3)}
set{emaAngle5,180 * emaAngle4}
set{emaAngle_1,round(emaAngle5)}

set{emaAngle6,count(y2_ema34 > 0,1)}
set{emaAngle7,count(y2_ema34 < 0,1)}
set{emaAngle8,emaAngle7 - emaAngle6}
set{emaAngle,emaAngle8 * emaAngle_1}

set{LONG,count(emaAngle > 5,1)}
set{SHORT,count(emaAngle < -5,1)}

LONG > -1
SHORT > -1
]



Stock Picks and Trading · Random musings of a Virgin(wanna be)Trader
xarlor
msg #154298
10/12/2020 5:41:21 PM

what indicator is your "fave" that produces consistent outcomes for you?

For swing trading stocks, I'm partial to Larry Connors' systems. His books are a good read and the systems are highly mechanical. Takes emotion and guesswork out of trading. Enter when signals flash, exit when signals flash.

Swing Trading with Larry Connors

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

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


This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.