StockFetcher Forums · General Discussion · Modified EMAs--Comments welcome<< >>Post Follow-up
styliten
294 posts
msg #156025
Ignore styliten
modified
3/4/2021 1:01:50 AM

Sample code:

Fetcher[dow 30

chart-time is 30 days

set{WMA12, clri(WMA(5,1:2:3:4:5) divided by WMA(5,5:4:3:2:1), 12)}
set{WMA13, clri(WMA(5,1:2:3:4:5) divided by WMA(5,5:4:3:2:1), 13)}
set{WMA12a, clri(WMA(5,1:2:3:4:5) divided by WMA(5,5:4:3:2:1), 12) + clri(WMA(5,1:2:3:4:5) divided by WMA(5,5:4:3:2:1), 13)}
set{WMA12b, WMA12a / 2}

set{ema6a, WMA12 multiply by ema(6)}
set{ema6b, WMA12b multiply by ema(6)}
set{ema6c, WMA13 multiply by ema(6)}

set{ema20a, WMA12 multiply by ema(20)}
set{ema20b, WMA12b multiply by ema(20)}
set{ema20c, WMA13 multiply by ema(20)}

set{ema40a, WMA12 multiply by ema(40)}
set{ema40b, WMA12b multiply by ema(40)}
set{ema40c, WMA13 multiply by ema(40)}

and draw clri(ema6a, 5) on plot price
and draw clri(ema6b, 5) on plot price
and draw clri(ema6c, 5) on plot price

and draw clri(ema20a, 6) on plot price
and draw clri(ema20b, 6) on plot price
and draw clri(ema20c, 6) on plot price

and draw clri(ema40a, 7) on plot price
and draw clri(ema40b, 7) on plot price
and draw clri(ema40c, 7) on plot price
]



StockFetcher Forums · General Discussion · Modified EMAs--Comments welcome<< >>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.