Specifiche
Hello i need this ninjatrader 7
plugin to get mt5/mt4 data
in realtime and same time
tick 1 min 2 min 5 min and daily data
ninjatrader dll functions
https://ninjatrader.com/support/helpGuides/nt7/?dll_interface.htm
DLL Interface Functions
int Ask(string instrument, double price, int size)
Sets the ask price and size for the specified instrument. A return value of 0 indicates success and -1 indicates an error.
int AskPlayback(string instrument, double price, int size, string timestamp)
Sets the ask price and size for the specified instrument for use when synchronizing NinjaTrader playback with an external application playback. A return value of 0 indicates success and -1 indicates an error. The timestamp parameter format is "yyyyMMddhhmmss".
double AvgEntryPrice(string instrument, string account)
Gets the average entry price for the specified instrument/account combination.
double AvgFillPrice(string orderId)
Gets the average entry price for the specified orderId.
int Bid(string instrument, double price, int size)
Sets the bid price and size for the specified instrument. A return value of 0 indicates success and -1 indicates an error.
int BidPlayback(string instrument, double price, int size, string timestamp)
Sets the bid price and size for the specified instrument for use when synchronizing NinjaTrader playback with an external application playback. A return value of 0 indicates success and -1 indicates an error. The timestamp parameter format is "yyyyMMddhhmmss".
double BuyingPower(string account)
Gets the buying power for the specified account. *Not all brokerage technologies support this value.
double CashValue(string account)
Gets the cash value for the specified account. *Not all brokerage technologies support this value.
int Command(string command, string account, string instrument, string action, int quantity, string orderType, double limitPrice, double stopPrice,
string timeInForce, string oco, string orderId, string strategy, stringstrategyId)
Function for submitting, cancelling and changing orders, positions and strategies. Refer to the Commands and Valid Parameters section for detailed information. A return value of 0 indicates success and -1 indicates an error. The Log tab will list context sensitive error information.
int ConfirmOrders(int confirm)
The parameter confirm indicates if an order confirmation message will appear. This toggles the global option that can be set manually in the NinjaTrader Control Center by selecting the Tools menu and the menu item Options, then checking the "Confirm order placement" checkbox. A value