I have a situation where the 1-minute candles in trading look different to the way they look after trading. As you can see in the picture, the first bar(9:31) is red, after I turn off auto trading, close MC and open it again, the first bar is green, it can be seen in the pictures.
How is that possible?
Different candles - same data
-
- Posts: 2
- Joined: 20 Dec 2022
Different candles - same data
- Attachments
-
- Auto Trade.JPG
- (84.57 KiB) Not downloaded yet
-
- Affter restart MC.JPG
- (130.51 KiB) Not downloaded yet
- Svetlana MultiCharts
- Posts: 645
- Joined: 19 Oct 2017
- Has thanked: 3 times
- Been thanked: 163 times
Re: Different candles - same data
By default, real-time minute bars are not saved to the database because the real-time bars can be different from the historical minute bar from the data provider’s server. So MultiCharts requests the minute data from the provider’s server next time you request this information. That is why some historical data is loaded even when you use the same data range you were running before - the historical minute bars replacing the real-time minute bars are being loaded. In order to change this behaviour, you can enable “Save real-time minute bars to the database” option in File -> Preferences -> Data -> Data server mode. Restart all MultiCharts components to have the changes applied.