You are comparing the wrong candles. The h4 candle you have marked starts at 14:00 and the daily candle starts at 18:00. So your h4 candle belongs to the previous day.
Best regards,
Panagiotis
Version - not very good! Directly below it (h4 candle) it says November 26th. And the day ends with h4 candle 22:00. And my mark at 18:00 is the mark from the D1 candle, made on the low day candle on November 26! Those. there are no other lows, and on the h4 chart there should be a low NOT LOWER than the low from the D1 timeframe, because it shows the LOWEST point reached by the price. But as we see, THIS IS NOT SO! Or do you want to say that the daily candle should show the low of the LAST candle within the day, even if there were lower lows during the day?!?!??
Hi there,
The daily candle bars start at 00:00 UTC+2. It's a convention. Your chart us set to UTC-4. So your D1 candles start at 18:00. The charts have no problem, you just need to understand what they are showing.
Best regards,
Panagiotis
Where can I see this agreement? What's the point of setting a different time zone in the settings - if the daily candles will be displayed not according to it, but to some other zone?!
I don't understand what do you mean with agreement. I have explained how it works and how it is used by millions of users. You just need to understand how it works.
I know you posted this some time ago. I'm wondering if you got it working?
I'm trying to connect my ctrader account to FXblue and I'm having similar issues to what you did.
When I click Authorise I get 5 error messages with regard to ‘error occurred on the script’. I click yes all the way through and when I finally click on ‘Allow Access’ it says “Unable to obtain tokens from Ctrader”.
Neither C-trader or FXblue seem to be able to help. Ctrader told me to speak to FXblue and FXblue said they're trying to speak to c-trader but have had no response!
Appreciate any assistance.
Michael
Hi Michael,
FXBlue never contacted us regarding any issues with our API. Only them can solve this unfortunately.
Renko charts are constructed using tick data, you do not need any other timeframe to create them. It's not a feature of TradingView, it's a workaround due to the lack of tick data. They are trying to approximate renko charts using bar data.
I am having issue that when using copy trading my oil trades (XBR and XTI on IC Markets) are not copied by the account that is copying my trades? both accounts with IC and both have same balance approx 3.2K both accounts also 1:500. Is there a specific reason for this ?
Hi there,
You should check execution issues with your broker first.
You are comparing the wrong candles. The h4 candle you have marked starts at 14:00 and the daily candle starts at 18:00. So your h4 candle belongs to the previous day.
Best regards,
Panagiotis
Version - not very good! Directly below it (h4 candle) it says November 26th. And the day ends with h4 candle 22:00. And my mark at 18:00 is the mark from the D1 candle, made on the low day candle on November 26! Those. there are no other lows, and on the h4 chart there should be a low NOT LOWER than the low from the D1 timeframe, because it shows the LOWEST point reached by the price. But as we see, THIS IS NOT SO! Or do you want to say that the daily candle should show the low of the LAST candle within the day, even if there were lower lows during the day?!?!??
Hi there,
The daily candle bars start at 00:00 UTC+2. It's a convention. Your chart us set to UTC-4. So your D1 candles start at 18:00. The charts have no problem, you just need to understand what they are showing.
There is probably something wrong in your configuration that we cannot see. Please check a bit more.
Best regards,
Panagiotis
Over the past year, I have done well over 3,000 optimizations, and it’s definitely not always been clear to me what the logic behind the results is, as the optimization and backtest results should match, which they don’t at all. I can’t see where a potential error could be in my configuration. Maybe I can get a more precise hint? We agree that the results should be the same when I import the optimization result into the parameters, right? Once this is done, I click on backtest and, of course, check the data from the optimization and the backtest parameters, including the date. What I can’t see is whether the import of the backtest includes things like wrap and other criteria, but logically, these things should be included when importing the optimization data. I am trying to perform another simple test based on one of your robots from your system.
Hi there,
I can't give another hint since it works fine on my side. Can you record a video with the all steps you take to reproduce this issue? Maybe we are missing something. I am also doing optimizations over the last 8 years and any time I encounter a discrepancy, 99% is some kind of an oversight on my side.
You are comparing the wrong candles. The h4 candle you have marked starts at 14:00 and the daily candle starts at 18:00. So your h4 candle belongs to the previous day.
Can you please explain the issue a bit better? I am not sure what I am looking at.
Best regards,
Panagiotis
I set the lower limit of the day one candle at a time on the D1 timeframe, go to h4 and there is NO SUCH low for this day in the shadows of 4-hour candles. He is 20+ points lower there. The two screenshots show these TWO situations - D1 and h4 with an index line by date.
Can you share better screenshots where we can see the broker, the symbol, the timeframes and the dates?
Please share the code you are using to print these values.
Best regards,
Panagiotis
Hi - see code below. Thanks.
protected override void OnStart() { _macd = Indicators.MacdCrossOver(SlowMAPeriod, FastMAPeriod, SignalLinePeriod); Print("MACD-Analysis started with MACD parameters: Fast MA = {0}, Slow MA = {1}, Signal Line = {2}", FastMAPeriod, SlowMAPeriod, SignalLinePeriod); }
// Check for zero-line crossing if (lastMACD.HasValue) { if ((lastMACD < 0 && macdValue > 0) || (lastMACD > 0 && macdValue < 0)) { // A zero-line crossing occurred ProcessWave(macdValue < 0); } }
lastMACD = macdValue; // Update the last MACD value //Print("Last MACD = " + lastMACD) ;
}
Hi there,
You are printing the _macd.MACD.LastValue which prints the value of the current at the opening of the bar and then you compare it with the MA values of closed bars. The LastValue can change by the time the bar is closed. You should print _macd.MACD.Last(1) instead.
Thank you for reporting this issue. Could you pleasesend us some troubleshooting information the next time this happens? Please paste a link to this discussion inside the text box before you submit it.
Best regards,
Panagiotis
Ok, ho appena seguito la procedura del video e mandato in questo momento la richiesta. Purtroppo nella schermata non c'era il pulsante per essere ricontattato, ma ho scritto in quel messaggio che se ce n'è bisogno mi potete contattare per eventuali ulteriori comunicazioni in merito a questo problema.
PanagiotisCharalampous
05 Dec 2024, 06:58
Hi there,
You can find the Open API endpoints in the link below
https://help.ctrader.com/open-api/proxies-endpoints/
Best regards,
Panagiotis
@PanagiotisCharalampous