i want calgo documentation
i want calgo documentation
15 Sep 2013, 12:50
hi ,,
i want calgo documentation like this site
how open order and close order or sl,tp
and mql4 method
AccountEquity()
MarketInfo()
Symbol()
NormalizeDouble()
OrderSend()
GetLastError()
Point
OrdersTotal()
OrderSelect()
OrderMagicNumber()
OrderProfit()
OrderOpenPrice()
OrderClose()
OrderTicket()
OrderLots()
OrderSymbol()
OrderType()
....... how i can use like this method in calgo
thank you
Replies
ctid205024
04 Nov 2015, 14:15
Literally all links pointed out by spotware return 404. How basic is to implement an URL redirect when you move content?
@ctid205024
aimerdoux
04 Nov 2015, 15:54
RE:
This post was removed by moderator because it duplicates another post. /forum/cbot-support/7059
@aimerdoux
cAlgo_Fanatic
16 Sep 2013, 12:35 ( Updated at: 15 Jan 2024, 14:51 )
Hello,
Thank you for the suggestion. We are currently working on improving the documentation on cAlgo.
For the time being you can find examples for the above requests here:
Market Order Request
Create Market Order
Close
Full List of Trade Requests - Create Market Order Requests, Pending Orders
Trade Interface - Create & Send to Server Market Order Requests, Pending Orders
Equity
Full List of Account Interface
Symbol Interface
Current Symbol
Math.Round(double value, int digits)
Trade.Send()
Note: The above is only used in combination with Requests. It is not necessary if Trade Interface methods are used.
OnError() & [ErrorCode]
PointSize
See also PipSize
Account.Positions.Count & Account.PendingOrder.Count
See also: Lists
Not Applicable.
See these examples:
OnPositionOpened
/api/position example with foreach loop.
In general see all methods under Robot
For all below see Position Interface & Pending Order Interface
Position Label & Pending Order Label
GrossProfit & NetProfit
EntryPrice
Trade.Close
Position.Id & PendingOrder.Id
Position Volume & Pending Order Volume
Position.Symbol & Pending Order Symbol
Position TradeType
Pending Order TradeType
TradeType
@cAlgo_Fanatic