Topics
12 Feb 2015, 23:17
 4831
 7
06 Nov 2014, 21:09
 1894
 2
Replies

Dogtrader
13 Feb 2015, 11:08

Could you be more specific ... all we can find is this: 

Execute a Market Order

Syntax

public TradeResult ExecuteMarketOrder(TradeType tradeType, Symbol symbol, long volume, string label, double? stopLossPips, double? takeProfitPips, double? marketRangePips, string comment)

Parameters

NameDescription

tradeTypeDirection of Trade

symbolSymbol of Trade

volumeVolume of Trade

labelRepresenting label

stopLossPipsStop loss in pips

takeProfitPipsTake profit in pips

marketRangePipsmarket range (slippage) pips

commentorder comment

According this description the ExecuteMarketOrder() method takes volume as long type (long is integer type). This method doesn't take double (floating point value). I can only recalculate lots to volume by contract size or account balance. 


@Dogtrader

Dogtrader
07 Nov 2014, 18:08

Hi, I was in the midst of entering parameters in a cBot when cAlgo crashed (white screen). When I got it back up all my entries and chart settings were gone. In a perfect world there would be no crashes but in the meantime is there a way I can back cAlgo up (and restore) settings and user data? Curtis


@Dogtrader

Dogtrader
05 Nov 2014, 15:20

Could someone please explain how to set up an email alert notification (to be used in a cBot when a trade is opened or closed). The required parameters were coded in and the "email notification" dialog box filled out. I thought I was getting close but the system sent out an "email confirmation link" which i could not activate since I used my phone's email address (which is where I want the email alert to go). This should be a relatively easy process ... ?? Thank you for your help whoever you may be. 


@Dogtrader