Posts by ciro
|
No errors, finally,
but now it doesn't trade at all.
|
|
ok, here is a part of the code:
if I do this way, than I have 2x errors below:
int BarCount;
int Current;
bool TickCheck = False;
int Count = 60;
bool NewBar()
{
static datetime lastbar = 0;
datetime curbar = Time[0];
if(lastbar!=curbar)
{
lastbar=curbar;
return (true);
}
else
{
return(false);
int init() { ERROR HERE:'(' function definition unexpected
BarCount = Bars;
if (EachTickMode) Current = 0; else Current = 1;
return(0);
if (NewBar() == true) BarCount = BarCount -1
}
......
|
|
Hi, I have 2 errors
'count' variable not defined
where may I be wrong?
|
|
Hi,
I have implemented the max of 5 open trades;
but no luck with the 60 bars stuff...
please could you make it easier, or with more explanations?
thanks for your help.
|
|
thanks a lot, later i will work it out, will tell you if I have been able
thanks
|
|
Hi all,
need some help with an EA.
I have build most of it, but happend that it executed only 1 trade at time, and once I have a trade on it doesn't execute anything untill the trade is close...
I would like to have the EA executing up to 5 different trades,
and to open a new trade not earlier than 60 bars after last trade was open.
couls somebody help me?
thanks
|
Share