StockFetcher Forums · General Discussion · Need help with my code<< >>Post Follow-up
192 posts
msg #109418
Ignore sohailmithani
12/14/2012 10:59:05 AM

I want to buy here as follows:
1) if open is below certain % from close yesterday then at open
2) else at the % defined

eg. say close yesterday was $100 and I want to buy at $95 but open was $94 so system should buy at $94. However, say open was at $97 then system should wait till it hits $95.

My entry code is as follows:

set{if,count(open > PR,1)}
set{buyprice1,if *PR}
set{else,1 - if}
set{PR,PR%*close 1 day ago}

Also, is there any type of order (which broker?) which only buys when limit buy is hit and not when open is below my limit price.

StockFetcher Forums · General Discussion · Need help with my code<< >>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