I use this indicator: file In this code, can I to define all time profit, not only one year: datetime d0, d1, d2, d3, d4, d5, d6, d7, d8; //+--------------------------------------------------------------------------+ ...