Jump to content

Welcome to the new Traders Laboratory! Please bear with us as we finish the migration over the next few days. If you find any issues, want to leave feedback, get in touch with us, or offer suggestions please post to the Support forum here.

  • Welcome Guests

    Welcome. You are currently viewing the forum as a guest which does not give you access to all the great features at Traders Laboratory such as interacting with members, access to all forums, downloading attachments, and eligibility to win free giveaways. Registration is fast, simple and absolutely free. Create a FREE Traders Laboratory account here.

robertm

Solution for Referencing Multiple Symbols and Timeframes

Recommended Posts

Hi guys,

 

So I've coded up my expert in Amibroker with far less pain than anticipated (although I haven't started pushing the hard points on the to do list yet).

 

My next step involves how to handle the alert outputs. I'm running around 20 symbols on various timeframes on RT feed. My early steps involved simply plotting the expert on the chart and tying this to an early warning alert, and a close of bar alert (output goes to alerts list, and I get a nice visual reference for early stages of building and checking the system as well as handy things like changing the chart background when a trade is about to confirm).

 

With around 20 symbols on a single 5m timeframe Amibrokers resource meter is screaming 200% of capacity already, but time wise still processing everything fine, and CPU/Memory load is nothing. Do I need to worry about this? Opening a new Amibroker window for each timeframe seems one solution as the load is window specific as they the load drops as timeframes increase.

 

Even so, loading up 100 or so charts obviously isn't the optimal solution given I just need alerts. Part of doing this is to cut back the number of screens and minimize the information I need to deal with. Thus an alert list telling me what chart to look at is somewhat ideal (ultimate goal is reduce it to smartphone capability to receive/act on alerts, but that's for later).

 

So I'm thinking the following solutions :

 

1. I run it as a scan set to repeat say every 1 minute as this would be required to set off my alert which is timed for 60 seconds before bar close. Output results to a watchlist but this means keeping a close eye on it, or can I just tell the scan to output alerts as well?

 

2. Somehow reference the multiple timeframes from the AFL code within a single symbol chart (possibly using TimeFrameCompress function and giving it a hard list of what times to scan what timeframes). This would allow me to keep the graphical display alerts on the chart (color change) and address the trades from the alert list or text output in the chart header telling me what timeframe is confirming. It will substantially increase the AFL code load though.

 

3. I go to another platform better suited to this. Is anybody doing this successfully on other platforms?

 

4. Turn it over to something like Strategy Runner and automate it (a probable future side project exploration but not what I want at this point).

 

Suggestions and advice appreciated :-)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.