How to set the default MA moving average in tradingView?

I am using tradingView as a stock plug-in, but its documentation is not clear and I can"t find a configuration for this aspect

Mar.03,2021

create an index about the main commodity. Example:
createStudy ('MACD', false, false, [14,30, "close", 9])
createStudy (' Moving Average Exponential', false, false, [26])
createStudy ('Stochastic', false, false, [26], null, {"% d.color": "- sharpFF0000"})
chart.createStudy (' Moving Average', false, false, [26], null, {'Plot.linewidth': 10})


clipboard.png

Menu