The Elite Circle - Clicker -- to enter ChartTrader orders with left mouse click, SPACE BAR press ChartTrader CLOSE Button programatically
futures io


Categories Help    

The Elite Circle
File sharing for Elite Members only, includes any and all platforms and file types


Entries
Clicker -- to enter ChartTrader orders with left mouse click, SPACE BAR press ChartTrader CLOSE Button programatically 5 *
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 
 
Suggest other entries I might like
 


 
Category
 



Copyright © 2021 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada), info@futures.io
All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.