User Defined Timeframe in Indicator
It's OK I worked it out
Use
extern ENUM_TIMEFRAMES TimeFrame1 = 5;
which means 5 min TF but also gives the user a dropdown menu
Can some please help with the following.
I want change an indicator so that the indicator timeframe is user defined.
For example if I I may choose to use the value of the 15 min of an indicator on a 5 min chart in the iCustom part I will use PERIOD_M15 instead of PERIOD_CURRENT
But how do I make this user defined with a dropdown menu so that I can choose to alter this from the indicatpr input.
Thanks
Thanks Khurram
Thanks Khurram
Can some please help with the following.
I want change an indicator so that the indicator timeframe is user defined.
For example if I I may choose to use the value of the 15 min of an indicator on a 5 min chart in the iCustom part I will use PERIOD_M15 instead of PERIOD_CURRENT
But how do I make this user defined with a dropdown menu so that I can choose to alter this from the indicatpr input.
Thanks