I’m currently migrating a large MetaTrader MQL4 program to NinjaScript and am looking for some equivalents:
How can I retrieve in NinjaScript:
- the number of digits after decimal point for the current symbol prices (in MQL4: Digits)
- the current symbol point value in the quote currency, e.g. 0.0001 (in MQL4: Point). I’m not talking about the TickSize here.
- The minimum order quantity for an instrument (in MQL4: MarketInfo (Instr, MODE_MINLOT)
- The maximum order quantity for an instrument (in MQL4: MarketInfo (Instr, MODE_MAXLOT)
- The step for changing the order quantity (in MQL4: MarketInfo (Instr, MODE_LOTSTEP)
- The directory, from which NinjaTrader was launched (in MQL4: TerminalPath())
- The currency of the account (in MQL4: AccountCurrency())
- The minimum distance from the current price for a stop (in MQL4: MarketInfo (Instr, MODE_ STOPLEVEL))
Is there a way to draw text using x- and y-coordinate, instead of x-bars ago and y-coordinate?
Thanx in advance for any help.
- forexfan
Comment