Indicators: CEK OP

 

CEK OP:

The indicator plots trade history on the chart and account informaton.

Indicator to determine the transaction history in pairs.

Author: Umar Ismail

 

You have mistakes.

1) ObjectsDeleteAll();

It will delete all objects on chart.

2)  for(cntcb=OrdersTotal(); cntcb>=0; cntcb--)

Start from OrdersTotal()-1

3) cntcb<=OrdersHistoryTotal()

not <= , but < 

 
cek_op (check open position)

I made it when I was learning programming

 

thanks for the advice
:)
Reason: