Help me please, because I prepared a major code for the positioning of the Forex entry size, but I got stuck and mixed up.
- Am I right, that AccountSize property can be used exclusively for Strategy Analyzer (Back101 account) (it has nointerest anywhere else)?
- How does the Sim101 és Replay101 account handling work, because simply I don't understand. Examples:
- a) If Initial Margin is set to theintrument, then at entry it is seen in the grid, but it does not substracted from the cash value. (I do not undarstand)
- b) so far to the previous, is the set of the Initial Margin of the Instrument used anywhere else? Does it have any importance aside from the a) point?
- c) because it doesn't differentiate more money accounts, but the balance (Sim and Replay)is accessible as an unknown account, so my question would be, if I run simulation strategy at two forex pair at the same time, then how do the profit of the two transactions (in two different currency) enter a sum to one unknown account and in what kind of currency?
NinjaTrader.Cbi.Account CurrentAccount = Account; CurrentAccount.GetAccountItem(AccountItemType.CashValue, Currency.Unknown).Value;
- d) To the previous one: possibly in case of Forex the simulation account is suited only for the testing of 1 forex pair?
- e) To the previous one: if d) point is true, then would the solution be to set high the Account Initial Cash at the testing of Sim and Reply, thendo not care about it, but write separately the handling of my own money accounts and initial margin with my own variable?
- f) Do the Cash Values have any other meaning in simulation mode then to interfere the trade with more money like on the account? (because if it has no other meaning, then I could get round it with the solution written in point e).
What do I understand correctly and what do I misunderstand?
Thanks in advance,
Comment