[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

"lastbar exit" stopped working in 3.68Beta?



PureBytes Links

Trading Reference Links

I installed 3.68 Beta and "lastbar exit" seemed to stop working.

barnumber = cum( 1 );
lastbar = barnumber == lastvalue( barnumber );
buy = datenum() == 1010801;
sell = lastbar;

Total number of trades should be one, not zero and there should not 
be Open position gain/loss.

Subsequently, all the related statistics seems to be messed up 
because of that.

Am I doing anything wrong?

sincerely,