2008-Oct-10, 03:08 PM
|
#1
|
|
Learner
Join Date: 2008-Sep-16
Posts: 0
Highlights: 0
Experiences: 1 
|
|
Dynaorder v3.08 Interactivebrokers Fxcm Metatrader Tradestation Metastock
|
Dynaorder is a multi-platform system, i.e. it allows to generate order execution requests from different charting programs. Of course, the charting program should allow to load 3rd party DLL and to call its functions.
How the system works:
The heart of Dynaorder system is a Host program. It runs at the background and establishes the connection with the broker-provided order execution software. Check the Home page for the list of the supported broker platforms.
The Trader programs the charting software to load the appropriate Dynaorder DLL interface (it might be DOTS5.DLL or FXDOTS5.DLL or some OLE Object - you need to check the Online Help page to see which interface works with your charting program AND with your broker).
Then trader programs his/her own trading system (or uses 3rd party trading system compatible with the charting software) and includes the calls to Dynaorder functions/methods (like "BuyMarket" or "SellStop").
Here is an example for JavaScript of eSignal 7.x (the example is NOT an actual code):
var OrderID = 0;
if ( getCurrentBarIndex()==0 && ... your actual condition ... )
OrderID = dots5.call("SellMarket", ... actual parameters ... );
Here is an example for Easy Language of Tradestation (the example is NOT an actual code):
Variables: OrderID(0), MyCondition(False);
If ... your actual code... Then MyCondition = True;
If LastBarOnChart AND MyCondition Then OrderID = S_SELLMARKET(...actual parameters...);
In the example above, when the MyCondition variable becomes True, the code calls SELLMARKET function of Dynaorder system.
SELLMARKET() function tells the Host program to place a Market Sell order using the specific parameters (symbol name, exchange, etc) used for the actual call.
Host program places an order and receives the unique ID from the broker software, which is returned as the result of SELLMARKET() function.
The charting program may save this ID at the global variable and use it later for checking the status of the specific order:
Here is an example for JavaScript of eSignal 7.x (the example is NOT an actual code):
var Status = "N/A";
var OrderPrice = 0;
Status = dots5.call("GetOrderStatus", OrderID );
OrderPrice = dots5.call("GetOrderPrice", OrderID );
Here is an example for Easy Language of Tradestation (the example is NOT an actual code):
Variables: Status("N/A"), OrderPrice(0);
Status = GETORDERSTATUS(OrderID); { Returns the status of the order }
OrderPrice = GETORDERPRICE(OrderID); { Returns the price the order was filled }
The Host program begins to monitor the placed order and puts it to the Log which may be viewed and saved to the text file for analysis. All status changes for the placed orders are immediately displayed at the Log Window which may be showed up on your screen:
The scheme below shows how the orders are routed from the charting program to the Host and then to the broker software (blue arrows) and how the information on order status is returned back to the charting program or may be viewed directly in the Host program (maroon arrows):
Primary Download Link(Faster):
No file, if any, is stored in our servers. Only external download links
are provided by third party file sharing/hosting services like badongo,
divshare, fileden, filefactory, filefront, mediafire, megaupload,
megashares, mihd.net, multiply.com, rapidshare, rapidsharing,
rapidupload, turboupload, sendspace, sexuploader, uploading.com, zshare, zupload etc. (Disclaimer: The owner of this site is
not responsible for any content made by anyone else in the forum. The owner does not sell or own anything here. The contents are provided "as-is". Please support the developers if you like their products/services. They need your money to support their fine research and work.)
All download links are stored offline and only accessible by staff members. This website NO LONGER STORES download links in its database.
[Hidden Content]:
Membership: Moderators(版主)
You need belong to Moderators(版主) usergroup before you can see the hidden content or attachment link.
|
Contributed by blueysnow
|
Last edited by JoeDOM_Admin : 2008-Oct-12 at 11:47 AM.
Reason: unfortunately,Not working,
|
|
|