multitimeframe dropdown option

Traders-Table

Well-known member
Joined
Dec 17, 2022
Posts
66
Likes
33
i have been trying to get the user input to have a multitime option, but have not been able to get it to compile. im trying to use import com.motivewave.platform.sdk.common.Enums.BarSizeType;import com.motivewave.platform.sdk.common.desc.BarSizeDescriptor; imports.

Anyone have any idea? I dont want to use the Options / bar size in user inputs (default MW option to change timeframe for a study) as my study wont work with it as it requires to actually scan the other timeframes chart to apply the studies settings.

something like this - this.get(USE_ADDITIONAL_TIMEFRAME, new Object[0]), BarSize.getBarSize(BarSizeType.LINEAR, 5)), new BooleanDescriptor(USE_ADDITIONAL_TIMEFRAME, this.get("Configure", new Object[0]), false, false)});

But it wont compile so i need help!

Thanks
 
Top