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

[amibroker] Export Trade Characteristics to text file



PureBytes Links

Trading Reference Links

I am trying to export the trade characteristics to a text file so I
can analyse the trades with MSA.

My current code uses mid-level customer backtest object and is looping
through the closed trades and exports the trade characteristics fine.
However, to do a proper analysis in MSA I also need to access the
initial risk set per trade and here is the tricky part. 

The initial risk for my system is not a fixed risk (e.g. 2%) but is
derived from the SL which is set as the LLV(L,3). So ideally I would
like to export the initial SL level or Risk (= entryprice-SL level). I
cannot seem to make this happen as the trade.getprice() method won't
let you access any other array then O,H,L,..

Any hints?

Regards, Michael.


------------------------------------

**** IMPORTANT ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

*********************
TO GET TECHNICAL 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/