I am plotting several valiables and displaying others in the Cursor window which is working as intended.
When I add another variable (Tradepnl) to display in the cursor window in the return statement I am receiving the error msg " Type Error ProfitTarget has no properties" for the first variable in the return statement, ProfitTarget?
When I uncomment "Tradepnl.toFixed(5)" the last variable in the return statement, I receive the error msg referring to the first variable ProfitTarget?
When I add another variable (Tradepnl) to display in the cursor window in the return statement I am receiving the error msg " Type Error ProfitTarget has no properties" for the first variable in the return statement, ProfitTarget?
PHP Code:
return new Array(ProfitTarget, TrailingStop, NewTrade.toFixed(0),
Signal.toFixed(0), TradeEntryPrice.toFixed(5),SharesToTrade.toFixed(0), BarsSinceEntry.toFixed(0) /*, Tradepnl.toFixed(5) */);
Comment