StockFetcher Forums · General Discussion · Drawing R1 an S1 - need help<< >>Post Follow-up
sfbug
20 posts
msg #102555
Ignore sfbug
9/6/2011 10:24:18 PM

Does anyone know how to draw R1 and S1 on the chart?

Sfbug
======


tomm1111
202 posts
msg #102558
Ignore tomm1111
9/6/2011 11:46:57 PM

Is this what you are looking for?

Fetcher[
draw s1
draw r1
]



saico
59 posts
msg #102571
Ignore saico
modified
9/8/2011 3:03:52 PM

tomm,

is it possible to have SF backtesting to buy at the current S1 and S2 levels and close positions at the open of the next day?

Thanks
saico

Kevin_in_GA
4,599 posts
msg #102572
Ignore Kevin_in_GA
9/8/2011 3:37:41 PM

Not really. I am assuming that you would have placed a limit order to buy if the price dropped below these levels at some point during the day, and then sell at the open on the following day?

The challenge here is that this would have been an intraday move and SF would have to guess at your entry - what if the stock gaps way below S1 based on bad news, but recovers by the end of the day? SF backtesting would have you in at the S1 value, but in reality you would have been filled at a much lower price.

If you were looking at BUY if the price closed below S1 at the closing price, this would be possible.

And you probably would need to use "S1 1 day ago" as the entry trigger, based on how SF calculates things (which is end-of day).

saico
59 posts
msg #102573
Ignore saico
9/8/2011 4:11:51 PM

Yes Kevin, regarding the gaps you're completely right of course. Thanks for that hint! But isnt possible to code a string that checks if there's a gap between the last day close and the open and if that open is below R1, or R2? Unfortunately SF is a bit limited here as much as I'm when it comes to serious coding ;-)

straken
469 posts
msg #102574
Ignore straken
9/8/2011 10:01:41 PM

You should consider stockfinder. Its a little more expensive than fetcher. I use both. Fetcher is easy to quickly code and backtest end of day data, but finders realtime is the scanner you want to trade with. Finder gives you realtime scanning of any condition and timeframe you run code for and has a very good backtest.

mahkoh
1,065 posts
msg #102583
Ignore mahkoh
9/9/2011 5:44:53 PM

Regarding the original question, if you want a straight line on the chart:

draw price line at s1
draw price line at r1

tmaugham
115 posts
msg #102584
Ignore tmaugham
9/9/2011 7:10:50 PM

Straken, what's the url for stockfinder?

thanks...

straken
469 posts
msg #102585
Ignore straken
9/9/2011 8:29:43 PM

www.stockfinder.com

tmaugham
115 posts
msg #102593
Ignore tmaugham
9/11/2011 10:22:03 AM

Thanks!!!

StockFetcher Forums · General Discussion · Drawing R1 an S1 - need help<< >>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.