StockFetcher Forums · General Discussion · Drawing R1 an S1 - need help<< >>Post Follow-up
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?


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

Is this what you are looking for?

draw s1
draw r1

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


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?


3,847 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).

55 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 ;-)

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.

640 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

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

Straken, what's the url for stockfinder?


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

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


StockFetcher Forums · General Discussion · Drawing R1 an S1 - need help<< >>Post Follow-up

*** Disclaimer *** 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. does not recommend particular securities., 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