Looking for scalping cbot

Created at 18 Dec 2020, 19:31
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
MA

mamamicka

Joined 04.12.2020

Looking for scalping cbot
18 Dec 2020, 19:31


For my customer, I am looking for a good scalping robot. My client has 0.2 - 0.3 pip trade cost in total, so anything above 1 pip TP is superb.

After proof that the robot is what it should be, can offer a decent reward. 

 

Thanks in advance. 


@mamamicka
Replies

linkersx
29 Dec 2020, 01:44

RE:

mamamicka said:

For my customer, I am looking for a good scalping robot. My client has 0.2 - 0.3 pip trade cost in total, so anything above 1 pip TP is superb.

After proof that the robot is what it should be, can offer a decent reward. 

 

Thanks in advance. 

hey, HI!

This would be an example of a money making cBot running on cTrader:

//This is an example of an event driven multi barType & timeframe && multi Instrument 
//fully backtestable tick by tick cTrader Robot using LinkersX Event Driven Trading API
namespace cAlgo.Robots
{
    [Robot(TimeZone = TimeZones.UTC, AccessRights = AccessRights.FullAccess)]
    public class cTrader_cBot : Robot
    {
        private TicksX gu1;
        private BarsX gum1;
        private BarsX gum5;
        private BarsX gum15;
        private BarsX gum60;
        private BarsX gum240;
        private BarsX gur10;
        private BarsX guur200;
        private SwingX gusw1; 
        private SwingX guswm5;
        //MarketProfilesX is a custom driven, memory wise unrestricted version of BarsX BarSeries container
        // for storing independent BarX Market Profile Bars
        private MarketProfilesX mpgu1; 
        
        [Parameter(DefaultValue = 0.0)]
        public double Parameter { get; set; }

        protected override void OnStart()
        {
            gu1 = new TicksX("GBPUSD", 1, this);
            gum1 = new BarsX(ref gu1, BarType.Minute, 1);
            gum5 = new BarsX(ref gu1, BarType.Minute, 5);
            gum15 = new BarsX(ref gu1, BarType.Minute, 15);
            gum60 = new BarsX(ref gu1, BarType.Minute, 60);
            gum240 = new BarsX(ref gu1, BarType.Minute, 240);
            
            gur10 = new BarsX(ref gu1, BarType.Range, 10);
            
            // declare ONE BarX bar starting from startTime in the Future
            // UltimateRenko BarType 200 pips in size.
            guur200 = new BarX(ref gu1, startTime, BarType.UltimateRenko, 200); 
            
            //
            gusw1 = new BarX(gum1, 1); // attach SwingX High Low algorythm to gum1 1min chart
            guswm5 = new BarX(gum5, 1);

            gum1.OnEvent += onEvent;
            gum5.OnEvent += onEvent;
            gum15.OnEvent += onEvent;
            gum60.OnEvent += onEvent;
            gum240.OnEvent += onEvent;
            gut56.OnEvent += onEvent;
            guur200.OnEvent += onEvent; // BarX will notify us when the Bar is done.
        }

         // various event types examples... All subscribed events will execute on onEvent
        public EventX onEvent(EventX e)
        {
          if(e._non_Farm_Employment_Change)
          {
           return e; // watch out! Non-Farm Employment Change event in Play! Just Do nothing
          }
         
          if(e.newBarHigh && e.id == gum15.id)
          {
           //our 15 minutes GBPUSD Bar is making new Highs x-> do something :-)
          }
                 
          if(e.dailyHigh  && e.bars.symbolName == "GBPUSD")
          {
          // if event is new daily high and symbol name is "GBPUSD" then print out new daily high
          }
          
          //my favorite money Maker ;)
          //if event is new swing high and barseries is 5min gum5 and retracement from last swing up on a 5min chart is 50 percent
          if(e.id == gum5.id && e.newSwingHigh && e.swingHigh[0].fibonacci(50)) 
          {
           // Do something
          }
          //-----------
        }
    }
}

 


@linkersx