I am running the strategy in daily mode and the take profit is at 21EMA at close of the third day, but I can only get the third day open prices. Can you help advise?
if(High[0]>EMA(21)[1])
{
ExitLongLimit(GetCurrentBid());
}
if (BarsSinceEntry()>2)
{
ExitLong();
Print(BarsSinceEntry());
///ExitOnClose=true;
///ExitOnCloseSeconds = 30;
}
Rgds,
Sgtrader

Comment