I added a 1440 min bars objects to my strategy :
protected override void Initialize()
{
// Add a 1440 minute Bars object to the strategy
Add(PeriodType.Minute, 1440);
CalculateOnBarClose = true;
}
if( mycondition 1 && RSI(BarsArray[1],Close, 21, 3)[0] > 55 )
How can I solve that ?
Thank you very much for all your help

Comment