This little indicator is given in humble thanks to the BMT community. Thank you!
No image....indicator has no plots and does not draw anything on the chart. except for debugging.
This BETA/Experimental code is intended to be used by other coders who want to customize it to their needs.
For example, the Quantity field on ChartTrader is converted in this code to an integer. This code does not know all the special cases possible for this Quantity field. It could be that, for example, Forex brokers use non numeric characters in this field, such as commas, or a code for 1 Million, et cetera. This code will fail with a string conversion error in these situations. It is up to you to provide the solution as you integrate this code to your usage.
USE AT YOUR OWN RISK on LIVE ACCOUNTS. Methods used to submit orders and cancel positions are not supported by NinjaTrader. Author provides no warranties of any kind.
You need to have "ATI Interface" selected on the Control Center / File / ATI Interface.
version: Beta V 1.2
Coded Actions:
Left Mouse + Shift = Place BUY with ChartTrader Account, Quantity, ATM at the price clicked on chart
Left Mouse + Control = Place SELL with ChartTrader Account, Quantity, ATM at the price clicked on chart
Space = Press ChartTrader CLOSE button (programmatically)
Change Log:
Beta 1.1 Added Globalization to set the decimal point to a period and not comma (ToString(usa))
Beta 1.2 Handle null object -- When ChartTrader is hidden Clicker will neither submit orders, nor close positions
Coders:
* There are print and draw line in code for debugging
* You will need to handle condiitions when selected ATM is Active, None, or Custom
Thanks noted in code to vvMiniTradePanel indicator and user decs0057.
Category The Elite Circle
|
|
|