cbot in an indicator area
Created at 02 Dec 2023, 23:20
CT
cbot in an indicator area
02 Dec 2023, 23:20
Hi there
I'm trying to create an order management tool/cbot. I want to place the UI for it in an IndicatorArea so as not to clutter the main chart. As far as I can tell, inheriting from Robot eliminates this possibility. Is that correct? or if not, how might I do so?
Assuming the above is correct, and that I can't have a cbot draw a UI on to an indicatorarea, can I create an indicator inheriting from indicator that draws the UI elements to the IndicatorArea, but then ‘trigger’ a cbot that has the actual code to interact with the orders?
Thanks
Glenn
PanagiotisCharalampous
04 Dec 2023, 08:43
Hi Glenn,
In principle, this is possible. You can create an indicator, and use files, named pipes or any other communication mechanism to communicate between the instances.
Best regards,
Panagiotis
@PanagiotisCharalampous