if(ToTime(Time[0]) >= 170000 || ToTime(Time[0]) <= 154500)
{
if (Position.MarketPosition == MarketPosition.Flat)
{
if (Condition)
{
EnterLong();
}
How do I add to the script if I do not want to enter any positions during 12am – 2am nor 6am – 8am and if there are any positions prior to 12am or 6am to exit based on the strategy instead of exiting at that given time.
Thanks
Comment