StockFetcher Forums · Filter Exchange · drawing --- AAAAAGH!!!!<< >>Post Follow-up
alexgwoodruff
17 posts
msg #44196
Ignore alexgwoodruff
5/26/2006 4:56:47 AM

I am playing with adding columns and drawing different variables. I have written the following filter which may or may not be any good, but the 'stoploss' and 'target' variables will not add to the columns or be drawn. the message I get when I debug is: No valid indicator or phrase found.
Please help.

set{crossover, macd fast line(12,26) - macd slow line(12,26)}
set{approach, macd fast line(12,26) / macd slow line(12,26)}
set{stoploss, close - 20%}
set{target, close + 20%}
set{uplim, 2 month high}
set{lolim, 2 month low}

show stocks where close is between 0.1 and 5
where CCI(14) has been increasing for 2 days
where crossover is between 0.01 and -0.01
where approach has been less than 1 for last 3 days
where rsi is between 30 and 70
where volume is more than 250000

add column stoploss
add column target
draw stoploss
draw target
draw uplim
draw lolim



alexgwoodruff
17 posts
msg #44197
Ignore alexgwoodruff
5/26/2006 4:57:47 AM

Just to confirm, the filter is unimportant, I just wanted some practice with drawing and adding columns. Thanks


stockfetcher
979 posts
msg #44200
5/26/2006 8:37:28 AM

Hi,

You'll want to change the +20%, also, you'll need to change your "2 month high" to "high 2 month high":

Fetcher[
set{crossover, macd fast line(12,26) - macd slow line(12,26)}
set{approach, macd fast line(12,26) / macd slow line(12,26)}
set{stoploss, close * 0.8}
set{target, close * 1.2}
set{uplim, high 2 month high}
set{lolim, low 2 month low}

show stocks where close is between 0.1 and 5
and CCI(14) has been increasing for 2 days
and crossover is between 0.01 and -0.01
and approach has been less than 1 for last 3 days
and rsi is between 30 and 70
and volume is more than 250000
and add column stoploss
and add column target
and draw stoploss on plot price
and draw target on plot price
and draw uplim on plot price
and draw lolim on plot price
]



Regards,
StockFetcher.com Support




alexgwoodruff
17 posts
msg #44205
Ignore alexgwoodruff
5/26/2006 9:41:41 AM

Thank you, thank you... That had been driving me mad for hours.


StockFetcher Forums · Filter Exchange · drawing --- AAAAAGH!!!!<< >>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.