Singapore
Experience: Intermediate
Platform: NT
Broker: ib
Trading: MES
Posts: 365 since Sep 2009
Thanks Given: 90
Thanks Received: 291
|
Hi
I shamelessly borrowed and manipulated some code from Big Mike and vantojo but I have run up against an issue.
I want to populate Chart Trader quantity with my size ( which i have programmed).
If I use
ChartControl.Controls["pnlChartTrader"].Controls["ctrChartTraderControl"].Controls["nudquantity"].Text = PosSize.ToString();
It Does populate the quanity box BUT the right click menu remains the same so I end up in a world of issues. And If Press the buttons like buy market the size is NOT what I programmed.
If anyone knows the trick to sort this out I would be more than grateful.
thanks
|