Topics
06 Jun 2019, 17:34
 1212
 3
16 May 2019, 04:33
 1465
 3
08 May 2019, 00:41
 1203
 3
07 May 2019, 13:26
 1072
 1
26 Apr 2019, 04:45
 1708
 5
24 Apr 2019, 21:34
 1085
 1
Replies

lec0456
20 May 2013, 21:30

ok great!


@lec0456

lec0456
20 May 2013, 07:09

why do you have toinitialize ReddrawLines?  Intead of just calling it  OnCalculate

 

protected override void Initialize()
        {
            RedrawLines();
        }

@lec0456

lec0456
16 May 2013, 02:32

 

I did that but it didn't give great results.  You just use an if statement:

if (closedPositon<InitialVolume*4)

ExecuteOrder((int) position.Volume * 2, position.TradeType);

else 

ExecuteOrder((int) position.Volume, position.TradeType);


@lec0456

lec0456
03 May 2013, 18:22

Currently cTrader does not support robots with multiple timeframes.  You would have to purchase third party software.


@lec0456

lec0456
29 Apr 2013, 19:16

Well, there is already a trend line tool a rectangle tool, and an ellipse tool in cTrader manually.  My question was that they don't have the ability to change line thickness or set fill colors.

 

But it would also be great to have that capability programatically in cAlgo as well.


@lec0456

lec0456
26 Apr 2013, 06:38

has this bug been fixed?

has this bug been fixed?


@lec0456

lec0456
25 Apr 2013, 03:53

Looks like you are calling the OpenPosition procedure and I don''t see one in your code...  What are the exact errors?


@lec0456

lec0456
23 Apr 2013, 19:20

I thought it would be nice to create a indicator that would beep when the price rose or fell 10pips from the entry of a position.  I could do it with a robot but there is no way to run robots from cTrader.  Since i would use this only when manually trading, I would prefer to include it within an indicator that I have for notifying market activity.  I guess another way would be to make robots available for running from cTrader.  What do you think about that possibility?  That makes sence also for things like trailing stops.  If you decide to put one in while manually trading you have to go to cAlgo.  The change between screens could take up valuable time.  If you could select a robot to run from cTrader, you could have your trailing stops available from that interface.  I think it would be an improvement.


@lec0456

lec0456
23 Apr 2013, 19:10

Thanks


@lec0456

lec0456
23 Apr 2013, 03:49

Could you provide the code for the momentum oscilator? please


@lec0456

lec0456
22 Apr 2013, 23:01

Thats pretty easy to do and I think it could be valuable.  if someone here doesn't do it first, I will when I get some free time...Regards


@lec0456

lec0456
22 Apr 2013, 18:06

Oh, and the subscribe button seems to be working now! Thanks


@lec0456

lec0456
22 Apr 2013, 18:05

Awesome, works like a charm! Didn't realize you could do it that way.


@lec0456

lec0456
21 Apr 2013, 01:55

Wow, Thanks algotrader!  That worked like a charm.  I could have sworn I tried that but I must have had the backslash instead of the forward slash.  Thanks again


@lec0456

lec0456
19 Apr 2013, 23:17

Any ETA on correcting this?  I still can't subscribe to my threads!!  its difficult respnding


@lec0456

lec0456
19 Apr 2013, 23:14

I still get the same results. missing data

 

on 4/15/2012 there is about 2 hours of missing data?  it skips from 00:03 to 02:32.  This is on the Trader's way platform.


@lec0456

lec0456
16 Apr 2013, 20:12 ( Updated at: 21 Dec 2023, 09:20 )

Also, I changed my PC setting to 24 hour format and the server time in cTrader still shows 12hr format.  take a look...  This was taken at 8:07 PM Cyprus time, 1:07pm my time, the chart says 20:07


@lec0456

lec0456
16 Apr 2013, 14:55

But why does my PC setting  only affect the chart or the server time and not both?


@lec0456

lec0456
15 Apr 2013, 06:17

I havn't tested it but These guys say they have an imediate  solution.  http://scyware.com/

Although I would like to know the ETA on that functionality from cTrader as well.


@lec0456

lec0456
06 Apr 2013, 05:11

Yup, its almost the same:

if(Account.PendingOrders.Count>2)




@lec0456