Rule 1
If high of the last 3 days = the of the last month and close < open
Go Short at the open the next day
I want to close the position at the close the same bar
My attempt is working for the entry but I do not know how to write the exit the same bar at the close
if (MAX(High, 3)[0] == MAX(High, 20)[0] && Close[0] < Open[0]
)
{
EnterShort(200, "");
}
Thanks.


Comment