ctrader.guru's avatar
cTrader Guru
Follow our website : https://ctrader.guru/
cTrader Guru's avatar

Info

Username:ctrader.guru
Name:cTrader Guru
Member since: 19 Jul 2018
Country:Italy

Favorite symbols:

EURUSD, GBPUSD, USDJPY, AUDUSD, GBPJPY, USDCAD, EURJPY, EURGBP, NZDUSD, EURAUD, EURCAD, AUDCAD

About

We are cTrader Guru, we love cTrader

Signature

Follow our website : https://ctrader.guru/

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?

ZeroMQ : GitHub - zeromq/clrzmq4: ZeroMQ C# namespace (.NET and mono, Windows, Linux and MacOSX, x86 and amd64)

@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 

@Tweet via cBot:  07 Jul 2020, 10:16


 This project work fine 

@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.

Notification Publishing copyrighted material is strictly prohibited. If you believe there is copyrighted material in this section you may use the Copyright Infringement Notification form to submit a claim.
Amazing Donchian
  0
  5
  971
free  24 Feb 2021
Donchian with breakout option CLOSE or HIGHLOW    
Indicator Alert
  0
  0
  1264
free  10 Apr 2020
Monitoring breakout indicators levels, for all indicators with source exposed, simple and powerful
Trend Vision
  2
  0
  1243
paid  02 Dec 2019
Signup & Download FREE : https://ctrader.guru/product/trend-vision/  
Mega Channel
  0
  0
  933
paid  02 Dec 2019
Signup & Download FREE : https://ctrader.guru/product/mega-channel/
Warning! Executing cBots downloaded from this section may result in loss of funds. Use them at your own risk.
EMA Power
  2
  5
  238
free  30 Apr 2022
      ​       Hello friends, today I want to share a simple cBot that should be an example to show that simplicity is always the best solution. Developers can use the Template as a starting point, in fact only the logic of the triggers needs to be changed, the rest is handled. The trigger or market entry is done by just 2 simple EMAs, the real difference is the management of this trigger which can be customised as you see fit.   DESCRIPTION  Identity EMA Power 1.0.7 : The name and version of the cBot, this parameter contains the link to our website, you can change this in case you want to save a new preset. Label ( Magic Name ) : Similar to number magic for MetaTrader, it is used to identify a strategy. Preset information : Some references to the preset in use, useful if you want to specify a specific back test period. Strategy Open Trade Type : The type of trade you want to open, e.g. Buy positions only. Stop Loss : The number of pips for the stop loss, e.g. 10 equals 10 pips. Take Profit R:R 1:? : The risk: reward ratio, e.g. 2 means that the take profit will be 2 times the stop loss, so if the stop loss is 10 the take profit will be 20. Close On Trigger? : With this option it is possible to close trades with the trigger, only those against the trigger, e.g. if we have sell and buy positions in the market when there is a new buy trigger it will only close sell positions. Use BreakEven? : Enables the breakeven protection check of positions, taking into consideration the parameters entered in the BreakEven section. Use Trailing? : Enables the trailing protection check of positions, taking into consideration the parameters entered in the Trailing section. Use Deviation Martingala? (bypass all) : Enables the deviation martingala, taking into consideration the parameters entered in the Deviation Martingala section, enabling this feature excludes controls for recovery positions but not triggers. Pause From (18.0 = 18:00) : This parameter identifies the start time of the break, e.g. 18.0 the cBot will no longer open positions from 18:00. To (8.20 = 08:20) : Marks the end of the pause, e.g. 8.20 the cBot will start opening new trades from 08:20. Filters Max Spread allowed : Only triggers within a certain limit are considered, e.g. 1.5 will only consider spreads equal to or less than 1.5 pips. Max GAP Allowed (pips) : Protects against high volatility, e.g. if the value is 1 then all trades that have a GAP greater than 1 will be ignored, GAP is the distance between the close of the previous candle and the open of the current one which must not exceed 1 pip. Max Number of Trades : The maximum number of trades generated by the triggers, e.g. if the value is 1 after the first trigger no more trades will be opened if there is already 1 trade in the market, no martingale deviation trades are calculated. Money Target Percentage (zero = disabled) : If the value of this parameter is equal to zero then no Money Target is considered, but if for example it is equal to 1 then it means that it will close all positions at the moment when the net profit reaches the value of 1% of the current balance. Minimum Trades to Activation : The minimum number of trades in the market before the control starts, e.g. if the value was 2 then the money target would only be controlled if there were 2 trades or more. Money Management Fixed Lots (bypass all Capital) : If the value of this parameter is equal to zero then it will not enter fixed lots, otherwise it will exclude any calculation, e.g. if the value was 0.02 then it will always open with 0.02 lots. Capital : The capital with which to do the risk calculation if Fixed Lots is zero, you can choose between Balance or Current Equity. % Risk : The percentage of risk to be calculated in proportion to the selected Capital. Pips To Calculate ( empty = stoploss ) : To know how many lots to calculate we need to have the distance in pips, this value serves this purpose, if a value of zero is entered then the cBot will take into consideration the value of the stoploss, if this is also set to zero then a fictitious value of 100 pips will be considered. Drawdown % Max (zero = disabled) : The percentage in proportion to the Maximum Acceptable Loss Balance, if for example the value was 30 out of €1000 Balance then you would close all positions if losses exceed -€300, this is not taken into consideration if in a martingale. EMA Fast : The number of periods to be considered of Exponential Moving Average fast. Slow : The number of periods to be considered of Exponential Moving Average slow. Break Even Activation (zero = disabled) : If the value of this parameter is equal to zero then it is not taken into consideration even if it is enabled, it is the number of pips beyond which the control is activated, for example if it were 12 then when 12 pips are reached it moves the stoploss to entry price + the value entered in the next Distance parameter. Distance : The number of pips to be added to the trade's entry price. Trailing Activation (zero = disabled) : If the value of this parameter is equal to zero then it is not taken into consideration even if it is enabled, it is the number of pips beyond which the control is activated, for example if it were 12 then when 12 pips are reached it moves the stoploss to high price (if buy) - the value entered in the next Distance parameter and this follow the price. Distance : The number of pips to be added to the trade's entry price. Deviation Martingala Multiplier (zero = disabled) : If the value of this parameter is zero then the control will not be considered even if enabled, it is the number of times the volume of the previous trade is multiplied to create exponentiality as positions increase. Max Consecutive Loss (zero = infinite) : If the value of this parameter is equal to zero then it will open an unlimited number of consecutive losing trades, otherwise if it is greater than zero e.g. 3 it would mean that it will get a maximum of 3 consecutive losses. I suggest you optimize only the parameters you need, for example it may be important to optimize the number of EMA periods, or scenarios where there are recoveries with Martingale but also without, this task is up to you. As mentioned at the beginning, use this template as an example of development by changing only the triggers, do not forget to share interesting presets and follow cTrader guru on all social networks. Homepage : https://ctrader.guru/ Telegram : https://t.me/ctraderguru Twitter : https://twitter.com/cTraderGURU/ Facebook : https://www.facebook.com/ctrader.guru/ YouTube : https://www.youtube.com/cTraderGuru GitHub : https://github.com/ctrader-guru     ​
free  28 Sep 2021
Hello friends, we have just released the ZeroMQ version of Bifrost, the Copy-Trading Cross-Terminal cTrader / MT4 / MT5 system. Its operation is easy and intuitive, I recommend you to practice with a demo account, you can use it with any broker, even those who use strange names for pairs :)    
Sarry
  9
  5
  728
paid  09 Mar 2021
#Sarry is one of the most powerful scalper ever, if you don't believe me download the backtest only version and do your tests. Download Here    
Trend Master
  11
  5
  681
paid  18 Feb 2021
  #TrendMaster  is one of the most powerful cBots ever developed, its reliability and robustness is close to perfection, the free version is enabled only for backtests, I recommend not buying it but using the PRO subscription by accessing many #presets already optimized by ours community (2 years of optimizations)   DOWNLOAD : https://ctrader.guru/product/trend-master/          
free  17 Feb 2021
  We are really excited about sharing our best totally free cBot ( just a free registration required to download ), find more details at this address https://ctrader.guru/product/engulfing/
Multi Dashboard
  0
  0
  1205
paid  02 Dec 2019
Hi all, this is a new release of Multi Dashboard u can download here a free version with 4 cross major, enjoy !