It is an external program called' AutoHotKeys' as mentioned in the threads I linked.
I can 100% vouch that it knows what price the cross hairs are at and I then press one key (that I assigned) to place various types of orders at that price. There is no reason why you cannot substitute my press of a key with the press of a mouse button.
As I said AutoHotKey can do anything you can do with typing on a keyboard or mouse controls.
It is an external program so you can write scripts for it to do any function on your computer that you can do with a keyboard and mouse.
I already have an external keyboard macro manager.
But I am going to integrate this click trader with my other indicators. I have developed a system of interdependent indicators that talk to each other via an indexed global array structure.
So, the click trade needs to know the state of a specific indexed item in this array structure inside of compiled C#, in an indicator that is not even on the chart. The array structure is hosted in an indicator executing in a Market Analyzer.
From this variable the click trade will make decisions.
I don't know how an external macro utility would be able to do that.
If you know how, please advise me.
Also, I want to avoid the right mouse click popup that happens when one clicks on the chart.....it distracts me even if it only flashes.
I have received preliminary replies on the new thread.
The interface for C# trade management is in NinjaTrader.Core.dll, but it is undocumented and unsupported (by NT)
NinjaTrader.Client.dll and NTDirect.dll evidently only work from external applications, as far as I can tell there is no way to link them into the Ninja architecture because there are reference conflicts. (?)
Once I am able to find the correct NinjaTrader.Core command syntax I will be able to complete the indicator
I'm using global variables to pass order/cancel information from an indicator to a strategy in the Strategy Tab of Control Center. It is working really good for my automated trading.
But for this I want to use a different method because it is for manual trading and I don't always have the strategies enabled.
I did find the iObject documentation of data structure and methods for submitting, managing positions, and canceling orders. It is what Ninja calls "unmanaged". (I had not been aware of these methods, though I'm sure many more advanced coders are.)
Unfortunately with these methods I see no way to submit an ATM order.
Could you give me more information on pipes, if you have time?
OIF files will work fine, I think, but I don't really like them. I am thinking of having an external DLL which simply passes a command string to NinjaTrader.Core or NTDirect....not sure if that would work.
If I don't make any progress soon I will use OIF files, though there does seem to be a slight delay to their execution. Then later try the external dll approach.
(That is, unless there is a way to use iObject methods for ATM)