
Info
Username: | ctrader.guru |
Name: | cTrader Guru |
Member since: | 19 Jul 2018 |
Country: | Italy |
Favorite symbols:
About
Signature
Last Algorithm Comments
@Copy-Trading for cTrader / MT4 / MT5: 09 May 2022, 15:37
For security reasons, you can only use Bifrost on the same PC.
@EMA Power: 30 Apr 2022, 18:22
Update 1.0.2 Increased precision
@EMA Power: 29 Apr 2022, 21:02
Update 1.0.1 fixed minor bug
@Copy-Trading for cTrader / MT4 / MT5: 21 Apr 2022, 14:01
#Bifrost 1.1.3 buff.ly/3zZIp0T ???? Fixed minor bug in Copier cTrader for Globalization, now work fine on all VPS #Update #Changelog
@Copy-Trading for cTrader / MT4 / MT5: 03 Apr 2022, 08:49
Use the TRANSLATE parameter de40 chash.:de40.
@Copy-Trading for cTrader / MT4 / MT5: 05 Jan 2022, 11:09
Updated expire date to 31.12.2022 https://twitter.com/cTraderGuru/status/1478653828874518528
@Copy-Trading for cTrader / MT4 / MT5: 29 Nov 2021, 06:56
Yes, you can
@Copy-Trading for cTrader / MT4 / MT5: 02 Nov 2021, 19:33
For me work fine, video : Bifrost | MT5 to cTrader example - YouTube
@Copy-Trading for cTrader / MT4 / MT5: 02 Nov 2021, 09:08
YOUR VERSION 1.08 NEW VERSION 1.11, PLEASE UPDATE AND MAKE A VIDEO, I CAN'T HELP YOU IF YOU USE OLD VERSION. YOU ARE ONLY ONE WITH THIS ISSUE, ALL USERS IN THE WORLD WORK FINE.
@Copy-Trading for cTrader / MT4 / MT5: 01 Nov 2021, 18:47
Hi Miroslav, Your Copyer is 1.08 and updated is 1.11 When open with EA, some times with some EA send bad SL/TP Before testing a pair open positions in manual, if it works correctly then the problem is of the EA. Please stop writing the same things over and over again.
Last Forum Posts
@Tweet via cBot: 17 May 2022, 14:56
trend_meanreversion said:
trend_meanreversion said:
Can someone please show me how to send text from cBot to twitter ? I tried TweetInvi as per instructions in below forum conversation but it doesn't seem to work.
I have already got all DLLs via nuget in TweetInvi 4.0 and added them via Manage references in cAutomate. There is no error while building/compiling cBot but it doest work / post tweets (doesn't give any error) as required.
Can someone please help ?
-TRMR
To provide more information on my issue:
1) Downloaded https://www.nuget.org/packages/TweetinviAPI/ v4.0.3 . Unzipped it and got dll files .
2) Used dll files inside "\lib\netstandard2.0" folder and added them via 'Manage References' in cAutomate.
3) Added using Tweetinvi ; ( at top of my code ) and tried to compile
3) Got error Error CS0012: The type 'System.Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.
** To remove above error: Manually edited the .csproj file and adding the reference. <Reference Include="netstandard" />
3) The I had below lines essentially in my code
using Tweetinvi ; ( at top of my code )
Auth.SetUserCredentials("Access_Token", "Access_Token_Secret", "Consumer_Key", "Consumer_Secret"); // In onStart() function
// I have checked access token/secret, consumer token/secret and provided read, write and direct message permissions via https://developer.twitter.com/
4) Got below error:
Crashed in OnStart with TypeInitializationException: The type initializer for 'Tweetinvi.Auth' threw an exception.
Can't resolve it any further..Pls can someone help ? This is supposed to be very simple to just tweet a text via cBot !!
-TRMR
You have to insert a reference to the netstandard.dll, e.g. I use the 4.8 framework and find the reference in C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.8\Facades\netstandard.dll or try finding the library in C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.6\netstandard.dll
@ZeroMQ Issue (can't import unmanaged 'libzmq.dll'): 24 Sep 2021, 15:22
I investigated and it turns out that with cannot insert or manage unmanaged libraries without a reference, even if I copy the library to the root directory it fails to reference that library.
I finally convinced my client that the best solution was NetMQ, I almost finished the project.
Thanks for your interest.
@ZeroMQ Issue (can't import unmanaged 'libzmq.dll'): 24 Sep 2021, 10:13
Good morning my friend,
actually I said that I have already loaded ZeroMQ "...I have loaded ZeroMQ..." but I can't reference the library "libzmq.dll" because ZeroMQ depends on this library.
I made some tests with console applications and I have no problem because I can put this library "libzmq.dll" together with ZeroMQ.dll but with cTrader things are complicated, if you are able to make a working example I would be grateful.
Regarding NetMQ I never had problems, in fact I was asking for help only for ZeroMQ because my client needs to work with that specific library.
Thanks again for your reply, the search continues....
@ZeroMQ Issue (can't import unmanaged 'libzmq.dll'): 23 Sep 2021, 22:21
Good evening friends,
I recently met a project that involves the use of ZeroMQ libraries. I was able to interface the communication protocol with MT4 and MT5 but with cTrader I have some problems.
Through Nuget I have loaded ZeroMQ which is a wrapper to manage 'libzmq.dll', the problem is that it is not possible to insert this library as a reference because it is unmanaged, even if I insert the library in the ctrader.exe folder I can not get results.
Do you have any suggestion?
@Exporting Optimizations Setups: 17 Jul 2021, 11:38
Congratulations for the constant updates, I would like to suggest an option that would solve many sharing problems, export optimization parameters.
It becomes impossible when a cbot has a lot of parameters and sharing them becomes impossible.
This option should have been included a long time ago, don't miss this opportunity.
@Exporting Optimizations Setups: 13 Jul 2021, 16:34
Congratulations for the constant updates, I would like to suggest an option that would solve many sharing problems, export optimization parameters.
It becomes impossible when a cbot has a lot of parameters and sharing them becomes impossible.
This option should have been included a long time ago, don't miss this opportunity.
@cTrader Community Member of the Month - May: 15 Jun 2021, 08:47
Spotware said:
Dear traders,
The winner of the cTrader Community Member of the Month award for May is Leonardo Ciaccio (@LeonardoCiaccio)! Leonardo Ciaccio is the owner of cTrader Guru, a company specialized on cTrader cBots and Indicators. At the same time Leonardo manages his own Telegram channel which focuses on providing trading signals and engaging with Italian speaking cTrader users. Leonardo is also a frequent contributor of custom cBots and Indicators as well as a participant in other community channels.
Congratulations to Leonardo!
❤
@OutputAttribute "LineColor" change issue: 27 May 2021, 16:06
Hi all,
I have a very strange problem, in the following code I intercept the value of the LineColor:
...
private T GetAttributeFrom<T>(string propertyName)
{
var attrType = typeof(T);
var property = this.GetType().GetProperty(propertyName);
return (T)property.GetCustomAttributes(attrType, false).GetValue(0);
}
private void DrawBestandWorst()
{
if (_canDraw())
{
if (bestCurrency.LastValue != 0)
{
var myOutputBest = this.GetAttributeFrom<OutputAttribute>(bestCurrency.Currency);
ChartText myTextBest = IndicatorArea.DrawText("BestCurrency", "BEST » " + bestCurrency.Currency + " » " + bestCurrency.LastValue.ToString("N2"), Bars.OpenTimes.LastValue, bestCurrency.LastValue, Color.FromName(myOutputBest.LineColor));
myTextBest.IsInteractive = false;
myTextBest.FontSize = 12;
myTextBest.VerticalAlignment = VerticalAlignment.Center;
}
if (worstCurrency.LastValue != 0)
{
var myOutputWorst = this.GetAttributeFrom<OutputAttribute>(worstCurrency.Currency);
ChartText myTextWorst = IndicatorArea.DrawText("WorstCurrency", "WORST » " + worstCurrency.Currency + " » " + worstCurrency.LastValue.ToString("N2"), Bars.OpenTimes.LastValue, worstCurrency.LastValue, Color.FromName(myOutputWorst.LineColor));
myTextWorst.IsInteractive = false;
myTextWorst.FontSize = 12;
myTextWorst.VerticalAlignment = VerticalAlignment.Center;
}
}
}
...
It works fine, but if I change the color in the indicator parameters this does not change, the LineColor value is not updated
Here original project
@ChartArea DataSeries: 28 May 2020, 13:03
When i start a cBot and on Chart have for example a RSI how can get last value of this RSI ?
Solutions like this i hope :
- Chart.IndicatorAreas[0].DataSeries.Last(0)
- Chart.IndicatorAreas[0].LastValue
Thanks.