StockFetcher Forums · Filter Exchange · ATR Entry<< >>Post Follow-up
novacane32000
331 posts
msg #155885
Ignore novacane32000
2/20/2021 7:56:07 PM

Need help adding an entry of .5 *ATR(6) to a filter.

I want to enter at .5 * ATR (6) of the high of the day.

This is not working

set{A, ATR(6)}
set{B, A * .5}
set{ entry, B + High}

nibor100
1,044 posts
msg #155891
Ignore nibor100
2/21/2021 1:00:06 AM

Your 3 lines seem to work in a filter once I add a filter criteria for SF to act on. (see sample filter below)

At first I though the space you have in front of the word entry was your problem but it seems to work with or without that space.

Ed S.

Fetcher[
set{A, ATR(6)} add column A
set{B, A * .5} add column b
set{entry, B + High} add column entry
add column High
close > 10
draw atr(6) Draw a draw b draw entry
]



nibor100
1,044 posts
msg #155893
Ignore nibor100
2/21/2021 1:15:35 AM

and if you want to shorten it and filter at the same time....

Fetcher[
set{B, Atr(6) * .5} add column b
add column High plus B {Entry} > 0
]



Please note that you have to put the column label info before the filter part of the add column statement otherwise SF will label that column "High + B" instead of "Entry"

Ed S.

novacane32000
331 posts
msg #155898
Ignore novacane32000
2/21/2021 9:53:36 AM

Appreciate the help!
Just experimenting with better entries for breakouts.

nibor100
1,044 posts
msg #155901
Ignore nibor100
2/21/2021 11:05:25 AM

@novacane32000,

I just reread your first post in this thread and you have the following statement:

"I want to enter at .5 * ATR (6) of the high of the day."

which seems to imply a subtraction from the High of the day not an addition.

If that's what you are really after then my 2 filters don't achieve it.

Thanks,
Ed S.

novacane32000
331 posts
msg #155911
Ignore novacane32000
2/21/2021 4:40:20 PM

Ed
Your first filter is exactly what I wanted.
I’m taking 50 % of the ATR(6) then adding to the high for an entry point.


StockFetcher Forums · Filter Exchange · ATR Entry<< >>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.