(int bar)
| 146 | } |
| 147 | |
| 148 | private void MarkEuroSession(int bar) |
| 149 | { |
| 150 | _highS = "Euro High"; |
| 151 | _lowS = "Euro Low"; |
| 152 | var candle = GetCandle(bar); |
| 153 | var diff = InstrumentInfo.TimeZone; |
| 154 | var time = candle.Time.AddHours(diff); |
| 155 | |
| 156 | if (time.Minute >= 0 && time.Hour >= 2 && time.Hour <= 3) |
| 157 | { |
| 158 | if (candle.High > _highest) |
| 159 | { |
| 160 | _highest = candle.High; |
| 161 | _highBar = bar; |
| 162 | } |
| 163 | if (candle.Low > _lowest) |
| 164 | { |
| 165 | _lowest = candle.Low; |
| 166 | _lowBar = bar; |
| 167 | } |
| 168 | } |
| 169 | } |
| 170 | |
| 171 | private void MarkOvernightSession(int bar) |
| 172 | { |
nothing calls this directly
no outgoing calls
no test coverage detected