StockFetcher Forums · Filter Exchange · ATR Levels for Buying and Selling<< >>Post Follow-up
snappyfrog
731 posts
msg #161309
Ignore snappyfrog
8/15/2024 2:36:54 PM

Can someone help me figure out why the last 4 lines of code are making this invalid?

Works fine with those commented out.

Fetcher[
market is not otcbb
market is not etf
price > 3
volume > 999999
set{AT65, atr(65) * 2}
set{AT65a, atr(65)}
add column separator
add column AT65a
add column AT65
do not draw low 22 day low
set{Q00, low 22 day low}
draw Q00 on plot price
set{Q25, Q00 + AT65}
draw Q25 on plot price
set{Q37, Q25 + AT65q}
set{Q50, Q25 + AT65}
draw Q50 on plot price
set{Q62, Q50 + AT65a}
set{Q75, Q50 + AT65}
draw Q75 on plot price
set{Q87, Q75 + AT65a}
set{Q100, Q75 + AT65}
draw Q100 on plot price
/*add column separator
add column Q37
add column Q62
add column Q87*/
]



snappyfrog
731 posts
msg #161310
Ignore snappyfrog
8/15/2024 2:54:58 PM

Figured it out. The line to "Set{Q37" has a q at the end instead of an a.

Updated code.

Fetcher[
market is not otcbb
market is not etf
price > 3
volume > 999999
set{AT65, atr(65) * 2}
set{AT65a, atr(65)}
add column separator
add column AT65a
add column AT65
do not draw low 22 day low
set{Q00, low 22 day low}
draw Q00 on plot price
set{Q25, Q00 + AT65}
draw Q25 on plot price
set{Q37, Q25 + AT65a}
set{Q50, Q25 + AT65}
draw Q50 on plot price
set{Q62, Q50 + AT65a}
set{Q75, Q50 + AT65}
draw Q75 on plot price
set{Q87, Q75 + AT65a}
set{Q100, Q75 + AT65}
draw Q100 on plot price
add column separator
add column Q37
add column Q62
add column Q87
chart-length is 10 days
price crossed above Q25
draw Q37 on plot price
draw Q62 on plot price
draw Q87 on plot price
]



StockFetcher Forums · Filter Exchange · ATR Levels for Buying and Selling<< >>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.