protectedoverridevoid Initialize()
{
if(biasTimeFrames == TimeFrames.Ten_Min)
{ Add(PeriodType.Minute, 10); }
}
I would like to have the ability to select the TimeFrame based on the Chart timeframe ( i.e. 5 min or 10 bar chart ), Not the input parameter that I am using - biasTimeFrames.
The following examnple is what I would like to accomplish ...
protectedoverridevoid Initialize()
{
{
case (005): Add(PeriodType.Minute, 10); break;
case (010): Add(PeriodType.Minute, 60); break;
}
Any suggestions on how best to approach this problem?
Thanks.
Larry.

Comment