Hello

I have started to code and trade with Zorro. Im just beginner and have only some codeing experience 13 years ago. Anyway, I have some problems with TradeIsEntry: PriseIsEntry dont regognice when the entry has done.

First solution, both are in run-function ():

//Entry, first

if((priceH(5)<priceH(4))....{
Entry=priceH(3);
Trade_price=priceH(3);
Counter1+=1;
}

// Examining if the first trade has been entered

if((TradeIsEntry) and (Counter1==1)){
Counter1+=1;
Trade_price=priceReal();

}

Second approch:

//Entry, first, in run function

if((priceH(5)<priceH(4))....{
enterLong(1,priceH(3),sl_10,0,0);
Trade_price=priceH(3);
Counter1+=1;
printf("Counter_BuyStop: %f\n",Counter1);
}

//Examine if trade is entried

int manage(){
if(TradeIsEntry) Counter1+=1;
return 0;
}

function run()
...

So how I can make the TradeIsEntry to work so I can determinate that stop limit has reached and trade is entried?

Thanks for your help

Miska