StockFetcher Forums · General Discussion · Back testing help using % variable<< >>Post Follow-up
rnr123
16 posts
msg #58617
Ignore rnr123
12/30/2007 11:11:15 AM

I would like to enter a position only if it drops more than 10% from yesterday close.
I want my entry price in the back testing to be (Close 1 day ago - 10%)
Example if close 1 day ago = 10 the entry price would be 9.
I want also RSI(10) from 1 day ago to be below 30 for last 5 days and close > 10 and average volume (30) > 150000

Thanks,

RNR


nikoschopen
2,824 posts
msg #58619
Ignore nikoschopen
12/30/2007 4:03:41 PM

rnr123,

Have you read the "User Guide" or browsed through the Indicators and Measures yet? No offense, but these are pretty basic stuff.



I would like to enter a position only if it drops more than 10% from yesterday close.

Read here about "Dropped or Gained": http://forums.stockfetcher.com/sfforums/?q=view&fid=1007&tid=24006&qrid=

I want also RSI(10) from 1 day ago to be below 30 for last 5 days and close > 10 and average volume (30) > 150000

Read here about "Relative Strength Indicator (RSI)": http://forums.stockfetcher.com/sfforums/?q=view&fid=1006&tid=25015&qrid=
Read here about "Average Volume": http://forums.stockfetcher.com/sfforums/?q=view&fid=1006&tid=25001&qrid=

rnr123
16 posts
msg #58621
Ignore rnr123
modified
12/30/2007 7:43:37 PM

Thanks Niko

welliott111
98 posts
msg #58625
Ignore welliott111
12/30/2007 10:45:42 PM

Check your 'tude at the door mr123. Better get some thick skin if you want to learn here. But you will learn.

guru_trader
485 posts
msg #58651
Ignore guru_trader
modified
1/1/2008 7:52:22 AM

To return more stocks adjust your date offset and/or your 10% requirement. Define your "entry price" criteria in the backtester.

Fetcher[
and close > 10
and avgvol(30) > 150000

and rsi(10) one day ago below 30
and rsi(10) two days ago below 30
and rsi(10) three days ago below 30
and rsi(10) four days ago below 30
and rsi(10) five days ago below 30
and draw rsi(10)

and set{close_diff,close - close 1 day ago}
and add column close_diff
and set{tmp_close_diff_pct,close_diff / close 1 day ago}
and set{close_diff_pct,tmp_close_diff_pct * 100}
and add column close_diff_pct

and sort column 6 descending

and close_diff_pct > 10

and date offset 0
]



StockFetcher Forums · General Discussion · Back testing help using % variable<< >>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 2016 - 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