Mathieu2301 / TradingView-API

📈 Get real-time stocks from TradingView
1.47k stars 332 forks source link

Default setting indicators #224

Open Monoflextor opened 10 months ago

Monoflextor commented 10 months ago

Is there a function that returns the default indicator options?

indicator.setOption('in_0', 2);  // here we set the 'in_0' option 
indicator.setOption('in_1', 2);  // here we set the 'in_1' option

But how do we return them to the original state?