Hi experts!
I was wondering if there is an AFL command to toggle the 'Pad and align data to reference symbol' option in the Analysis settings?
Thank for advance!
Hi experts!
I was wondering if there is an AFL command to toggle the 'Pad and align data to reference symbol' option in the Analysis settings?
Thank for advance!
You should be using Analysis Project file (.APX) to save both formula and settings within one file and don't clutter formula with setoption calls.
Hi Tomasz,
Thanks you for your reply. I am looking for a way to automate my morning routine using an Analysis Project (.APX) file to avoid manual configuration and keep my AFL code clean from option calls.
I have two specific AFL files that require different system settings:
I want to combine both into a single project file so that I can run them sequentially every morning before the market opens. How should I structure in the .APX file to ensure each step applies its own specific "Pad and Align" setting?
Please help me code demo file for my home work.
Thanks for your helpping.
By one file, he means 1 APX file each for 1 configuration of AFL+settings.
In your case, there will be 2 APX files.
Then you can use Batch to schedule them.
Thank for your Reply.
But I don't know how to creat APX file+Settings. Could you please help me step by step to creat APX file+Setting. And then use batch to my schedule.
Thanks for help.
when you open your AFL in any Analysis Window,
then you configure your settings
![]()
once done, follow:
go to Menu file -> Save As
you can see .APX file extension in the Save Dialog
You can see all your APX files from File-> Recent Files menu.