StockFetcher Forums · Filter Exchange · Assistance on Filter<< >>Post Follow-up
jmclean907
2 posts
msg #87135
Ignore jmclean907
1/27/2010 12:35:10 PM


My variable Projected High "PH" is the high plus the low plus the close divided by 3.

set{(ph, high + low + close)/3} Is this correct?

I am looking for a trigger where todays close is greater than or equal to the highest high of the last 14 days.

I then want to backtest it with a stop of the lowest low of the last 14 days using the the same variable.

I have the advanced subscription but am new and not sure how to write this.

Thanks for any assistance.

John





chetron
2,817 posts
msg #87136
Ignore chetron
modified
1/27/2010 12:47:54 PM

NO, ONLY 1 MATH OPERATOR PER SET COMMAND LINE, SO YOU WILL NEED 3 SET LINES TO GET TO YOUR RESULT.

jmclean907
2 posts
msg #87138
Ignore jmclean907
1/27/2010 12:56:32 PM

So should it read?

set{HL, high + low}
set{HLC, HL + close}
set{PH, HLC/3}

Then how do I write the code for close is greater than or equal to the highest high of PH for the last 14 days?

Thanks

John

chetron
2,817 posts
msg #87140
Ignore chetron
1/27/2010 1:08:22 PM

DOESN'T SF DO PIVOTS???????????


Fetcher[

CLOSE CROSSED ABOVE PP 14 DAY HIGH

]



four
5,087 posts
msg #87317
Ignore four
1/28/2010 2:00:18 PM


Fetcher[
CLOSE CROSSED ABOVE PP 14 DAY LOW
PP EQUALS PP 14 DAY LOW 1 DAY AGO

HIGH > PP
CLOSE > PP
LOW < PP
OPEN < PP
HIGH > PP 14 DAY LOW
LOW < PP 14 DAY LOW

VOLUME > 10000
CLOSE > 1
]



StockFetcher Forums · Filter Exchange · Assistance on Filter<< >>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.