Open Blank Chart window through OLE in amibroker

I trade live market on call and put option at 9:00,10:00 ,11:00 ,12:00.i have multiple afl for each time and different call and put ticker decided at that particular time . How i can open multiple blank chart window and run different afl in each window with different ticker through OLE in amibroker.

If you saved blank chart as DEFAULT TEMPLATE you would just call Open method from Documents collection.

Please share code how i will load afl formula in new Document window through jscript and run it in live feed

There are many examples in Users Manual AmiBroker Object Model

I think my question was misunderstood, there is not a single example given ,where you can select your choice of AFL file in selected chart window . If it is ,please share me the code

This topic was automatically closed 100 days after the last reply. New replies are no longer allowed.