Category Trend  Published on 13/06/2024

Prop Firm cBot 2 - Grid and Risk Management (Made with AlgoBuilderX)

Description

// This cBot was created with AlgoBuilderX
//
// AlgoBuilderX is a powerful tool for creating automated trading strategies on the cTrader platform.
// With an intuitive drag-and-drop interface, you can easily build and customize your own trading
// algorithms without any coding knowledge. Whether you're a beginner or an experienced trader,
// AlgoBuilderX offers a seamless experience for developing, testing, and deploying your very own cBot
//
// Visit https://algobuilderx.com to start building your own cBots today!

 

DOWNLOAD FROM HERE: https://drive.google.com/file/d/1ZQOmePcCovfq1D7knL_H_ZedqhLvzb4R/view?usp=sharing

 

This cBot is an example, made for demonstration purposes using AlgoBuilderX and works only on demo accounts.


Through this example cBot (fully functional on a demo account), we wish to demonstrate to you the potential of AlgoBuilderX. We want to show you how you can create risk management conditions and parameters to develop your own customized strategy, ideal for use within Prop Firms.

 

Strategy: This strategy uses the Parabolic SAR to identify the direction of the trend. If there are no open trades already, it opens one trade per hour based on the position of the Parabolic SAR. The strategy, having a tight take profit, is designed to have a high winrate.

The open position is managed with a grid strategy.

You can set an equity stop loss level, an equity target, and a daily target. When one of these targets is reached, the cBot stops opening position, and will restart based on the time entered in the "Start Trade Again At" parameter.

The default parameter values are based to run it on XAUUSD.

 

Parameters:

 

Note: Time value is always in Local Time

 

Backtest example:

 

AlgoBuilderX Project:

OnTick

OnBar

 

Create your cBot now in an easy and intuitive way!
Try AlgoBuilderX now, no registration required: www.algobuilderx.com

 

You can find the AlgobuilderX project for free in our Discord channel: https://discord.gg/tYutSeQN

You will be able to import it into the AlgoBuilderX workspace, view it, edit it, or export it.

Important Note:
This cBot is a demonstration example created with AlgoBuilderX and is not optimized for live use. It is designed to illustrate the functionality of AlgoBuilderX and serve as a starting point for creating custom strategies. It is recommended that you carefully test and optimize any strategy before implementing it on a real trading account.


using System;
using cAlgo.API;
using cAlgo.API.Collections;
using cAlgo.API.Indicators;
using cAlgo.API.Internals;

namespace cAlgo.Robots
{
    [Robot(AccessRights = AccessRights.None, AddIndicators = true)]
    public class PropFirm2cBotString : Robot
    {

        protected override void OnStart()
        {
            MessageBox.Show(
                "You can download the cBot for free from this link: https://drive.google.com/file/d/1ZQOmePcCovfq1D7knL_H_ZedqhLvzb4R/view?usp=sharing",
                "Download the cBot",
                MessageBoxButton.OK
            );
        }

        protected override void OnTick()
        {
            // Handle price updates here
        }

        protected override void OnStop()
        {
            // Handle cBot stop here
        }
    }
}

AlgoBuilderX's avatar
AlgoBuilderX

Joined on 30.01.2024

  • Distribution: Free
  • Language: C#
  • Trading platform: cTrader Automate
  • File name: Prop Firm 2 cBot - Drive (www.algobuilderx.com).algo
  • Rating: 0
  • Installs: 177
Comments
Log in to add a comment.
No comments found.