-
Notifications
You must be signed in to change notification settings - Fork 66
In the VWAP Indicator,is there a typo here? #94
Copy link
Copy link
Open
Description
In the VWAP.cs class, the following line
Line 986 in b90072c
| (prevEndTime.TimeOfDay > prevEndTime.TimeOfDay && _customSessionStart <= startTime.TimeOfDay) |
The code prevEndTime.TimeOfDay > prevEndTime.TimeOfDay is always false.
var newSessionBetweenBars = previousBar != null && (
sessionCrossesMidnight
? (prevEndTime.TimeOfDay <= _customSessionStart && startTime.TimeOfDay > _customSessionStart) ||
(prevEndTime.TimeOfDay > prevEndTime.TimeOfDay && _customSessionStart <= startTime.TimeOfDay)
: prevEndTime.TimeOfDay <= _customSessionStart && startTime.TimeOfDay > _customSessionStart
);Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels