Topics
Replies
firemyst
01 Jun 2023, 04:55
Example to help you get started:
if (Bars[index].OpenTime.DayOfWeek != DayOfWeek.Sunday)
{
}
else
{
// skip Sunday
}
You just have to make sure your bot is set to work in your time zone, otherwise if your market data is being derived in another time zone, obviously that Sunday might not line up with your Sunday.
@firemyst
firemyst
29 May 2023, 09:30
RE:
PanagiotisChar said:
@firemyst,
No need to tag us on every discussion :) If we haven't replied then probably we can't help. As far as I know this information is not available via the API
Need help? Join us on Telegram
Need premium support? Trade with us
Well there you go @PanagiotisChar. Now that you've responded to this one you've just helped since nobody else seems to have known :-)
PS: I only tag you since you have all the insider info and knowledge about the product, or at least more than us regular joe-schmoes do :-)
@firemyst
firemyst
29 May 2023, 08:49
Great.
Yeah, the mobile version is a bit ridiculous with the little amount you can customize compared to other mobile trading platforms.
Get this, on the mobile version, even the only way to change the chart colors is changing the entire theme on your phone from "light" to "dark". They used to have it where you can specify the chart be in light or dark mode. Now, in order to do that, you have to put your entire phone in "dark theme", which is completely idiotic.
I really think Spotware needs to get a new person, who has actually looked at what competing products are capable of doing, and driving a better mobile version balancing features, performance, and what traders actually want if they do put "traders first".
@firemyst
firemyst
29 May 2023, 06:03
I don't think so. I think what you'll have to do is have a separate button or checkbox to hide the indicator drawings before someone clicks the eyeball to hide the indicator.
This means you'll have to have the indicator keep track of all its drawings so it can show/hide them when the button/checkbox you create is checked/unchecked.
@firemyst
firemyst
29 May 2023, 03:49
RE: Suggestions for mobile
Nick24 said:
Trading:
11:
We need to have a multi-chart mode.
You should explain this a bit more on what you expect from this, because @Spotware will come back and say, "there's already a multi-chart mode", which there is if you click here:
@firemyst
firemyst
29 May 2023, 03:16
( Updated at: 21 Dec 2023, 09:23 )
RE:
lindawati92sufi said:
i buy 0.2 lot eur/usd at 18th and closed it in 19th today
i should pay swap 1.5usd not 15usd
Maybe you should try switching to Pepperstone?
@firemyst
firemyst
29 May 2023, 03:03
( Updated at: 21 Dec 2023, 09:23 )
RE: RE:
Automated_Trading said:
firemyst said:
Read this thread and do what's suggested:
Now the cTrader is loading the data each time I want to optimize or backtest the bot. I ran the backtesting letting the data load. I tried again using the same history, but it loads the data again. It is not saving the data. I closed the cTrader and restarted my computer several times, but the problem persists.
Do you maybe know how to fix this?
@PanagiotisChar? @Spotware? Anyone else?
@firemyst
firemyst
28 May 2023, 14:04
I see this thread hasn't been responded to, so thought I might say something in case it's still an issue? Or you'd like to revisit with a possible work around?
For starters, I would try this:
I haven't used it, but should allow for non-blocking operations because at the bottom of the page, it says, "While a message box is displayed, all other cBot/indicator events will be invoked normally."
Let us know how it works for you.
@firemyst
firemyst
01 Jun 2023, 05:05
RE:
rafiki.matu said:
Just test to see if the current closing price is above/below the 200MA.
@firemyst