How to trade live

Guys,
how can AB trade live on intraday single instrument? Please help. I have not found relevant info, where to click, what to do, how to approach this.

I have seen people running exploration and placing trades and closing them manually for stocks. Placing the open orders in a list and looking for closes of the trades.
I have seen examples of doing this with a batch file. Update db, run afl, generate files with orders and running this batch daily.

How about single instrument intraday on the 1m?
I have the live data going on, I got the AFL that's been backtested. For now I have no clue how I will place the orders, but how can I first make AB watch the market with the formula?

Point me please to some info.
Thanks in advance

Man, searching in the forum is hard...

After trying all sorts of combinations of terms I found this:

This seems indeed legit, but how do I know the exploration is running? I don't see an indicator or anything...

Also this might work, it only takes adding 60 schedules.

If you are really trading only one symbol, you can consider adding your AFL to a chart of that symbol. Charts can auto-refresh with your real-time data feed. Each time the chart refreshes, you can determine whether it's time to enter or exit a trade.

1 Like

Thanks for the reply.
How can the orders be automated in this case?
The system is a range breakout. After the minute the range is formed I'll compute 2 orders, long and short (limit orders) and I'd like to get them out of AB somehow to place them to the broker(cTrader).
I'm thinking to make a html call when the range completes (to a restful api that I have to write and can send the order to the broker where I have to be logged in).
Can't help to think that all solutions are 'hacky' :smiley: and I have to 'sync' the backtest with the live data and maybe the chart indicators.

It depends entirely on which broker you use. If it's IBKR, then I suggest that you read about the IBController that @Tomasz has provided as a bridge between AFL and IBKR's TWS.

I use Pepperstone and the account is cTrader so I need to get the orders 'out' of AB and pick them up again to send them to Pepperstone.

coming soon...
BrokerWS: a Trading Interface for AmiBroker

3 Likes

You gotta be kidding me!
You're unstoppable @nsm51!

Awesome!

2 Likes