EM
emeeder
Blocked user by Spotware at 06 May 2014, 00:42
0 follower(s) 0 following 0 subscription(s)
Replies

emeeder
08 Feb 2015, 06:16

Thats probably the best chart i have ever seen.

What's the problem? Why not run it live?

Give me the code, i'll run a few test, and if results are similar i'll run it live and tell you if results are the same.

 


emeeder
18 Dec 2014, 18:15

This morning again. At 11:00 am. I have 3 live trades going on and now it can't connect to server. I tried to use the web Ctrader but could not log in there either!!

Its up again now after 5 minutes.  The web ctrader as well.

Sounds like I am at the mercy of my broker. Is this a Spotware problem or ICMarket?

Anyone else having issues?

 


emeeder
17 Dec 2014, 14:34

Just woke up and Live account is functioning like normal.

Still it is very worrying. Would that have been an issue with my broker (icmarkets) or with Ctrader platform.

I really hope it is an explaineable problem instead of a random uncontrolleable glitch.

As if forex isnt hard enough when everything is working properly...  :(

 


emeeder
17 Dec 2014, 06:31

Is anyone else having issues with Ctrader connecting to server tonight (-5GMT)??

My demo accounts log on no problem like normal.

Live account will not connect. no charts, no prices, nothing. :(

All i see is the 2 loading bars moving back and forth.

Demo accounts load right up.

Im glad i dont have a cbot running...

 


emeeder
11 Dec 2014, 20:28 ( Updated at: 21 Dec 2023, 09:20 )

Is it possible to have a Variable int Parameter for indicator?

Sorry, i posted that too early by accident (btw i wish there was a way to edit our own posts in this forum)

What i want to do is instead of defining the Period Parameter in my cbot, i want the Period to be calculated in the cbot itself and then change based on that calculation.

So similar to the code in the HMA indicator (see below), how diff is a variable calculated in the indicator itself. I want to do something similar for the Period. I have tried a similar approach used in HMA Indicator to find 'diff' but that is not working since the Period value needs to be an 'int'.

Does anyone know how to handle that? Please.


emeeder
11 Dec 2014, 20:28 ( Updated at: 21 Dec 2023, 09:20 )

Is it possible to have a Variable int Parameter for indicator?

Sorry, i posted that too early by accident (btw i wish there was a way to edit our own posts in this forum)

What i want to do is instead of defining the Period Parameter in my cbot, i want the Period to be calculated in the cbot itself and then change based on that calculation.

So similar to the code in the HMA indicator (see below), how diff is a variable calculated in the indicator itself. I want to do something similar for the Period. I have tried a similar approach used in HMA Indicator to find 'diff' but that is not working since the Period value needs to be an 'int'.

Does anyone know how to handle that? Please.


emeeder
05 Dec 2014, 06:16 ( Updated at: 21 Dec 2023, 09:20 )

If loged in with your Ctrader ID you can select what notifications you want sent via email. It doesn't matter if the orders are manual or cbot orders.

It works great and you dont even need to have an indicator or cbot running. You dont even have to have you Ctrader open on your computer.


emeeder
03 Dec 2014, 16:53

Also,

I know that the incator looks at past bars with the 1 minute values instead of ticks. uUnfortunately this allows only about 1 week of the indicator to be shown on the chart since 1 minute data is only available back that far.

Is there anyway you can think of that can solve that issue? or is accuracy just lost the further back you go since one would have to keep uping the timeframe (from 1M to 5 Min to 10Min) so that the indicator will keep displaying farther in history.

I guess maybe that makes the indicator that I suggested above not possible since it will not display back far enough.

 


emeeder
03 Dec 2014, 16:28 ( Updated at: 21 Dec 2023, 09:20 )

Hi Jeex.

I like your indicator and can see the value of it.

I have been trying to think of a good way to automate S+R drawing on the chart. Maybe using the maxminbands indicator modified to look at maxmin of TFV instead of maxmins of wicks or candles, or maybe even an average of the 2 or 3.

The struggle is that i want to keep past lines on the chart and keep adding additional ones. And only the horizantal lines, not the sloping lines to the next level. Ideally i would love to draw 4hr, D, W S+R's on a 15M chart. The indicator would look back as far as it could and just keep adding lines across the chart. They would not all line up, but eventually they would bunch together at stronger levels.

Maybe it would look something like a heat map like below when it is plotted:

Have you tried something like this? Or do you knwo of any indicator that already does something like this?

Thanks.

 


emeeder
12 Nov 2014, 15:46

Is there a way i can manually add or change a label and comment on an existing order?

Can it be done using a cbot? Maybe with a ModifyPosition() argument to add/change a label or comment?

I am trying to get a cbot to identify and take over an existing, manually created position. Once it is identified it would be much simpler to re-label the position since most of my cbots use labels/comments to identify positions.

 

Thanks

 


emeeder
10 Nov 2014, 15:49 ( Updated at: 21 Dec 2023, 09:20 )

Another 6th daily candle. One for Nov. 8th ???

Is this really a broker issue? or does it have something to do with recent Daylight Savings Time changes?

At a quick glance it seems to be ok in previous weeks.

Restarted ctrader and Calgo and tried refresh, but no change.


emeeder
10 Nov 2014, 15:42

Thanks for the replies.

I will just add a pending orders counter that will check to make sure there are no duplicates which may have been created during internet/server outages.

 


emeeder
07 Nov 2014, 18:09

Does OnStart() get called after login/relogin to server?

 


emeeder
07 Nov 2014, 17:52

Sorry, that last post sent by accident

Ok, Thanks for the clarification.

So something like this would solve the problem?

if (Positions.Count(position => position.Label == RobotID) == 2 && PendingOrders.Count(position => position.Label == RobotID) == 0)
            {

//put a timer in here

                if (PendingOrders.Count(position => position.Label == RobotID) == 0)
                       {

 

I assume only placing a timer here would not delay the whole cbot.

 

Is there a way to add a timer that is only called on after login/relogin to server?

are there other collections that may have a delay as well?


emeeder
07 Nov 2014, 17:49

Ok, Thanks for the clasification.

So something like this would solve the problem?

if (Positions.Count(position => position.Label == RobotID) == 2 && PendingOrders.Count(position => position.Label == RobotID) == 0)
            {

if (PendingOrders.Count(position => position.Label == RobotID) == 0)
            {

 


emeeder
07 Nov 2014, 16:29

Maybe try using a simple position counter ( PositionCount = 1;) when each position is opened and and then compare this to Positions.Count.

When 1 of the positions closes, then the count will not be in sync and then close all positions.

if (Positions.Count(position => position.Label == RobotID) < PositionCount)
            {
                foreach (var order in Positions)
                {
                    if (order.Label == RobotID)
                    {
                        ClosePosition(order);
                    }
                }
            }

 

Im not much of a programmer, but it seems to work for me.


emeeder
05 Nov 2014, 16:40

Is there a way that Ctrader could email me a notification whenever it starts up or restarts?

Basically i want to make sure by cbots are running all the time. I dont want there to be a Crash and Restart, whether it is my computer or Ctrader crash, and than my orders are just running wild with my cbots turned off.

Naturally the orders will have server SL's and TP's, but i would prefer the cbots to be in control.

Is this option available like this? Email alert on Ctrader startup/restart?

 


emeeder
15 Oct 2014, 23:56

Hi Ian,

Just an idea. Maybe i am misunderstanding what you want to do, but can't you just put all of your consolidating signal code inside an if("market is not trending") statement.

Then another if("when markets are trending").

Not sure what signal you are using to determine trending or consolidating.

Is it a multi currency robot?

 


emeeder
15 Oct 2014, 18:30 ( Updated at: 21 Dec 2023, 09:20 )

I left my m2 chart open for the day with this indicator. Opened it at around 00.00 Oct 15

The indicator above is accurate when it is being generated in real time. But the historical results are not right.

Does that mean there is something wrong with the indicator or is the problem with the way calgo/ctrader is generating the historical data?

I believe this is why it is hard to get accurate results when backtesting usng this indicator since it seems to generate historical data inaccurately or not per tick.

Do you see what i mean?

 


emeeder
15 Oct 2014, 02:49

Hi Breakermind.

Have you ever backtested your 100pip Up/Down pending order strategy?

Do you always take profit/ loss at Week close price?

I guess you only get  losses at trend change hammer candles or shooting star candles.