strategy looks for a signal. After that it should enter X tick from the signal ( say -10 tick from entry). it doesn't work because trades entry on the signal but not after x tick.
I hope some good soul suggests me something.
Thank you in advance and sorry for my poor english.
{
// Condition set 1
if (Close[0] > EMA(14)[0])
{double signal =Close[0];
double tick = Close[0]-10*TickSize;
double entry = Close[0]-tick;
if(Close[0] < entry)
{EnterLong();}
}
Comment