Category Trend  Published on 09/05/2024

Golden Cross & Death Cross Strategy (Made with AlgoBuilderX)

An update for this algorithm is currently pending moderation. Please revisit this page shortly to access the algorithm's latest version.
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!

 

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

 

Strategy: The Golden Cross & Death Cross is an automated strategy based on exponential moving average (EMA) crossovers. This strategy identifies entry and exit points in the forex market based on the crossovers of EMA(1) and EMA(2) on a 1-hour timeframe (1H).

Entry Conditions: When a Golden Cross (EMA(1) crosses above EMA(2)) occurs from below to above, four buy positions are opened.
When a Death Cross (EMA(1) crosses below EMA(2)) occurs from above to below, four sell positions are opened.

Position Management: Each opened position has a customizable take profit level, which can be set by the user within the trading platform. If an opposite crossover occurs, all open positions are immediately closed. When one of the four positions reaches take profit, the stop loss for the remaining positions is moved to the entry price of the position that has taken profit.

Management of Remaining Positions: If only one position (buy or sell) remains open and an opposite crossover occurs, the position remains open, and three new positions are opened according to the new signal.

Parameters:


 

Backtest example:
 

 

AlgoBuilderX Project:


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.


The author decided to hide the source code.
AlgoBuilderX's avatar
AlgoBuilderX

Joined on 30.01.2024

  • Distribution: Free
  • Language: C#
  • Trading platform: cTrader Automate
  • File name: Golden Cross & Death Cross Demo (www.algobuilderx.com).algo
  • Rating: 0
  • Installs: 222
Comments
Log in to add a comment.
No comments found.