The size of the deviation is relative to the certain setup. I am just proving you that it happens in all platforms. It is not a matter of skills to fix it, it is a matter of understanding the maths behind this to comprehend it.
when you move a stop order or i think any order on the chart, its supposed to make that sound to confirm the adjustment has registered with the platform. Sometimes it does not make this sound and the order line only moves on the chart you moved it in, the rest of the charts that are open for the same asset, show the order in its original price point, as the change has not registered. So one chart shows the change, this is definitely misinformation and can cause confusion.
Im aware of the bug so when i dont hear the sound and dont see the other charts update, i just click on the order one more time to make the change stick.
I noticed that when im moving the order, if i fully stop mouse movement before letting go of the click, it will register no problem, but if the mouse cursor is still moving when you let go of the click, that is when the bug surfaces.
Please prioritize this fix as it is getting in the way of one of the primary functions of the platform, editing orders.
Hi there,
We were able to reproduce the sound issue but we could not reproduce the multiple charts issue. May we have a video demonstrating the steps you follow to make this happen?
Unfortunately I cannot understand the question and I guess many other readers. Could you please rephrase and provide some examples of what you are doing?
Best regards,
Panagiotis
I think what the OP is asking is if he's writing either a bot or a custom indicator that references a common indicator like the EMA, does the code execute faster if he references the native indicator in cTrader, or codes his own EMA within the custom indicator/bot he's writing.
Since nano-seconds can make a difference, he's essentially wonder if anyone's done any bench marks to see which way is faster.
That's how I read it.
In principle no, as long as the implementations are identical. However, since there are always specifics in each case, this needs to be checked on a case by case basis.
When I run the indicator for the first time, nothing is displayed to me. To solve the problem, the ctrader must be closed once and opened again. Or should change the profile to show the button. This problem did not exist until a few months ago. This problem appeared with the new program update
Can you record a video demonstrating these steps?
Unfortunately, the site does not allow me to post videos or links
Hi there,
I do not think there is a problem with links but you can send us the video at support@ctrader.com
I followed your instructions, but my bot is still not working. And I reconstructed it so it looks like this
//#reference: ..\Indicators\John.algo using System; using System.Linq; using cAlgo.API; using cAlgo.API.Indicators; using cAlgo.API.Internals; using cAlgo.Indicators;
namespace cAlgo.Robots { [Robot(TimeZone = TimeZones.UTC)] public class HAK : Robot { [Parameter("Initial Volume", DefaultValue = 1, MinValue = 1)] public int InitialVolume { get; set; }
[Parameter("Initial Stop Loss", DefaultValue = 40)] public int SL { get; set; }
[Parameter("Initial Take Profit", DefaultValue = 40)] public int TP { get; set; }
public bool isAlreadyInTrade; public IndicatorDataSeries haClose { get; set; } public IndicatorDataSeries haOpen { get; set; } public John HAJ; string label = "HAK";
I do not see my instructions being followed anywhere, neither I can help with partial code. You don't seem to use any output IndicatorDataSeries, therefore your Calculate() method is probably not evaluated.
how can I test for the pip size of the last bar closed?
Here you go
var barPipSize = Math.Abs(Bars.ClosePrices.Last(1) - Bars.OpenPrices.Last(1)) / Symbol.PipSize;
Best Regards,
Panagiotis
Thanks very much Panagiotis!
I've noticed at particular times when the London and New York hours overlap that the big banks move the markets, so I am trying to develop a cBot to look for these large aggressive buy and sell candles and “follow the whales” with a long or short trade. So 3 candles on a short time frame more than 20 pips could trigger an automated trade with a take profit and stop loss.
What method can I use to trigger a trade between specific UTC+3 times?
Really appreciate your help.
Thanks Steve
Hi Steve,
There is no specific method, you would need to implement the specific checks yourself by checking Server.Time.
PanagiotisCharalampous
05 Mar 2024, 06:50
Hi ncel01,
Please share a full screenshot of the UI and submit some troubleshooting information when this happens.
Best regards,
Panagiotis
@PanagiotisCharalampous