I'm working on some simple programs and I've been doing some research on the forums but I am still having trouble understanding what EachTickMode and TickCheck mean?
I know that ModeTickCheck will tell the EA either to check for an entry signal every tick or at the close of the bar. But I still don't know wht TickCheck means. Also if some one could explain exactly what the following code is telling the EA, it would be most appreicated. I've seen it used in many other EA's involving the EachTickMode but I do not exactly know what it means.
And this part as well.
I know that ModeTickCheck will tell the EA either to check for an entry signal every tick or at the close of the bar. But I still don't know wht TickCheck means. Also if some one could explain exactly what the following code is telling the EA, it would be most appreicated. I've seen it used in many other EA's involving the EachTickMode but I do not exactly know what it means.
PHP Code
int init() {
BarCount = Bars;
if (EachTickMode) Current = 0; else Current = 1;
return(0);
PHP Code
int Order = SIGNAL_NONE;
int Total, Ticket;
double StopLossLevel, TakeProfitLevel;
if (EachTickMode && Bars != BarCount) TickCheck = False;
Total = OrdersTotal();
Order = SIGNAL_NONE;
Rhoman