i am trying to compile a very simple automated strategy, but all the times doesnt work.
I want to do the next thing:
when the time arrives to 11:33:56
put an entry EnterLongStop of thats time (14:19:55) price + 20 tics
TrailingStop 20 tics and move every 5 tics
Can someone give me any advise?
Thank you
I compiled this....but doesn´t work:
{
// Condition set 1
if (ToTime(Time) >= ToTime(11, 33, 56) && ToTime(Time) <= ToTime(11, 33, 57))
{
EnterLongStop(Ordenes, GetCurrentAsk() + 20 * TickSize, "Largos 20");
}
}
Comment