StockFetcher Forums · View by Author: (56 messages)  [ Display By: Date / Subject ]<< 1 2 3 4 5 ... 6 >> 
General Discussion · What's the hype on VWAP all about?
styliten
msg #154684
modified
11/19/2020 8:34:47 PM

@ fotchstecker Thank you for your input.

I guess my question is that when I ran a sample code to test out VWAP, I really didn't see that much difference or benefits with vs without volume consideration:

Fetcher[dow 30

chart-time is 20 days

draw ema envelope(9, 0.05)

draw cema(clri(close multiply by volume, 5) divided by clri(volume, 5), 9) on plot price
]



Only in IBM's case did I saw a 1 day difference in timing, everywhere else timing signals seemed to have been almost identical between the simple EMA(9) and VWAP(9).

Did I misinterpret the power of or the formula for VWAP?

General Discussion · What's the hype on VWAP all about?
styliten
msg #154646
11/17/2020 12:53:18 PM

Is it really that good? Does SF have an equivalent to that?

Introducing Anchored VWAP in StockChartsACP | Brian Shannon, CMT

Any one? Please shed some light.

General Discussion · Why I am a fan of the Hull Moving Averages
styliten
msg #154523
11/1/2020 9:01:30 PM

Just a thought:

Drawing hma25 vs hma50 vs the inverse of hma25 about hma50:

Fetcher[dow 30
chart-time is 30 days

/******HULL25MA**********/
set{slow1a, cwma(close, 12)}
set{slow1b, 2 * slow1a}
set{slow1c, cwma(close, 25)}
set{val1, slow1b - slow1c}
set{hma25, cwma(val1, 5)}
DRAW hma25 ON PLOT PRICE

/******HULL50MA**********/
set{slow2a, cwma(close, 25)}
set{slow2b, 2 * slow2a}
set{slow2c, cwma(close, 50)}
set{val2, slow2b - slow2c}
set{hma50, cwma(val2, 7)}
DRAW hma50 ON PLOT PRICE

draw cema(hma25 multiply by 2, 1) minus hma50 on plot price
]



Hopefully the 3 lines together give better indication of timing.

General Discussion · A very unexpected use of Donchian Center & Lower Bands
styliten
msg #154393
modified
10/20/2020 3:59:08 PM

@ Cheese,

Here is another twist. It seems that day position indicator, when used strategically, can be that perfect intermediary/go between of a shorter and a longer linear regression intercepts.

For example:

Fetcher[dow 30

chart-time is 30 days

/* set up Day Position(0.5, 8) -- the inner core is DP(0.5, 8), in RED */

/* Plz note, when trending one way or another, these outer layers of CEMAS are PARALLEL to the red line */
/*when trend reverses/shifts, the outer layers crisscross each other, creating a more messy picture that can take some time to get used to. */

/* The outermost layer appears somewhat thicker and heavier than the ones in between, which is a very nice visual aid to have. */

set{dp81, day position(0.4920, 8)}
set{dp82, day position(0.4940, 8)}
set{dp83, day position(0.4960, 8)}
set{dp84, day position(0.4980, 8)}
set{dp85, day position(0.5000, 8)}
set{dp86, day position(0.5020, 8)}
set{dp87, day position(0.5040, 8)}
set{dp88, day position(0.5060, 8)}
set{dp89, day position(0.5080, 8)}

and draw cema(cema(cema(cema(clri(dp81, 8), 6), 6), 6), 6) on plot price
and draw cema(cema(cema(cema(clri(dp82, 8), 6), 6), 6), 6) on plot price
and draw cema(cema(cema(cema(clri(dp83, 8), 6), 6), 6), 6) on plot price
and draw cema(cema(cema(cema(clri(dp84, 8), 6), 6), 6), 6) on plot price
and draw cema(cema(cema(cema(clri(dp85, 8), 6), 6), 6), 6) on plot price
and draw cema(cema(cema(cema(clri(dp86, 8), 6), 6), 6), 6) on plot price
and draw cema(cema(cema(cema(clri(dp87, 8), 6), 6), 6), 6) on plot price
and draw cema(cema(cema(cema(clri(dp88, 8), 6), 6), 6), 6) on plot price
and draw cema(cema(cema(cema(clri(dp89, 8), 6), 6), 6), 6) on plot price

/* shows up on chart as green band */

and draw Center Standard Error Band(6,0.20)
and draw Center Standard Error Band(6,0.18)
and draw Center Standard Error Band(6,0.16)
and draw Center Standard Error Band(6,0.14)
and draw Center Standard Error Band(6,0.12)
and draw Center Standard Error Band(6,0.10)
and draw Center Standard Error Band(6,0.08)
and draw Center Standard Error Band(6,0.06)
and draw Center Standard Error Band(6,0.04)

/* shows up on chart as purple band */

and draw Center Standard Error Band(50,0.04)
and draw Center Standard Error Band(50,0.03)
and draw Center Standard Error Band(50,0.02)
and draw Center Standard Error Band(50,0.015)
and draw Center Standard Error Band(50,0.01)
]



The 2 Linear Regression bands are placed at the very end only because they then would not appear in the legend area, thus maximizing viewable chart area. If you bothered to rearrange and put them at the very top/beginning of the code, the viewable chart area shrinks due to legend taking up way too much space. Together, the various levels of cemas of Day Position(0.5, 8) serve as support/resistance line groups and this is highly useful when LRI(6) is far away from LRI(50) so that the white space in between are 'mapped' out with meaningful support/resistance lines in between.

Also, unlike MA(20), MA(50) or MA(200), the embedded cemas of Day Position(0.5, 8) never really diverge that much from the underlaying price. So its primary purpose is to show better or even exact timing of potential trade while it may or may not compete successfully with longer term MAs to show bigger trend.

General Discussion · A very unexpected use of Donchian Center & Lower Bands
styliten
msg #154350
modified
10/17/2020 3:36:32 AM

See for yourself.

Fetcher[dow 30

chart-time is 40 days

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



The above pretty much has all the information one needs to make educated guesses in real time!

(PS, SF's chart legend stopped working on this one when Donchian Band is embedded within CLRI.)

Feedback is welcome, as always.

Filter Exchange · Is this filter useful to anyone
styliten
msg #154343
modified
10/16/2020 1:12:00 PM

These crossovers show potential good timing for entry/re-entry points. Just a thought.

Fetcher[Dow 30

chart-time is 20 days

set{l3_cma, cma(clri(close, 3) minus clri(r1 1 day ago, 3), 8)}
set{clri5, l3_cma divided by 5}
set{clri6, l3_cma divided by 6}
set{clri7, l3_cma divided by 7}
set{clri8, l3_cma divided by 8}
set{clri9, l3_cma divided by 9}
set{clri10, l3_cma divided by 10}
set{clri11, l3_cma divided by 11}
set{clri12, l3_cma divided by 12}

and draw clri(close, 3) minus clri(r1 1 day ago, 3) on plot l3_cma
and draw l3_cma line at 0
and draw l3_cma line at clri5
and draw l3_cma line at clri6
and draw l3_cma line at clri7
and draw l3_cma line at clri8
and draw l3_cma line at clri9
and draw l3_cma line at clri10
and draw l3_cma line at clri11
and draw l3_cma line at clri12

and draw l3_cma line at clri5 multiply by -1
and draw l3_cma line at clri6 multiply by -1
and draw l3_cma line at clri7 multiply by -1
and draw l3_cma line at clri8 multiply by -1
and draw l3_cma line at clri9 multiply by -1
and draw l3_cma line at clri10 multiply by -1
and draw l3_cma line at clri11 multiply by -1
and draw l3_cma line at clri12 multiply by -1

set{t5_cma, cma(tsf(close, 5) minus tsf(r1 1 day ago, 5), 8)}
set{tsf5, t5_cma divided by 5}
set{tsf6, t5_cma divided by 6}
set{tsf7, t5_cma divided by 7}
set{tsf8, t5_cma divided by 8}
set{tsf9, t5_cma divided by 9}
set{tsf10, t5_cma divided by 10}
set{tsf11, t5_cma divided by 11}
set{tsf12, t5_cma divided by 12}

and draw tsf(close, 5) minus tsf(r1 1 day ago, 5) on plot t5_cma
and draw t5_cma line at 0
and draw t5_cma line at tsf5
and draw t5_cma line at tsf6
and draw t5_cma line at tsf7
and draw t5_cma line at tsf8
and draw t5_cma line at tsf9
and draw t5_cma line at tsf10
and draw t5_cma line at tsf11
and draw t5_cma line at tsf12

and draw t5_cma line at tsf5 multiply by -1
and draw t5_cma line at tsf6 multiply by -1
and draw t5_cma line at tsf7 multiply by -1
and draw t5_cma line at tsf8 multiply by -1
and draw t5_cma line at tsf9 multiply by -1
and draw t5_cma line at tsf10 multiply by -1
and draw t5_cma line at tsf11 multiply by -1
and draw t5_cma line at tsf12 multiply by -1
]



Comments welcome!

Stock Picks and Trading · Today's movers
styliten
msg #154231
10/8/2020 11:47:00 AM

Thursday 10/8/2020:

DVAX,SELB,RIOT,EVFM,TEVA,TEF,NXTD,MTNB,AVDL,AMRX,AKBA,SIEN

General Discussion · If you could make ONE request for enhancement, what would that be?
styliten
msg #154199
modified
10/6/2020 1:43:20 PM

Fell in love with Center Standard Error Bands indicator:

https://www.stockfetcher.com/forums/Indicators/Standard-Error-Bands/96315

This is in fact the LRI envelope that Kevin lamented about lacking:

https://www.stockfetcher.com/forums/Filter-Exchange/Any-chance-of-seeing-a-LRI-Envelope/108033/-1/108037

It is, after all, NOT lacking, but under a totally different name!

The only problem with Center Standard Error Bands at this time is that the MAXIMUM period allowed is 252, unlike LRI that allows maximum period of 300! According to some, the LRI(100) and LRI(300) have special importance in FX trading (on the hourly chart). This discrepancy between LRI and Center Standard Error Bands on Maximum period has been communicated to SF developers numerous times and at this very moment, they are taking another look and see if maximum period for Center Standard Error Bands can be easily upgraded to 300 as well.

If you like CSEB after reading this post, let's beg for Standard Error Band(300)! Have some mercy on us, please!

Sample Code:

Fetcher[Dow 30

Chart-time is 22 days

/* Draw CSEB(12, 25, 50, 100, 200 & 300) & Horizontal Price Lines on Price Plot */

and draw Center Standard Error Band(50, 0.08)
and draw Center Standard Error Band(50, 0.06)
and draw Center Standard Error Band(50, 0.04)

and draw Center Standard Error Band(25, 0.12)
and draw Center Standard Error Band(25, 0.09)
and draw Center Standard Error Band(25, 0.06)

and draw Center Standard Error Band(12, 0.15)
and draw Center Standard Error Band(12, 0.12)
and draw Center Standard Error Band(12, 0.08)

and draw Center Standard Error Band(100, 0.04)
and draw Center Standard Error Band(100, 0.03)
and draw Center Standard Error Band(100, 0.02)

and draw Center Standard Error Band(200, 0.02)
and draw Center Standard Error Band(200, 0.01)
and draw Center Standard Error Band(200, 0.005)

and draw lri(300) /* the ugly workaround for Center Standard Error Band (300) */
and draw lri(300) multiply by 1.0025 on plot price
and draw lri(300) multiply by 1.0012 on plot price
and draw lri(300) multiply by 0.9988 on plot price
and draw lri(300) multiply by 0.9975 on plot price

/*Draw horizontal price lines using Donchian Center/Upper/Lower Band (30,0) */

and draw price line at Donchian Center Band(30, 0)
and draw price line at Donchian Center Band(30, 0)
and draw price line at Donchian Center Band(30, 0) multiply by 0.9950
and draw price line at Donchian Center Band(30, 0) multiply by 0.9955
and draw price line at Donchian Center Band(30, 0) multiply by 0.9960
and draw price line at Donchian Center Band(30, 0) multiply by 0.9965
and draw price line at Donchian Center Band(30, 0) multiply by 0.9970
and draw price line at Donchian Center Band(30, 0) multiply by 0.9975
and draw price line at Donchian Center Band(30, 0) multiply by 0.9980
and draw price line at Donchian Center Band(30, 0) multiply by 0.9985
and draw price line at Donchian Center Band(30, 0) multiply by 0.9990
and draw price line at Donchian Center Band(30, 0) multiply by 0.9995
and draw price line at Donchian Center Band(30, 0) multiply by 1.0005
and draw price line at Donchian Center Band(30, 0) multiply by 1.0010
and draw price line at Donchian Center Band(30, 0) multiply by 1.0015
and draw price line at Donchian Center Band(30, 0) multiply by 1.0020
and draw price line at Donchian Center Band(30, 0) multiply by 1.0025
and draw price line at Donchian Center Band(30, 0) multiply by 1.0030
and draw price line at Donchian Center Band(30, 0) multiply by 1.0035
and draw price line at Donchian Center Band(30, 0) multiply by 1.0040
and draw price line at Donchian Center Band(30, 0) multiply by 1.0045
and draw price line at Donchian Center Band(30, 0) multiply by 1.0050

and draw price line at Donchian Upper Band(30, 0)
and draw price line at Donchian Upper Band(30, 0) multiply by 0.9985
and draw price line at Donchian Upper Band(30, 0) multiply by 0.9990
and draw price line at Donchian Upper Band(30, 0) multiply by 0.9995
and draw price line at Donchian Upper Band(30, 0) multiply by 1.0005
and draw price line at Donchian Upper Band(30, 0) multiply by 1.0010
and draw price line at Donchian Upper Band(30, 0) multiply by 1.0015

and draw price line at Donchian Lower Band(30, 0)
and draw price line at Donchian Lower Band(30, 0) multiply by 0.9985
and draw price line at Donchian Lower Band(30, 0) multiply by 0.9990
and draw price line at Donchian Lower Band(30, 0) multiply by 0.9995
and draw price line at Donchian Lower Band(30, 0) multiply by 1.0005
and draw price line at Donchian Lower Band(30, 0) multiply by 1.0010
and draw price line at Donchian Lower Band(30, 0) multiply by 1.0015
]



General Discussion · Does this drawing offer value to anyone
styliten
msg #154128
modified
9/25/2020 1:25:06 PM

@ Ed,

I picked 5 for illustration purposes, 8 may be just as good.

Also, here is some sample code based on Bollinger Band. Could you give me some feedback?

Fetcher[Dow 30

Chart-time is 20 days

and draw ma envelope (5, 0.10)
and draw ma envelope (5, 0.15)
and draw ma envelope (5, 0.20)
and draw ma envelope (5, 0.25)

and draw clri(upper Bollinger Band(5, 1.80), 5) on plot price
and draw clri(upper Bollinger Band(5, 1.85), 5) on plot price
and draw clri(upper Bollinger Band(5, 1.90), 5) on plot price
and draw clri(upper Bollinger Band(5, 1.95), 5) on plot price
and draw clri(upper Bollinger Band(5, 2.00), 5) on plot price
and draw clri(upper Bollinger Band(5, 2.05), 5) on plot price
and draw clri(upper Bollinger Band(5, 2.10), 5) on plot price
and draw clri(upper Bollinger Band(5, 2.15), 5) on plot price
and draw clri(upper Bollinger Band(5, 2.20), 5) on plot price
and draw clri(upper Bollinger Band(5, 2.25), 5) on plot price
and draw clri(upper Bollinger Band(5, 2.30), 5) on plot price

and draw clri(lower Bollinger Band(5, 1.80), 5) on plot price
and draw clri(lower Bollinger Band(5, 1.85), 5) on plot price
and draw clri(lower Bollinger Band(5, 1.90), 5) on plot price
and draw clri(lower Bollinger Band(5, 1.95), 5) on plot price
and draw clri(lower Bollinger Band(5, 2.00), 5) on plot price
and draw clri(lower Bollinger Band(5, 2.05), 5) on plot price
and draw clri(lower Bollinger Band(5, 2.10), 5) on plot price
and draw clri(lower Bollinger Band(5, 2.15), 5) on plot price
and draw clri(lower Bollinger Band(5, 2.20), 5) on plot price
and draw clri(lower Bollinger Band(5, 2.25), 5) on plot price
and draw clri(lower Bollinger Band(5, 2.30), 5) on plot price

and draw price line at Upper Bollinger Band(20, 1.4)
and draw price line at Upper Bollinger Band(20, 1.5)
and draw price line at Upper Bollinger Band(20, 3.0)
and draw price line at Upper Bollinger Band(20, 3.1)
and draw price line at Median Bollinger Band(20, 1.0)
and draw price line at Median Bollinger Band(20, 1.0) multiply by 0.995
and draw price line at Median Bollinger Band(20, 1.0) multiply by 0.996
and draw price line at Median Bollinger Band(20, 1.0) multiply by 0.997
and draw price line at Median Bollinger Band(20, 1.0) multiply by 0.998
and draw price line at Median Bollinger Band(20, 1.0) multiply by 0.999
and draw price line at Median Bollinger Band(20, 1.0) multiply by 1.001
and draw price line at Median Bollinger Band(20, 1.0) multiply by 1.002
and draw price line at Median Bollinger Band(20, 1.0) multiply by 1.003
and draw price line at Median Bollinger Band(20, 1.0) multiply by 1.004
and draw price line at Median Bollinger Band(20, 1.0) multiply by 1.005
and draw price line at Lower Bollinger Band(20, 1.4)
and draw price line at Lower Bollinger Band(20, 1.5)
and draw price line at Lower Bollinger Band(20, 3.0)
and draw price line at Lower Bollinger Band(20, 3.1)
]



General Discussion · Does this drawing offer value to anyone
styliten
msg #154110
modified
9/22/2020 11:44:51 AM

@ Ed,

Well, if you only draw ma(3) and ma(13) to any ticker, would these 2 lines, together with the candlesticks on the main price plot offer any clues on direction at all?

Now in addition to MA(3) and MA(13), I added a symmetrical line about MA(13) so that this new SL line could join MA(3) and form some kind of loop around MA(13). The loop could come in various sizes and shapes. Does this loop offer more visual clues than the original "half" loop between MA(3) and MA(13)?

Realizing that MA(3) itself may be too close to the candlesticks and thus often interfere with clue gathering, I decided to replicate this MA(3) loop, through extrapolation, a bit further away from the candlesticks to form a somewhat bigger loop. This bigger loop would still preserve much of the shape of the inner MA(3) loop ( shown below in the sample code). It's no different than circulating beltways around larger cities: I-2XX vs I-4xx vs I-6XX vs I-8XX, except in this case the bigger loop closely mimic the very shape of the MA(3) loop in the city core. And just like traveling through these major intersections, extra care and attention is needed as breakouts or fallouts tend to happen at a much greater rate right around the exits/entrances when loops cross over/below MA(13).

Here is the comparison between inner MA(3) loop vs outer Loop:

Fetcher[dow 30

chart-time is 20 days

draw ma envelope (13, 0.1)
draw ma envelope (13, 0.15)
draw ma envelope (13, 0.2)

draw ma(3)

draw cema(ma(13) multiply by 2, 1) minus ma(3) on plot price

set{a1, tsf(ma(3) multiply by 2, 5)}
set{a2, tsf(ma(3) multiply by 3, 5)}
set{a3, tsf(ma(13) multiply by 2, 5)}
set{a4, tsf(ma(13) multiply by 3, 5)}

draw a2 minus a3 on plot price
draw a4 minus a1 on plot price
]



The MA(13) envelope is city's Broadway (the city itself is infinitely long, but evolves around its Broadway). Loops are created so that travelers can easily visualize & ANTICIPATE possible exit and entrance points along the Broadway. This way, infinite cities are dissected into manageable segments and each segment can be glanced over quickly for potential trading opportunities.

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

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