Hi, your question makes no sense, please provide a detailed explanation of your problem including your code attempt at solving the issue, please read the link below for help. If your English is not very good, try using Google translator.
https://ctrader.info/d/14-ctrader-cbot-coding-help