Support Board
Date/Time: Sun, 02 Nov 2025 04:30:57 +0000
Post From: SCDateTime Problem
| [2021-06-27 19:35:20] |
| User39772 - Posts: 311 |
|
Hello, I have the following code: SCDateTime DateTime = sc.LatestDateTimeForLastBar; SCDateTime PosTime = PositionData.LastEntryDateTime; //5 Minutes after open of the position I want an action to occur //but the following code does not work, argument "DateTime == PosTime.AddMinutes(5)" never becomes "true" if ( DateTime == PosTime.AddMinutes(5) ) Subgraph_Test[sc.Index] = sc.Low[sc.Index]; //Is my understanding wrong ? |
