StockFetcher Forums · General Discussion · Assistance Requested<< 1 2 >>Post Follow-up
shillllihs
6,047 posts
msg #150566
Ignore shillllihs
1/29/2020 10:36:49 AM

How do you make those little red bars thingys for Obv(21)
You know, to get in and get out? So much appreciated.


xarlor
587 posts
msg #150572
Ignore xarlor
modified
1/29/2020 1:12:39 PM

Here is a simple example using the Golden Cross. Note the Golden Cross is a pretty lousy way to trade.

Fetcher[
/* Enter when ma(50) crossed above ma(200). Exit when crosses below */
chart-time is 2 years

set{BUY,count(ma(50) crosses above ma(200),1)}
set{SELL,count(ma(50) crosses below ma(200),1)}

buy > -1
sell > -1

draw ma(50)
draw ma(200)
]



shillllihs
6,047 posts
msg #150573
Ignore shillllihs
modified
1/29/2020 1:50:54 PM

Darn X, I came close but still not plotting like I like.
I want to enter and exit when OBV crosses above OBV(21) and I also like the thicker red bars.
Can you or anyone else make this happen, it's worth it.

spauken
47 posts
msg #150576
Ignore spauken
1/29/2020 3:15:02 PM

shills: try this one out.
Fetcher[apply to symlist(dia,spy,qqq)

Set{Abov, count(obv(21) is above average obv(21),1)}
Draw Abov
Set{Belw, count(obv(21) is below average obv(21),1)}
Draw Belw

draw OBV(21)
draw Average OBV(21)

sort column 1 ascending

chart-length is 3 months
]



shillllihs
6,047 posts
msg #150579
Ignore shillllihs
1/29/2020 3:24:48 PM

That is it, you both are blessed.

Now play around with the numbers till you fit in nicely and layer another indicator on it to remove some misdirections and in my opinion, you have the most powerful filter in the world.

spauken
47 posts
msg #150580
Ignore spauken
1/29/2020 3:27:15 PM

Here's another version to iron out some noise.
Fetcher[apply to symlist(dia,spy,qqq)

Set{Abov, count(average obv(5) is above average obv(25),1)}
Draw Abov
Set{Belw, count(average obv(5) is below average obv(25),1)}
Draw Belw

sort column 1 ascending

chart-length is 12 months
]



shillllihs
6,047 posts
msg #150581
Ignore shillllihs
1/29/2020 3:39:06 PM

I remember a few years ago thinking OBV was pretty great then I got away from it.
So much potential. I'd like to see how much you guys can optimize it. Post it here.

KSK8
561 posts
msg #150583
Ignore KSK8
1/29/2020 4:36:21 PM

We are in a bull market. Not to disparage the filter but the results will look good regardless. What really matters is if it can sustain a bear rally.

shillllihs
6,047 posts
msg #150584
Ignore shillllihs
modified
1/29/2020 4:56:33 PM

Can someone with the means please backtest this or a few variations of it in the heart of the recession?

Can someone also backtest the bull run for return and all the goodies, thanx.


shillllihs
6,047 posts
msg #150586
Ignore shillllihs
1/29/2020 5:00:51 PM

I guess you purposely missed how wonderfully this catches the down dips with a little more optimization in the bull market.

StockFetcher Forums · General Discussion · Assistance Requested<< 1 2 >>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.