Yes I did read that. But perhaps I'm misunderstanding something here: my understanding is that the 8 general purpose variables are referred to as both v0...v7 and also TradeVar[0]...TradeVar[7]
But they don't seem to be the same, so maybe that is where I'm wrong?
I also forgot to give you this script output, which shows that v0 is not the same value as TradeVar[0]:
TradePriceClose = 81.592003
v0=5.124000
TradeVar[0] in tmf() = 0.000000
TradeVar[0] in run() = 0.000000
Cancelled
I understand that TradeVar[0]...TradeVar[7] are stored in the TRADE struct, so they are available on each successive tmf call.
What I don't understand is the
enterLong man page, which (to me) suggests that v0...v7 may be the same. If they are indeed the same, then why can't I use them interchangeably?