Really questioning how the trailing stop works in the backtesting framework of tradingview/pinescript, I am sure I would not get the same results with the same strategy in MT4.
@george1981, this is V4 pinescript, no repainting, but i am very worried that this is showing faulty results and there may be some flaws in the backtesting system, i do not trust the results, I will recreate in MetaTrader as a Expert Advisor and optimize it. Then i will know if this can be trusted.