The above code (use mod) works fine in the backtest.(but does not work in real trade)
so I think it is obvious that ProOder has a trouble about STRATEGYPROFIT function.
From the results obtained so far, I think it is certain following things about the value that STRATEGYPROFIT returns in real trade.
– It is under 4 (at 1USD=125JPY).It is different from the value of the profit in the currency of the instrument(USD),and from my account(JPY) too.
– it is not 0.
I assume the calculating process of STRATEGYPROFIT in ProOder during real trade is wrong.
Already I mentioned, STRATEGYPROFIT worked correctly in real trade prior to March.
so I think it is degrade.