Skip to content

Commit

Permalink
Update MultiPivots.mqh
Browse files Browse the repository at this point in the history
  • Loading branch information
peterthomet committed Jan 4, 2025
1 parent 4ce4455 commit afb4ccd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Include/MultiPivots.mqh
Original file line number Diff line number Diff line change
Expand Up @@ -685,7 +685,7 @@ TypePivotsTimeRange PivotsCalculatePivotRange(TypePivotsData& PD, TypePivotsPeri
}
if(period==MONTH)
{
MqlDateTime h1time, startdisplay, enddisplay, start, end, temp1;
MqlDateTime h1time, startdisplay, enddisplay, start, temp1;
TimeToStruct(PD.Settings.currenth1time,h1time);

startdisplay.hour=0;
Expand Down Expand Up @@ -740,7 +740,7 @@ TypePivotsTimeRange PivotsCalculatePivotRange(TypePivotsData& PD, TypePivotsPeri
}
if(period==YEAR)
{
MqlDateTime h1time, startdisplay, enddisplay, start, end;
MqlDateTime h1time, startdisplay, enddisplay, start;
TimeToStruct(PD.Settings.currenth1time,h1time);

startdisplay.hour=0;
Expand Down

0 comments on commit afb4ccd

Please sign in to comment.