Open a trade at a fixed time
Created at 08 Sep 2023, 15:03
AL
Open a trade at a fixed time
08 Sep 2023, 15:03
Hello, I cannot find the code to open a trade at a fixed time. Can someone help me ?
I wanted to do something like that :
If CandleCloseTime = 8.59am then OpenTrade
Thank you
Replies
PanagiotisChar
09 Sep 2023, 10:06
Here you go
if (Bars.OpenTimes.LastValue.TimeOfDay > TimeSpan.ParseExact("08:59", "hh\\:mm", null))
{
}
@PanagiotisChar
... Deleted by UFO ...