I'm trying to get in a variable the value of the last bar bar number. to do so, I do
Code: Select all
If LastBarOnChart_s then BarNumberOfTheLastBar = BarNumber;
Martin
Code: Select all
If LastBarOnChart_s then BarNumberOfTheLastBar = BarNumber;
How's is that wrong?Hello
I'm trying to get in a variable the value of the last bar bar number. to do so, I doI don't get the proper valueCode: Select all
If LastBarOnChart_s then BarNumberOfTheLastBar = BarNumber;
Martin
Hello again TJHow's is that wrong?Hello
I'm trying to get in a variable the value of the last bar bar number. to do so, I doI don't get the proper valueCode: Select all
If LastBarOnChart_s then BarNumberOfTheLastBar = BarNumber;
Martin
Did you add on the MaxBarsBack ?