The code is suppose to enter short position at market when on the low of the previous 3 periods is met.
When I put the strategy into a daily chart, I have it "calculate on bar close" set to "false" which would allow it to signal within a daily chart time frame is the idea.
The strategy is always entering into a position at the open price of a bar for some odd reason and not somewhere within the bar is one of the glaring problems that I see.
I am using the current bid price < low of prior days as you see here is the actual code:
if (GetCurrentBid() < Low[1]
&& GetCurrentBid() < Low[2]
&& GetCurrentBid() < Low[3])
{
EnterShort(Cars, "SE");
I have included the total code as well as an attachment if anyone is interested.
Does anyone see what I am doing wrong?
Thanks in advance...
Comment