AFL to use Weekly Data instead of Daily

I mean in the "EXPLORE", I want to output the data both daily moving average of 10 days and weekly moving average 10 weeks.

Normally, my default view is daily data, is it possible to have both daily and weekly data to have my own signal?


MA10_D = MA(C,10) <--- use daily
MA10_W = MA(C,10) <--- use weekly

say I want to out the results in explore in 1 afl, can it be done and if yes, how can it be done?

many thanks
Last edited:
use settimeframe indaily
put formula here
similarly do it for weekly
and then use timframeexpand in plot function if you want it on chart

Similar threads

Broker Special Offers

Intraday Higher Leverage

Save up to 90% in brokerage and get higher leverage for intraday trades.

Are you a day trader?