AFL to use Weekly Data instead of Daily

#1
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?

say,

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:
#2
use settimeframe indaily
put formula here
settimframerestore
similarly do it for weekly
and then use timframeexpand in plot function if you want it on chart
 

Similar threads

Intraday Higher Leverage

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

Name:Phone:
Email:City:
State:
Are you a day trader?