StockFetcher Forums · General Discussion · XIV<< 1 ... 5 6 7 8 9 ... 22 >>Post Follow-up
sandjco
648 posts
msg #141105
Ignore sandjco
1/17/2018 9:52:50 PM

Hey Davesaint86...
Is there a way for the filter to spit out the result say...yesterday it was a "sell" but today it turned into a "buy"?

This way..only tickers with a buy signal shows up on the scan?

Thanks

shillllihs
6,102 posts
msg #141106
Ignore shillllihs
1/17/2018 9:55:48 PM

I think but can't be sure, that I've seen as many as 2 bars off on another etf and I definitely have seen bars change intraday. I'd be interested if there was a fix for this.

novacane32000
331 posts
msg #141107
Ignore novacane32000
1/17/2018 10:01:58 PM

Yes, I noticed the signals changing also. Dust signal had changed from shortposition to longposition when I ran it Sunday night .

Ran it again during the day Tuesday and the signal had changed to short and continues short today.



davesaint86
726 posts
msg #141108
Ignore davesaint86
1/17/2018 10:13:51 PM

I do not know if it is the Count function that is screwing the vertical bars up.

Mactheriverrat
3,178 posts
msg #141109
Ignore Mactheriverrat
modified
1/17/2018 11:05:55 PM

XIV -Not sure why the column on 1-12-18 is acting up. Column says long and long position / short position say sell.



Might even be a SF data bug.

Mactheriverrat
3,178 posts
msg #141113
Ignore Mactheriverrat
modified
1/18/2018 12:58:37 AM

Let me throw some code out here using Dave's code and some counting code from FOUR on XIV.

Submit
Submit
Fetcher[apply to symlist(XIV)

set{E3,dma(8,-5),8)-cma(DMA(8,-5),8) }
set{Longposition, count(E3 > 0,1)}
set{Shortposition, count(E3 < 0,1)}
SET{TRIGGER,0}
draw Longposition on plot
draw Shortposition on plot
draw dma(8,-5),8)
draw cma(DMA(8,-5),8)
/* LONGSHORT is number of consecutive days Longposition above (+)/below(-) previous Shortposition */
set{LONGSHORTb,days( Longposition is above Shortposition ,250)}
set{LONGSHORTa,days( Longposition is below Shortposition ,250)}
set{LONGxSHORT, LONGSHORTa - LONGSHORTb} and add column LONGxSHORT {LONG_x_SHORT}


draw ema(50)

]



Using the count code . Just how many times could one have got in and out of XIV.

Cheese
1,374 posts
msg #141114
Ignore Cheese
modified
1/18/2018 1:07:51 AM

For an explanation of DMA & its corresponding MA,
as well as a caution about why DMA should not be backtested

please refer to the 2006 posts by BFreshour and maxreturn
at the following link:

https://www.stockfetcher.com/sfforums/?mid=39945





shillllihs
6,102 posts
msg #141115
Ignore shillllihs
modified
1/18/2018 2:10:38 AM

Aww that was a good read. Their feuds makes ours look tame.
Looks like they didn't have spell check then either. Just kidding, my spelling is terrible.
When they were kings.
So did Riggs buy an island making 7k a day or what?
Bottom line is, I guess DMA is not magic but maybe gets you close to something potentially magical.


davesaint86
726 posts
msg #141117
Ignore davesaint86
modified
1/18/2018 7:10:48 AM

I'm updating this post. Just saw your response on the previous thread where you say you do not know what 1/12 is not showing being long. Thanks Mach - In the your filter you just post can you go to the backtest feature entere 2 days and go back to 1/12, It is showing a positive number of 40 under longx-short. If this is case, shouldn't the vertical bar for 1/12 be long and not short?

Thanks,
Dave

davesaint86
726 posts
msg #141118
Ignore davesaint86
1/18/2018 7:14:02 AM

What is funny whether the filter is screwed up or not, the prices on numerous charts that I have viewed are accurate This screwed up filter looks like it gets you in a little early and out a little early.

StockFetcher Forums · General Discussion · XIV<< 1 ... 5 6 7 8 9 ... 22 >>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 2026 - 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.