```
AddChartIndicator(Ichimoku(BarsArray[1]));
AddChartIndicator(Pivots(BarsArray[1], PivotRange.Daily, HLCCalculationMode.CalcFromIntradayData, 0, 0, 0, 240));
```
or like this :
```
if(Closes[BarsInProgress][0] > Ichimoku(BarsArray[BarsInProgress]).GetTenkanSenValue()) {...}
double[] pivotLevels = {
Pivots(BarsArray[BarsInProgress], PivotRange.Daily, HLCCalculationMode.CalcFromIntradayData, 0, 0, 0, 240).S3[0],
Pivots(BarsArray[BarsInProgress], PivotRange.Daily, HLCCalculationMode.CalcFromIntradayData, 0, 0, 0, 240).S2[0],
Pivots(BarsArray[BarsInProgress], PivotRange.Daily, HLCCalculationMode.CalcFromIntradayData, 0, 0, 0, 240).S1[0],
Pivots(BarsArray[BarsInProgress], PivotRange.Daily, HLCCalculationMode.CalcFromIntradayData, 0, 0, 0, 240).Pp[0],
Pivots(BarsArray[BarsInProgress], PivotRange.Daily, HLCCalculationMode.CalcFromIntradayData, 0, 0, 0, 240).R1[0],
Pivots(BarsArray[BarsInProgress], PivotRange.Daily, HLCCalculationMode.CalcFromIntradayData, 0, 0, 0, 240).R2[0],
Pivots(BarsArray[BarsInProgress], PivotRange.Daily, HLCCalculationMode.CalcFromIntradayData, 0, 0, 0, 240).R3[0]
};
```
I wanted to know If calling them like this on the running time are a bad habit or it is fine and do not affect a lot performances.

Comment