
cTrader Guru

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: 16 Nov 2022, 11:06
This project has no supporters, so I don't waste time with updates, when there start to be sponsors I will come back to this project. No one likes to work for free.
Become a sponsor: https://github.com/sponsors/cTrader-Guru
@cBot - Engulfing - 100% automatic: 04 Aug 2022, 11:07
This project moved here cTrader Guru | Engulfing
@Trend Master: 04 Aug 2022, 11:01
This project has become free for all cTrader Guru | cBots Mega Pack
@Copy-Trading for cTrader / MT4 / MT5: 04 Aug 2022, 11:00
This project has become free for all cTrader Guru | Bifrost
@Copy-Trading for cTrader / MT4 / MT5: 12 Jul 2022, 20:49
Bifrost update 1.1.4 fixed a minor bug with new version of ctrader 4.2 and higher https://ctrader.guru/?repository=bifrost&category=cbots
@Copy-Trading for cTrader / MT4 / MT5: 09 Jul 2022, 14:46
@MT to cTrader Trade Copier: 30 Jun 2022, 10:41
If you want to copy trades to and from MT4 / MT5 / cTrader you have to use Bifrost, which is free and will become open source next year if there are an adequate number of sponsors:
- Download | https://ctrader.guru/?repository=bifrost&category=cbots
- Tutorial | https://www.youtube.com/watch?v=Y3CV074hQTU
Installation is very simple, only assistance is given to sponsors to keep the project free.
@Copy-Trading for cTrader / MT4 / MT5: 27 Jun 2022, 15:17
this error is very strange, it seems Do not derive from the ctrader, contact me on Telegram and let's try to investigate together
@Copy-Trading for cTrader / MT4 / MT5: 19 Jun 2022, 12:15
This is a free project; support and any modifications and customizations are made only to sponsors https://ctrader.guru/
@EMA Power: 23 May 2022, 08:53
this cbot uses a template that includes methods for educational purposes only, I like to make my students understand how things work, I deliberately left some old methods, which are now natively included, to teach how to extend objects.
If you are good enough, you will know how to modify them.
@Copy-Trading for cTrader / MT4 / MT5: 09 May 2022, 15:37
For security reasons, you can only use Bifrost on the same PC.
@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
- de40chash.: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: 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.
@Copy-Trading for cTrader / MT4 / MT5: 28 Oct 2021, 12:10
Bifrost update 1.11 Bifrost | cTrader Guru
- Fixed Translation issue, pair uppercase
@Copy-Trading for cTrader / MT4 / MT5: 26 Oct 2021, 17:55
Bifrost update 1.10 Bifrost | cTrader Guru
- Fixed Translation issue for Index like GER30
@Copy-Trading for cTrader / MT4 / MT5: 21 Oct 2021, 18:24
Bifrost update 1.09 Bifrost | cTrader Guru
- Fixed a little bug
- Add Telegram Notify
- Add Translation pair, es. from GER30 to DE30 (GER30:DE30)
@Copy-Trading for cTrader / MT4 / MT5: 05 Oct 2021, 15:29
I see the position is opened by an EA, if you try to open a position in manual does it return the same error?
I need more information, come here https://t.me/ctraderguru
@Copy-Trading for cTrader / MT4 / MT5: 05 Oct 2021, 13:54
Hi @Miroslav
I have posted a video showing the correct function.
- Bifrost from MT5 to cTrader - YouTube
Free support here https://t.me/ctraderguru and ask for Bifrost
@Copy-Trading for cTrader / MT4 / MT5: 29 Sep 2021, 10:54
Fixed , thanks for your support ctrader.guru su Twitter: "#Bifrost 1.0.7 (8) fixed little bug from MT5 to cTrader, thanks user "Miroslav" https://t.co/PwnvZNimwX #Update #Changelog" / Twitter
@Copy-Trading for cTrader / MT4 / MT5: 28 Sep 2021, 23:45
Tested now, work fine, please record a video
@Trend Master: 31 May 2021, 10:05
Hi @kenneyy_eur
Trend Master is a very solid and stable cBot, the optimizations we share are very stable and I earn the right, however Trend Master can also be used as a #scalper depends on how it is optimized and what you want it to do, we are very proud to have created a very powerful cBot
@Trend Master: 25 May 2021, 09:00
...this is what happens when a customer buys and puts Trend Master to work https://ct.topfx.com/copy/strategy/27121
@Trend Master: 25 May 2021, 08:58
@gmkenneyy u can download backtest version, pay attention to the "Scarica la versione di prova o Patreon PRO" button, at the bottom of the page you will find a combobox where you can select your language and translate the site, remember only backtest or pay for full version
@Martingale Robot: 06 May 2021, 10:30
A strategy like this scalper found here Adrenaline with ctrader.guru technology inside, this week special offer, enjoy!
@Trend Master: 29 Mar 2021, 15:49
#TrendMaster 1.1.7 #Free #Preset https://www.patreon.com/posts/49343771
@Sarry: 24 Mar 2021, 11:41
@evgrinaus If you buy sarry you don't need a subscription and the license is lifetime including all updates
@vikkygm86 the backtest was done with the exact server ticks
@Trend Master: 26 Feb 2021, 16:16
#TrendMaster Preset Patreon Free ForAll : Trend Master preset 15m Amazing (reverse) | cTrader Guru su Patreon
@Martingale Robot: 10 Dec 2020, 19:04
Add To Reverse on loss trade, good for trend following bad for lateral
// -------------------------------------------------------------------------------------------------
//
// This code is a cAlgo API sample.
//
// This robot is intended to be used as a sample and does not guarantee any particular outcome or
// profit of any kind. Use it at your own risk
//
// All changes to this file will be lost on next application start.
// If you are going to modify this file please make a copy using the "Duplicate" command.
//
// The "Sample Martingale Robot" creates a random Sell or Buy order. If the Stop loss is hit, a new
// order of the same type (Buy / Sell) is created with double the Initial Volume amount. The robot will
// continue to double the volume amount for all orders created until one of them hits the take Profit.
// After a Take Profit is hit, a new random Buy or Sell order is created with the Initial Volume amount.
//
// -------------------------------------------------------------------------------------------------
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, AccessRights = AccessRights.None)]
public class MartingaleRobot : Robot
{
[Parameter("Initial Volume", DefaultValue = 1000, MinValue = 0)]
public int InitialVolume { get; set; }
[Parameter("Stop Loss", DefaultValue = 40)]
public int StopLoss { get; set; }
[Parameter("Take Profit", DefaultValue = 60)]
public int TakeProfit { get; set; }
[Parameter("To Reverse?", DefaultValue = true)]
public bool ToReverse { get; set; }
private Random random = new Random();
protected override void OnStart()
{
Positions.Closed += OnPositionsClosed;
ExecuteOrder(InitialVolume, GetRandomTradeType());
}
private void ExecuteOrder(long volume, TradeType tradeType)
{
var result = ExecuteMarketOrder(tradeType, Symbol, volume, "Martingale", StopLoss, TakeProfit);
if (result.Error == ErrorCode.NoMoney)
Stop();
}
private void OnPositionsClosed(PositionClosedEventArgs args)
{
Print("Closed");
var position = args.Position;
if (position.Label != "Martingale" || position.SymbolCode != Symbol.Code)
return;
if (position.NetProfit > 0)
{
ExecuteOrder(InitialVolume, position.TradeType);
}
else
{
TradeType reversed = (position.TradeType == TradeType.Sell) ? TradeType.Buy : TradeType.Sell;
ExecuteOrder((int)position.Volume * 2, (ToReverse) ? reversed : position.TradeType);
}
}
private TradeType GetRandomTradeType()
{
return random.Next(2) == 0 ? TradeType.Buy : TradeType.Sell;
}
}
}
@Trend Vision: 01 Sep 2019, 18:33
Signup & Download FREE : https://ctrader.guru/product/trend-vision/
@cBot - Engulfing - 100% automatic: 31 Aug 2019, 08:41
optimize every month
Ti consiglio di seguire il nostro gruppo Telegram https://t.me/ctraderguru
@cBot - Engulfing - 100% automatic: 29 Aug 2019, 09:56
Signup & Download FREE : https://ctrader.guru/product/engulfing/
@cBot - Engulfing - 100% automatic: 28 Aug 2019, 16:14
Use this cBot online for Forex cross, EURUSD ; USDJPY ; etc...
@cBot - Engulfing - 100% automatic: 25 Aug 2019, 11:33
Hi, I always suggest to do an optimization for the last 6 months and to repeat the optimization every month, there is no cbot in the world able to satisfy every market period so you have to adapt periodically
Ciao, io consiglio sempre di fare un'ottimizzazione per gli ultimi 6 mesi e di ripetere l'ottimizzazione ogni mese, non esiste al mondo un cbot in grado di soddisfare ogni periodo di mercato quindi bisogna adeguarsi periodicamente
@TRENDpilot: 18 Aug 2019, 00:21
hem, you use RSI; ATR; and what ? Stochastics ? no man, this is bad way to explore a good strategy, naaaaaaa !
Because? simply, because a spike would be enough to upset every single indicator and your strategy lose all money.
@cBot - Engulfing - 100% automatic: 18 Aug 2019, 00:14
@sifneosfx you're out of the way, this cbot uses an input pattern called Engulfing, do you know what a pattern is? do you know what the Engulfing pattern is?
This cBot, after entering the pattern, manages the money management and finally the closure, all automatically!
@cBot - Engulfing - 100% automatic: 17 Aug 2019, 08:40
I didn't say 100% profit but 100% automatic, it means that you don't have to do anything, think of everything like openings, management and closures
This is 100% cbot !
Last Forum Posts
@cAlgo.API.MessageBox not work: 07 Oct 2022, 13:08
.NET6 project | cAlgo.API.MessageBox | not work, error :
Crashed in Initialize with TypeLoadException: Could not load type 'cAlgo.API.MessageBox' from assembly 'cAlgo.API, Version=1.0.0.0, Culture=neutral, PublicKeyToken=3499da3018340880'.
Any idea?
@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