Category Trend  Published on 18/09/2022

MACD Market Timer

Description

 Robot with MACD signal trend. M30 -H4 GBPUSD. if the market changes the primary trend to high, change the code indicated. I'm working to adjust this 

 

 

 

 

 

 


using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using cAlgo.API;
using cAlgo.API.Collections;
using cAlgo.API.Indicators;
using cAlgo.API.Internals;

namespace cAlgo.Robots
{
    [Robot(AccessRights = AccessRights.None)]
    public class NewcBot7 : Robot
    {
        [Parameter(DefaultValue = "Hello world!")]
        public string Message { get; set; }

        protected override void OnStart()
        {
              // contact version telegran: @MaikeMGC 
              Print("Robot Expired!! Please contact carneiroads@gmail.com ,telegran: @MaikeMGC  ");
        }

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

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

CA
carneiroads

Joined on 10.09.2022

  • Distribution: Free
  • Language: C#
  • Trading platform: cTrader Automate
  • File name: New cBot (7).algo
  • Rating: 0
  • Installs: 46
  • Modified: 16/08/2024 02:53
Comments
Log in to add a comment.
LU
lukaszd · 1 year ago

Thank you for this. Tested on US30 1M, works really well. Then I noticed your comment in the code. Could you please advise what to change to make it trade according to the market trend? Many thanks :)