Category Other  Published on 02/12/2019

Basket-Close

Description

This cBot closes all open positions when the NetProfit >= MaxProfit or <= MinProfit. Max and MinProfit are used as input parameter. 

You can download the free/full version at www.algoguru.hu

.

 


using cAlgo.API;
namespace cAlgo
{
    [Robot(TimeZone = TimeZones.UTC, AccessRights = AccessRights.None)]
    public class AlgoGURU : Robot
    {
        protected override void OnStart()
        {
            string msg = "If you need a custom indicator or cBot please visit: www.algoguru.hu";
            ChartObjects.DrawText("botcomment", msg, StaticPosition.TopLeft, Colors.Red);
        }
    }
}


AlgoGuru's avatar
AlgoGuru

Joined on 29.11.2018

  • Distribution: Paid
  • Language: C#
  • Trading platform: cTrader Automate
  • File name: AlgoGURU.algo
  • Rating: 0
  • Installs: 1277
Comments
Log in to add a comment.
No comments found.