StockFetcher Forums · Filter Exchange · MY XIV TRADING SYSTEM USING STRATASEARCH FILTERS<< 1 ... 21 22 23 24 25 ... 40 >>Post Follow-up
Kevin_in_GA
4,599 posts
msg #140220
Ignore Kevin_in_GA
12/19/2017 10:29:48 AM

Not really. This requires the filter to know the entry price. SF does not retain this type of data (although it should).

You might be able to add the entry price as a set statement (using the date() function) and then set a trigger at that value * 0.95?

graftonian
1,089 posts
msg #140222
Ignore graftonian
12/19/2017 11:10:07 AM

After I pressed the enter key, I knew that was a dumb question.
Here is my attempt at Filter 1

Fetcher[
/*********XIV 1 ***********/
symlist(XIV, UPRO, TQQQ, NUGT, JNUG)
add column ROC(10,1)
sort on column 5 descending
CHART-TIME IS 1 YEAR

/***Projection Oscillator(8)***/
SET{VAR1_UP, COUNT(Projection Oscillator(8) GAINED MORE THAN 7% OVER THE LAST 11 DAYS,1)}
SET{VAR1_DN, COUNT(Projection Oscillator(8) DROPPED MORE THAN 7% OVER THE LAST 11 DAYS,1)}

SET{VAR2_UP, COUNT(MA(3) GAINED MORE THAN 7% OVER THE LAST 11 DAYS,1)}
SET{VAR2_DN, COUNT(MA(3) DROPPED MORE THAN 7% OVER THE LAST 11 DAYS,1)}

SET{POS_DIV, VAR1_UP * VAR2_DN}
SET{NEG_DIV1, VAR1_DN * VAR2_DN}
SET{NEG_DIV, NEG_DIV1 * -1}
SET{ENTRY1, COUNT(POS_DIV EQUALS 1, 1)}
SET{TRIGGER, ENTRY1}
DRAW TRIGGER

/***MACD()***/
SET{MACD_CEMA, CEMA(MACD(), 17)}
SET{EXIT1, COUNT(MACD() CROSSED ABOVE MACD_CEMA, 1)}
DRAW EXIT1

/***
A 5% stoploss is part of this signal, but how does one code that?
***/

]



nibor100
1,096 posts
msg #140234
Ignore nibor100
12/19/2017 3:19:16 PM

@graftonian,

I've been working on Kevin filter #10, which I will post when finished with comparative testing of SF results vs. SS data.

Thanks,
Ed S.

graftonian
1,089 posts
msg #140236
Ignore graftonian
12/19/2017 3:31:39 PM

roger that, Nibor.
#11 was to easy, I must be missing something.

Fetcher[
/*********XIV 11 ***********/
symlist(XIV, UPRO, TQQQ, NUGT, JNUG)
add column ROC(10,1)
sort on column 5 descending
CHART-TIME IS 1 YEAR
/* PRICE CHANNEL */
SET{PCH17, CMA(HIGH,17)}
SET{PCL17, CMA(LOW,17)}
SET{ENTRY1, COUNT(CLOSE < PCL17,1)}

DRAW PCH17 ON PLOT PRICE
DRAW PCL17 ON PLOT PRICE

SET{PC_DIF, PCH17 - PCL17}
SET{PC_AVG, CMA(PC_DIF,17)}
SET{ENTRY2, COUNT(PC_DIF > PC_AVG,1)}

SET{TRIG1, ENTRY1 + ENTRY2}
SET{TRIGGER, COUNT(TRIG1 EQUALS 2,1)}
DRAW TRIGGER

/**** EXIT ***/
SET{EXIT, COUNT(Stochastic %D(13,2,3) CROSSED BELOW 79, 1)}
DRAW EXIT

]



Kevin_in_GA
4,599 posts
msg #140247
Ignore Kevin_in_GA
12/20/2017 8:05:47 AM

My signal email from last night - 2 new BUY signals:

SideActionPFOrderTypeProductSymbolNameBuyDateBuyPriceClosePriceGainLossSystem Name
LongBuy10MarketStockXIVXIV 134.81 XIV MULTISYSTEM #20
LongBuy10MarketStockXIVXIV 134.81 XIV MULTISYSTEM #35
LongHold10 StockXIVXIV12/19/2017135.5134.81-0.51%XIV MULTISYSTEM #33
LongHold10 StockXIVXIV12/18/2017135.17134.81-0.27%XIV MULTISYSTEM #40
LongHold10 StockXIVXIV12/5/2017116.7134.8115.52%XIV MULTISYSTEM #23
LongHold10 StockXIVXIV12/18/2017135.17134.81-0.27%XIV MULTISYSTEM #6


Kevin_in_GA
4,599 posts
msg #140313
Ignore Kevin_in_GA
12/22/2017 9:06:33 AM

New signals for today - I noticed that for some reason the signal for 12/19 (#33) is not showing up. Not sure why.

LongBuy10MarketStockXIVXIV 136.09 XIV MULTISYSTEM #32
LongHold10 StockXIVXIV12/5/2017116.7136.0916.62%XIV MULTISYSTEM #23
LongHold10 StockXIVXIV12/18/2017135.17136.090.68%XIV MULTISYSTEM #40
LongHold10 StockXIVXIV12/20/2017137.04136.09-0.69%XIV MULTISYSTEM #35
LongHold10 StockXIVXIV12/20/2017137.04136.09-0.69%XIV MULTISYSTEM #20
LongHold10 StockXIVXIV12/18/2017135.17136.090.68%XIV MULTISYSTEM #6


mahkoh
1,065 posts
msg #140341
Ignore mahkoh
modified
12/23/2017 6:05:11 AM

I have noticed that it is not uncommon for Yahoo to have a way off price (usually the open) and to correct that in the next couple of days.

Looking forward to following your new thread. You state that it is a problem to use SS for weekly data. I agree that transposing all formulas into weekly would indeed be a pain. But how about going the oppsite way, importing weekly prices as an ASCI file and run the regular formulas against that data?

Kevin_in_GA
4,599 posts
msg #140343
Ignore Kevin_in_GA
12/23/2017 7:53:50 AM

That would work. I haven’t tried it yet but I have found with combined long and short systems SS tends to give you win rates that are in the 70/80% range over longer time frames. Certainly good but not at the level I’m seeing with the NN systems.

Maybe a contest to see who can produce the best XIV long and short system from 2011-2017 using either daily or weekly data?

mahkoh
1,065 posts
msg #140364
Ignore mahkoh
12/24/2017 6:56:24 AM

As you already have a complete system for XIV, shall we do GDX? If the neural networks are about spotting a pattern and expecting this pattern to continue; well, in hindsight even I could have spotted the pattern in XIV over the last 2 years. The GDX chart however is a different animal and might just prove to be a challenge for Neuromaster. I know it is a challenge for SS as I have tried several but have yet to find strategies that are consistent going forward.

I have purchased the software as well by the way, after all the PS4 I'm getting my son for X-mas is more expensive and of that I'm sure it will not pay for itself. As I understand support is pretty much nonexistent so you'll probably be hearing from me when I encounter issues..

GDX data starts in May 2006, that's 11 years or 570 bars. Roughly the same as a 2 year backtest when based on daily data. Currently, after 8000 runs I'm looking at 86 % profitability and 6% annual return on a portfolio size of 10.

Kevin_in_GA
4,599 posts
msg #140369
Ignore Kevin_in_GA
12/24/2017 4:44:55 PM

HOW ABOUT THIS?

Image and video hosting by TinyPic

Weekly data used (I did three separate OneClick runs and combined them). Portfolio of 10 returns 21.78% per year, annualized Sharpe ratio is a ridiculously high 4.22. Win percentage is not astounding (73%). Total number of trades is 296 (about 50/50 long and short).

StockFetcher Forums · Filter Exchange · MY XIV TRADING SYSTEM USING STRATASEARCH FILTERS<< 1 ... 21 22 23 24 25 ... 40 >>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.