[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [amibroker] Re: Trading platform + AB



PureBytes Links

Trading Reference Links

This can be done now using GetCursorMouseButtons(), GetCursorXPosition() and GetCursorYPosition() . HOWEVER there is no function that returns the ChartID for the chartpane over which the mouse is clicked. So, while you can write the code to trade directly on the chart, i.e. you can define sensitive areas and set the price by clicking at the right price level. The problem is that not knowing over which pane the mouse was clicked makes it extremely risky to trade real money this way. If I remember correctly even mouse clicks outside the chart pane are detected and can place orders. What is needed is a function like GetCursorChartID().


...I remember having great fun placing orders this way; it is extremely FAST! 


best regards,

herman 


However chart-trading otherwise works very nice and 


For tips on developing Real-Time Auto-Trading systems visit:

http://www.amibroker.org/userkb/


Tuesday, January 29, 2008, 6:56:16 PM, you wrote:


> Tomasz,


> How hard would it be for you to provide the ability to click directly 

> on a price chart with any mouse button and have an AFL function 

> called as a result?


> Fix-named event routines could get called like:


> [1st two are what eSignal has, 3rd one they don't but should because 

> the middle mouse button is rarely used by charting programs]


> onLButtonDown(barIndex, yValue) 

> onRButtonDown(barIndex, yValue)

> onMButtonDown(barIndex, yValue)


> With this addition, I could trade in real-time directly from the 

> price chart by using the yValue, which is price.  I wouldn't 

> need "price ladders" or dialog-based order entries(unless I chose to 

> have more specific control over the trade for stops and targets once 

> I'm in from the direct order entry on the price chart) or pop-up 

> menus, etc. etc.


> Also, I could setup a chain of trades to occur where I press several 

> locations and interpret this to be a series of trades which would be 

> executed in an unattended sequence and automatically cancel the 

> pending setups in the sequence if price did not go the way I had 

> planned.  [we all know how this works..."I'll go long this support 

> and if price gets to this resistance level without having already 

> taken me out of the first trade, I'll reverse short, etc.]


> Pretty powerful stuff for such a simple interface.  Intraday futures 

> scalpers would love it.  




> --- In amibroker@xxxxxxxxxxxxxxx, "Tomasz Janeczko" <groups@xxx> 

> wrote:


>> Hello,


>> You can place trades with AmiBroker:

>> See auto-trading docs:

>> http://www.amibroker.com/at/


>> and User's KB:

>> http://www.amibroker.org/userkb/


>> http://www.amibroker.org/userkb/category/real-time-auto-trading/


>> Best regards,

>> Tomasz Janeczko

>> amibroker.com

>> ----- Original Message ----- 

>> From: "damiantodaro" <damian@xxx>

>> To: <amibroker@xxxxxxxxxxxxxxx>

>> Sent: Tuesday, January 29, 2008 7:03 AM

>> Subject: [amibroker] Trading platform + AB



>> > I've been researching TA tools and I quickly fell in love with 

> AB. 

>> > I've already plugged in a RT feed, coded some clever systems and 

>> > backtested, etc. Being a programmer, I picked up AFL in about 3 

>> > minutes and have already created a library of goodies.

>> > 

>> > I was (my fault for not reading) stupified that I could place 

> trades 

>> > with AB. I know. I guess I was thinking that since TradeStation 

> and 

>> > Tradecision could...   

>> > 

>> > So my primary question of the evening is: What have you 

> experienced 

>> > folks settled on for intraday and swing trading of the strategies 

>> > you tested in AB? TradeStation? IB?

>> > 

>> > Are you all coding in two different languages... one for scanning 

>> > and backtesting, and one for active trading? Or are you using 2 

>> > computers and acting as a human interface between AB and your 

>> > trading software? LOL.

>> > 

>> > Thanks so much for your feedback.

>> > 

>> > Damian

>> > damian@xxx

>> > 

>> > 

>> > 

>> > 

>> > Please note that this group is for discussion between users only.

>> > 

>> > To get support from AmiBroker please send an e-mail directly to 

>> > SUPPORT {at} amibroker.com

>> > 

>> > For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:

>> > http://www.amibroker.com/devlog/

>> > 

>> > For other support material please check also:

>> > http://www.amibroker.com/support.html

>> > 

>> > Yahoo! Groups Links

>> > 

>> > 

>> >






> Please note that this group is for discussion between users only.


> To get support from AmiBroker please send an e-mail directly to 

> SUPPORT {at} amibroker.com


> For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:

> http://www.amibroker.com/devlog/


> For other support material please check also:

> http://www.amibroker.com/support.html

>  

> Yahoo! Groups Links


> <*> To visit your group on the web, go to:

>     http://groups.yahoo.com/group/amibroker/


> <*> Your email settings:

>     Individual Email | Traditional


> <*> To change settings online go to:

>     http://groups.yahoo.com/group/amibroker/join

>     (Yahoo! ID required)


> <*> To change settings via email:

>     mailto:amibroker-digest@xxxxxxxxxxxxxxx 

>     mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx


> <*> To unsubscribe from this group, send an email to:

>     amibroker-unsubscribe@xxxxxxxxxxxxxxx


> <*> Your use of Yahoo! Groups is subject to:

>     http://docs.yahoo.com/info/terms/

>  

__._,_.___

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

For other support material please check also:
http://www.amibroker.com/support.html




Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___