StockFetcher Forums · Filter Exchange · TRADING DIVERGENCES ON THE S&P 500<< 1 ... 2 3 4 5 6 ... 33 >>Post Follow-up
mahkoh
1,065 posts
msg #108454
Ignore mahkoh
10/21/2012 4:42:41 AM

I have noticed the qst filter to generally trigger as one of the first over the last half year, and usually there were better entry points after that.

Kevin_in_GA
4,599 posts
msg #108455
Ignore Kevin_in_GA
10/21/2012 9:03:14 AM

@TARUN: They are all listed on the first post in this thread.

@MAHKOH: Looking at the Maximum Adverse Excursion for this filter (basically the drawdown seen for each trade) most of the qst trades see less than a 1% DD. Many see less than a 0.5% drawdown - not sure that wating for a better entry is the best option here unless you are using tight limit positions, like 0.5% below the closing value on the day of the trigger.

frsrblch
35 posts
msg #108465
Ignore frsrblch
10/22/2012 11:27:29 AM

In on SPY this morning at 143.20 based on the entry signals from last Friday.

Kevin_in_GA
4,599 posts
msg #108466
Ignore Kevin_in_GA
10/22/2012 12:59:40 PM

I have been getting a lot of requests for the Stratasearch code for these filters, and thought it might be easiest just to post the code here for everyone to have. I did include the entry code for each filter in the first post on this thread, but I noticed I did not post the common exit code. So here you go ...

CMF Divergence filter

Entry
(diverge(cmf(14), mov(close, 3, simple), 2, 7) = -1)

Exit
close = high(close, 10) and proc(close, 15) <> high(proc(close, 15), 10)

SMI Divergence filter

Entry
(diverge(smi(3, 6, 6), mov(close, 3, simple), 7, 11) = -1)

Exit
close = high(close, 10) and proc(close, 15) <> high(proc(close, 15), 10)

William's %R Divergence filter

Entry
(diverge(wlr(14), mov(close, 3, simple), 1, 12) = -1)

Exit
close = high(close, 10) and proc(close, 15) <> high(proc(close, 15), 10)

PDI (+DI) Divergence filter

Entry
(diverge(pdi(10), mov(close, 3, simple), 10, 8) = -1)

Exit
close = high(close, 10) and proc(close, 15) <> high(proc(close, 15), 10)

Aroon Up Divergence filter

Entry
(diverge(aroonu(6), mov(close, 3, simple), 4, 4) = -1)

Exit
close = high(close, 10) and proc(close, 15) <> high(proc(close, 15), 10)

Linear Regression Slope Divergence Indicator

Entry
(diverge(lrs(close,8), mov(close, 3, simple), 10, 10) = -1)

Exit
close = high(close, 10) and proc(close, 15) <> high(proc(close, 15), 10)

Q-Stick Divergence filter

Entry
(diverge(qst(12), mov(close, 3, simple), 2, 12) = -1)

Exit
close = high(close, 10) and proc(close, 15) <> high(proc(close, 15), 10)

RSI Divergence filter

Entry
(diverge(rsi(10), mov(close, 3, simple), 3, 12) = -1)

Exit
close = high(close, 10) and proc(close, 15) <> high(proc(close, 15), 10)

RMI Divergence filter

Entry
(diverge(rmi(8, 2), mov(close, 3, simple), 1, 12) = -1)

Exit
close = high(close, 10) and proc(close, 15) <> high(proc(close, 15), 10)

Stochastic %D Divergence filter

Entry
(diverge(stochd(3, 2, 5, simple), mov(close, 3, simple), 2, 11) = -1)

Exit
close = high(close, 10) and proc(close, 15) <> high(proc(close, 15), 10)



canl925
2 posts
msg #108468
Ignore canl925
10/22/2012 1:56:47 PM

Thank you for the code and all your contributions Kevin.
Chris

jackmack
334 posts
msg #108618
Ignore jackmack
10/30/2012 7:43:54 AM

Kevin
Have you ever thought of trying to make one "super filter" combining the Stoch Indicator or the Stoch momentum indicator listed in this thread with your SSO/SDS Stoch filter to see if entry and exits were improved (or diminished) any by combining?
Just thought about it while re-reading the threads and just though I'd ask.
Thank you


Kevin_in_GA
4,599 posts
msg #108619
Ignore Kevin_in_GA
10/30/2012 8:39:38 AM

@jackmack: Not sure that I could get much better stats than what these are aready showing. By combining filters you will reduce the total number of trades. Given the high win percentage and positive expectancy seen in these I want to go the opposite direction and get as many more trades like these as possible.



jackmack
334 posts
msg #108620
Ignore jackmack
10/30/2012 9:25:33 AM

Got it - was just wondering.
Thank you
Cheers

bramdc
6 posts
msg #108642
Ignore bramdc
11/1/2012 5:07:40 AM

Hi Kevin, I was wondering whether you found already the time to run divergences to create short positions instead of long, should be even more profitable as moves down can speed up fast,
best, bramdc.

Kevin_in_GA
4,599 posts
msg #108644
Ignore Kevin_in_GA
11/1/2012 8:26:37 AM

I did run a similar set of divergence optimizations for short plays on the ^SPX. None of the systems returned many trades (like 5 a year was among the highest). Even if they make more money per trade, alone these would not be good systems since the trades are too infrequent and almost always ran for more than a month.



StockFetcher Forums · Filter Exchange · TRADING DIVERGENCES ON THE S&P 500<< 1 ... 2 3 4 5 6 ... 33 >>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.