Dear Tanaka San, thank you so much for the quick reply. Few error found such as same error of order closing on zero still found. If you can solve this issue, orders will not be wasted. My SL was zero and trail was also off but still SL was still showing.
Entry TF option for current or H1/ H4 is missing.
I also noticed that when there are 2 different BUY orders through 2 different signals, their TP combines to same price like breakeven, however for breakeven should be for martingale orders and separate TP for new orders from new signals.
Eg:
1- New BUY order, separate TP
2- One more new BUY order, separate TP
3- Martingale on first BUY order, TP should be combined due to breakeven buy order 2 which is new order, it's TP should stay separate and may combine to it's martingale trades only.
4- Order 1 and order 2 TP should not combine and stay separate, however if any of the order gets martingale, so only concerned order TP should combine.
Also please add additional space after = like this "Profit = 0"