| Exit time | Entry name | Exit name |
| 1/4/2018 16:06 | Long Entry | Exit on session close |
| 1/5/2018 13:30 | Short Entry | Exit on session close |
| 1/5/2018 16:00 | Long Entry | Exit on session close |
| 1/8/2018 14:30 | Long Entry | Exit on session close |
| 1/8/2018 16:45 | Long Entry | Exit on session close |
Now i'm using:
if (Time[0] >= sessionIterator.ActualSessionEnd.AddSeconds(-ExitOnSessionCloseSeconds) && Time[0] <= sessionIterator.ActualSessionEnd)
So i want to get (emulate) the same as trade does, and i'm not getting even close.
Questions:
How i can tap to the same trigger/event as trades are?
How exit can be in "random" time?
--PNF

Comment