Topics
Replies
PanagiotisCharalampous
22 Nov 2018, 10:31
Hi Luigi,
You will need to use some loops. See below.
var highest = MarketSeries.High.Last(1); for (int i = 2; i <= 12; i++) { if (MarketSeries.High.Last(i) > highest) highest = MarketSeries.High.Last(i); } var lowest = MarketSeries.Low.Last(1); for (int i = 2; i <= 12; i++) { if (MarketSeries.Low.Last(i) < lowest) lowest = MarketSeries.Low.Last(i); }
Let me know if this helps,
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
22 Nov 2018, 10:23
Btw viewing options are saved in chart templates. Therefore you can change your default chart template to one that does not have positions and deal maps enabled. Let me know if this helps.
@PanagiotisCharalampous
PanagiotisCharalampous
22 Nov 2018, 10:07
Hi tasr1r1,
We will consider your suggestion.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
22 Nov 2018, 10:01
Hi fringou.bfe,
You cannot have multiple colors on a single line.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
22 Nov 2018, 09:59
Hi netread2004,
The problem could be that the order is never accepted. Can you post your order message as well? Maybe there is a problem there.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
21 Nov 2018, 16:02
Hi fringou.bfe,
You have two lines because you have defined two output parameters, HMAup and HMAdown. Can you explain to us what are you trying to do?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
21 Nov 2018, 15:30
Hi netread2004,
1) I added tag 7 and worked fine. Can you please share the message with tag 7 and the response you receive?
2) I will need more information like the messages sent and received.
3) This is probably caused due to the other issues.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
21 Nov 2018, 15:09
Hi fringou.bfe,
The reason your indicator does not work is because it crashes during execution. hma variable is not initialized therefore it is null when you try to access it. Do you need that variable? It does not seem to be used anywhere.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
21 Nov 2018, 09:32
Hi gastaodm,
cBots have access to all open positions hence they can manage positions opened manually. What do you need to do exactly?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
21 Nov 2018, 09:27
Hi 1222Ht,
Can you share the indicator with us so that we can check?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
20 Nov 2018, 10:47
Ηι Janse,
On UTC + 2 you will not see any double lines since the markets open at 12:00 am UTC +2 on Monday. Probably you were using UTC + 3 till October 27th due to summer time and this is why you were seeing the double lines.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
20 Nov 2018, 09:44
Hi haimonagardiner,
Thanks for posting in our forum. This issue has been fixed in version 3.3. OMF will receive the update soon.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
20 Nov 2018, 09:26
Hi William,
Try the following condition
if(Time.Hour == 23 && Time.Minute == 0 && Time.Second == 0) { }
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
20 Nov 2018, 09:21
Hi netread2004,
The advantage of using quote prices via FIX API is that you can get the price stream via an API. Therefore you do not need to rely on cTrader UI for pricing since you can use the FIX API price stream and build your own application. Prices received via FIX should arrive slighly faster since there is no UI overhead. The same applies for trades sent via FIX. Therefore the benefit of using FIX is faster communication with the server. There is no difference when it comes to prices and spreads.
Let me know if this answers your questions.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
19 Nov 2018, 15:32
Hi Ton,
You cannot draw an infinite rectangle. It would not be a rectangle then, but two lines. Try setting extreme values.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
19 Nov 2018, 15:02
Hi netread2004,
The FIX sample is just for demonstrating how to send and receive FIX messages. If you want to create a proper FIX engine there is a lot you need to do. Connections are usually dropped when heartbeats are not send on frequent intervals e.g. every 10 seconds. So try sending heartbeats and let me know if it resolves the problem.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
19 Nov 2018, 14:00
Hi netread2004,
I am not sure what do you mean with normal price. The prices you receive via FIX are exactly the same with the ones you receive in cTrader.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
19 Nov 2018, 12:55
Hi Nasser,
Can you please give us more information about when this exactly happens? If you can provide us with the steps you follow it will be helpful. Also if you can record a short video so we can see when do you get this message, it would help us even more. If you can do so, please send the video to community@spotware.com.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
19 Nov 2018, 12:35
Hi irmscher9,
If possible, please send us troubleshooting information (Ctrl+Alt+Shift+T) next time this happens.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
22 Nov 2018, 10:47
Hi terryww2,
Thanks for posting in our forum. I could not reproduce this on either of the brokers. Can you please try refreshing the charts and let me know if it resolves the problem?
Best Regards,
Panagiotis
@PanagiotisCharalampous