NexusFi: Find Your Edge


Home Menu

 





HOW SOLID IS AUTOMATION IN AMIBROKER?


Discussion in Platforms and Indicators

Updated
      Top Posters
    1. looks_one alex27 with 11 posts (1 thanks)
    2. looks_two JFDerzi with 8 posts (11 thanks)
    3. looks_3 prouser with 2 posts (1 thanks)
    4. looks_4 alligator with 2 posts (0 thanks)
      Best Posters
    1. looks_one JFDerzi with 1.4 thanks per post
    2. looks_two LePulp with 1 thanks per post
    3. looks_3 prouser with 0.5 thanks per post
    4. looks_4 alex27 with 0.1 thanks per post
    1. trending_up 20,300 views
    2. thumb_up 14 thanks given
    3. group 15 followers
    1. forum 32 posts
    2. attach_file 0 attachments




 
Search this Thread

HOW SOLID IS AUTOMATION IN AMIBROKER?

  #21 (permalink)
mady72
Ludhiana + India
 
Posts: 9 since Oct 2015
Thanks Given: 2
Thanks Received: 0

hey... I m also a big amibroker Fan... And using it for automatic trading in India and its doing fine...

U mentioned abt moving average crossover(He is using moving averages crossovers to get in and out of the market (terrible system, just to make the example easier).) I knw its a terrible system and i wish to knw abt some good systems if u could help me with it...

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
MC PL editor upgrade
MultiCharts
ZombieSqueeze
Platforms and Indicators
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
Trade idea based off three indicators.
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Just another trading journal: PA, Wyckoff & Trends
34 thanks
Tao te Trade: way of the WLD
24 thanks
Bigger Wins or Fewer Losses?
18 thanks
GFIs1 1 DAX trade per day journal
16 thanks
Vinny E-Mini & Algobox Review TRADE ROOM
13 thanks
  #22 (permalink)
 GuppyDRV 
Seattle
 
Experience: Intermediate
Platform: MultiCharts 10
Broker: InteractiveBrokers, IQFeed
Trading: ES
Posts: 58 since Nov 2015
Thanks Given: 19
Thanks Received: 7

Hello all,

For me optimization speed is my primary concern. I already use NT7/IB with IQFeed for my current trade setup. Problem is I'm not a programmer. I'm a portfolio hedger turn options day trader turn futures day trader looking to automate. The reason I have used NT7 is the ability to run Bloodhound (no affiliation) and the native NT7 strategy wizard to develop my manual trading style into an automated system. NT7 is god awful slow so any efficient long time period optimization is out. Hence my interest in Amibroker. Do they have a NT7 style strategy wizard or a 3'rd party add on I can purchase that would allow for a point and click type development process?

Any help would be appreciated.

GuppyDRV

PS: How did the FX traders do last week when the dollar took a nose dive? I hope some buying opportunity.

Reply With Quote
  #23 (permalink)
alex27
Surrey - UK
 
Posts: 41 since Sep 2015
Thanks Given: 12
Thanks Received: 8


Hi Everyone,


Is there any progress on making the autotrading on amibroker with IB any better?

Is it possible to buy calls and puts options on IB with amibroker autotrade ?

Reply With Quote
  #24 (permalink)
sandip1952
Kolkata+West Bengal+India
 
Posts: 3 since Apr 2017
Thanks Given: 4
Thanks Received: 1

@JF Derzi and all AB experts

I gave up using AB (though I have restarted) for the following reasons, one of which was touched by JF.

1) If you don't want to use crossovers and say, enter by slopes of several indicators, the entry condition will remain valid at every bar and trades will continue to fire within the same bar, even though an entry may have actually been taken (traded) on the first appearance of the signal. This doesn't look easy to handle and is restrictive, to say the least. Fixing the first signal that appears, without allowing it to repaint, may be a solution imo.

2) If I am using 1 hr tf, I may not want to wait till the bar close to enter trade because of a substantial potential loss in profit in a trending market. It is even more risky to wait till close on exit. There should be an option to enter/exit on an "immediate" mode and AB must accept the traded prices as the entry/exit prices.

3) There is virtually no "tutorial" in the usual sense of the term. The vast manual doesn't teach. It's like learning English from a dictionary.

Would love to hear from you!

Reply With Quote
  #25 (permalink)
alex27
Surrey - UK
 
Posts: 41 since Sep 2015
Thanks Given: 12
Thanks Received: 8

Im with you !

Im not a coder I think its the best backtesting engine out there but its to complicated.


I think if they made it easy to add a autotrade feature and good customer service they would be number 1 in no time.

I feature like MC.net on how to link up brokers nice and easy would be really good and data.


Great platform, but you need a coder to do anything with it.

Kind regards,
A

Reply With Quote
Thanked by:
  #26 (permalink)
alex27
Surrey - UK
 
Posts: 41 since Sep 2015
Thanks Given: 12
Thanks Received: 8

Any Ninja coders with Amibroker out there?

Reply With Quote
  #27 (permalink)
galindog
Danbury Connecticut USA
 
Posts: 5 since Feb 2014
Thanks Given: 0
Thanks Received: 1

Hi. I 've been with AB for at least 3 years now and when I am stuck I usually fire off a support ticket to Marcin, wait a couple of days , then reluctantly call my consultant in India for $50/hour. To me, two days is the tipping point where the $50 seems cheap now than waiting another 2 days. So if anyone needs his info, LMK.

EDIT:
Just got off Skype with him, he also does Ninjascript (which he tells me is the "AFL" of ninjatrader). let me know if you need info. His name is Vivek form Bangalore India.. so there is a time difference issue to consider.

Reply With Quote
  #28 (permalink)
oddis1971
Riga+Latvia
 
Posts: 5 since Aug 2017
Thanks Given: 0
Thanks Received: 1


JFDerzi View Post



For example, you most be careful to not send the SAME order over and over.

Ex: Let's imagine someone that is a day trader, trading on 5-minute bars.
He is using moving averages crossovers to get in and out of the market (terrible system, just to make the example easier).

To avoid sending reapeat orders, is this a code that can be a template for all strategies you trade? I have been trying to find info about this, but unfortunately it is limited.

I have absolutely no previous experience in programming, and AB seems to be made by programmers for programmers.

I find it very strange that AB does not have a built in function to avoid sending repeat orders. For me as a non programmer it takes a hell of a lot of time to learn it.

The same goes for bar completion. If you have a strategy meant for EOD bars, it buys and sells before the bar is completed unless you program it to wait.

Reply With Quote
  #29 (permalink)
TheNewTrader
bahrain bahrain
 
Posts: 1 since Sep 2017
Thanks Given: 0
Thanks Received: 0

Hi JF,

I am new to automated trading with amibroker.

After developing my simple strategy, I found that there are multiple buy orders got sent to the market by the same signal generated in Amibroker.

do you have any sample code that got some conditions to prevent this from happening?

I really need any help here.

thank you in advance

Reply With Quote
  #30 (permalink)
alligator
paris france
 
Posts: 10 since Sep 2013
Thanks Given: 8
Thanks Received: 5


There can be two reasons for sending multiple orders.

First your 'Buy/Short' conditions may be true for multiple successive bars. To avoid that write
 
Code
Buy = ExRem(Buy, Sell); Short = ExRem(Short, Cover);
after Buy/Sell etc and before sending orders

Second, your script may be evaluated several times on the same bar due to streaming quotes.
To avoid that, it's recommended to evaluate your script in Scan using Auto-Repeat with the convenient period (adjust
period to timeframe e.g if you trade on 1min bar set Auto-Repeat to 1min). Read
AmiBroker Knowledge Base » How to setup automatic periodic scans & explorations

Note that you can prevent sending multiple orders by using the technique described here
AmiBroker Users? Knowledge Base » Preventing Repeat Orders and Whipsaws

Finally test your script in simulation in various conditions before going live. Good luck.

Reply With Quote




Last Updated on January 7, 2019


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts