StockFetcher Forums · Filter Exchange · Percentage gain after criteria met<< >>Post Follow-up
Honey31
11 posts
msg #162076
Ignore Honey31
12/15/2025 11:59:07 AM

Hi ,

I would like to track the percentage change from the day criteria is met for ex : 4 X21 EMA. how to do it in stock fetcher ?

xarlor
641 posts
msg #162077
Ignore xarlor
12/16/2025 9:08:53 AM

Can't be done in SF since you cannot store a date for recall later. We can get the date a criteria happened, however we cannot recall that date as a variable to calculate later on.

nibor100
1,102 posts
msg #162078
Ignore nibor100
12/18/2025 7:47:54 PM

@honey31,

I believe the filter below gets you what you want without using a stored date:
Ed S.

Fetcher[
set{cxv, days(eMA(4) crossed above eMA(21),250)}
draw ema(4) draw ema(21) draw cxv add column cxv

set{mygain,close - VarOffset(close,cxv)}
set{temp,mygain / VarOffset(close,cxv)}
set{mypct,temp * 100}

add column mygain
add column mypct
sort column 7 descending
]







StockFetcher Forums · Filter Exchange · Percentage gain after criteria met<< >>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 2026 - 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.