jmenotts
jmenotts's avatar

Info

Username:jmenotts
Name:jmenotts
Member since: 08 Mar 2021

About

None

Signature

None

Last Algorithm Comments

@Opulence Bot (Demo):  20 Aug 2022, 07:23


Hi i am very interested in looking at the source code for this EA is there any chance i could get it i dont mind paying for it, or just explain a little about it. It seems a very good EA pls email me on jmenotts at gmail.com.     regards James

Last Forum Posts

@legal advice needed:  23 Dec 2021, 21:22


Hi Guys i need some legal advice,


I have developed an algorithm basically an Expert Advisor that trades on the forex market and has done very well over the last 12 months (over 300% ROI to be near exact), This EA is on the ctrader platform that I have sat on a vps attached to a master account which in turn will provide the strategy to ctraders platform in order for users to start copy trading.


The clients will be using their own broker account that we cannot touch eg... we cant withdraw nor deposit funds only the account holder is able to do this, however our EA will provide lets say signals of buys and sells and transmit them to ctraders copy service, when clients sign up to ctrader they can search for strategies which they wish to copy and can do this with a simple start copy or stop copy button providing they have signed up so they will have the say so wether the trades are placed but not each in particular trade in turn we would charge a performance fee each month.


Sorry for the long explanation but I need to be above board with this ..... would we need to be FCA regulated if we are running in this manner? We are based in the UK.
Any help would be greatly appreciated.... Many Thanks in advance.


 

@Ichimoku Bot Logic Help:  10 Mar 2021, 10:37


Ive edited it already but im so thankful for your input maybe we can make this better, run this on H30 stop 1000 take 30 use the full history of ctrader the results are amazing but she takes some bad trades if we could filter this out we may be onto a little but simple bot that doesnt do too bad at all, only con concerning thing is the stops are massive 1000 pips, this is a trend bot i think maybe an RSI or some other indicator may filter out the bad trades. i hav been manual trading this strategy and it works perfect on forex not on crypto.

using System;
using cAlgo.API;
using cAlgo.API.Indicators;

namespace cAlgo.Robots
{
    [Robot(TimeZone = TimeZones.UTC, AccessRights = AccessRights.FullAccess)]
    public class ICCMJR : Robot
    {
        [Parameter(DefaultValue = 9)]
        public int periodFast { get; set; }

        [Parameter(DefaultValue = 26)]
        public int periodMedium { get; set; }

        [Parameter(DefaultValue = 52)]
        public int periodSlow { get; set; }

        [Parameter(DefaultValue = 1000)]
        public int Volume { get; set; }

        [Parameter("Stop Loss", DefaultValue = 20)]
        public int StopLossPips { get; set; }

        [Parameter("Take Profit", DefaultValue = 25)]
        public int TakeProfitPips { get; set; }

        private IchimokuKinkoHyo ichimoku;

        protected override void OnStart()
        {
            ichimoku = Indicators.IchimokuKinkoHyo(periodFast, periodMedium, periodSlow);
        }

        protected override void OnBar()
        {
            var positionsBuy = Positions.FindAll("Buy");
            var positionsSell = Positions.FindAll("Sell");


            if (positionsBuy.Length == 0 && positionsSell.Length == 0)
            {
                if (ichimoku.SenkouSpanA.HasCrossedAbove(ichimoku.SenkouSpanB.LastValue, 0))
                {
                    if (Bars.ClosePrices.Last(1) > ichimoku.SenkouSpanA.Last(1))
                    {
                        if (ichimoku.TenkanSen.HasCrossedAbove(ichimoku.KijunSen.LastValue, 0))
                        {
                            ExecuteMarketOrder(TradeType.Buy, SymbolName, Volume, "Buy", StopLossPips, TakeProfitPips);
                        }
                    }
                }

                if (ichimoku.SenkouSpanA.HasCrossedBelow(ichimoku.SenkouSpanB.LastValue, 0))
                {
                    if (Bars.ClosePrices.Last(1) < ichimoku.SenkouSpanA.Last(1))
                    {
                        if (ichimoku.TenkanSen.HasCrossedBelow(ichimoku.KijunSen.LastValue, 0))
                        {
                            ExecuteMarketOrder(TradeType.Sell, SymbolName, Volume, "Sell", StopLossPips, TakeProfitPips);
                        }
                    }
                }
            }
        }
    }
}

@Ichimoku Bot Logic Help:  09 Mar 2021, 13:52


Hey Guys 

Just a quick update i know I've been speaking to myself at the moment but I'm trying to report my progress in the hope someone will put me right if I'm wrong, I've been doing some backtests and the code works however I'm had it on the charts since last night and it doesn't seem to be taking any trades maybe I'm trying to get results faster than the charts are giving me.

I've attached the code for someone to have a look over to see if I'm heading in the right direction or do I need to edit it slightly for it to enter live trades?

using System;
using cAlgo.API;
using cAlgo.API.Indicators;

namespace cAlgo
{
    [Robot(TimeZone = TimeZones.UTC, AccessRights = AccessRights.None)]
    public class MidasIndex : Robot
    {
        [Parameter(DefaultValue = 9)]
        public int periodFast { get; set; }

        [Parameter(DefaultValue = 26)]
        public int periodMedium { get; set; }

        [Parameter(DefaultValue = 52)]
        public int periodSlow { get; set; }

        [Parameter(DefaultValue = 1000)]
        public int Volume { get; set; }

        [Parameter("Stop Loss", DefaultValue = 20)]
        public int StopLossPips { get; set; }

        [Parameter("Take Profit", DefaultValue = 25)]
        public int TakeProfitPips { get; set; }

        private IchimokuKinkoHyo ichimoku;

        protected override void OnStart()
        {
            ichimoku = Indicators.IchimokuKinkoHyo(periodFast, periodMedium, periodSlow);
        }

        protected override void OnBar()
        {
            var positionsBuy = Positions.FindAll("Buy");
            var positionsSell = Positions.FindAll("Sell");

            var distanceFromUpKumo = (Symbol.Bid - ichimoku.SenkouSpanA.LastValue) / Symbol.PipSize;
            var distanceFromDownKumo = (ichimoku.SenkouSpanA.LastValue - Symbol.Ask) / Symbol.PipSize;


            if (positionsBuy.Length == 0 && positionsSell.Length == 0)
            {
                if (Bars.OpenPrices.Last(1) <= ichimoku.SenkouSpanA.Last(1) && Bars.OpenPrices.Last(1) > ichimoku.SenkouSpanB.Last(1))
                {
                    if (Bars.ClosePrices.Last(1) > ichimoku.SenkouSpanA.Last(1))
                    {
                        if (ichimoku.TenkanSen.Last(1) > (ichimoku.KijunSen.Last(1)))
                        {
                            ExecuteMarketOrder(TradeType.Buy, SymbolName, Volume, "Buy", StopLossPips, TakeProfitPips);
                        }
                    }
                }

                if (Bars.OpenPrices.Last(1) >= ichimoku.SenkouSpanA.Last(1) && Bars.OpenPrices.Last(1) < ichimoku.SenkouSpanB.Last(1))
                {
                    if (Bars.ClosePrices.Last(1) < ichimoku.SenkouSpanA.Last(1))
                    {
                        if (ichimoku.TenkanSen.Last(1) < (ichimoku.KijunSen.Last(1)))
                        {
                            ExecuteMarketOrder(TradeType.Sell, SymbolName, Volume, "Sell", StopLossPips, TakeProfitPips);
                        }
                    }
                }
            }
        }
    }
}
 

@Ichimoku Bot Logic Help:  09 Mar 2021, 00:50


jmenotts said:

Hi guys i've pinched a bit of code from various sites and i'm trying to learn how to put a bot together using the ichimoku cloud strategy but cant quite get my logic correct wondering if anyone can help me?

this must take a buy position once price has crossed above the cloud and tenkan sen has crossed above kijun sen

it must take a sell position once price has crossed below the cloud and tenkan sen has crossed below kijun sen

it wouldnt really matter in which order these instances occur they just must all be met for a signal

could someone please show me how to code this logic i've been pulling my hair out for days now and getting no where i'm an absolute idiot when it comes to coding and im hoping one you coding gods could help me?

i've attached the logic that i've borrowed from a fellow user on here trying to learn how it all works but bloody struggling lol.

        protected override void OnBar()
        {
            var positionsBuy = Positions.FindAll("Buy");
            var positionsSell = Positions.FindAll("Sell");

            var distanceFromUpKumo = (Symbol.Bid - ichimoku.SenkouSpanA.LastValue) / Symbol.PipSize;
            var distanceFromDownKumo = (ichimoku.SenkouSpanA.LastValue - Symbol.Ask) / Symbol.PipSize;


            if (positionsBuy.Length == 0 && positionsSell.Length == 0)
            {
                if (MarketSeries.Open.Last(1) <= ichimoku.SenkouSpanA.Last(1) && MarketSeries.Open.Last(1) > ichimoku.SenkouSpanB.Last(1))
                {
                    if (MarketSeries.Close.Last(1) > ichimoku.SenkouSpanA.Last(1))
                    {
                        if (distanceFromUpKumo <= 30)
                        {
                            ExecuteMarketOrder(TradeType.Buy, Symbol, Volume, "Buy", StopLossPips, TakeProfitPips);
                        }
                    }
                }

                if (MarketSeries.Open.Last(1) >= ichimoku.SenkouSpanA.Last(1) && MarketSeries.Open.Last(1) < ichimoku.SenkouSpanB.Last(1))
                {
                    if (MarketSeries.Close.Last(1) < ichimoku.SenkouSpanA.Last(1))
                    {
                        if (distanceFromDownKumo <= 30)
                        {
                            ExecuteMarketOrder(TradeType.Sell, Symbol, Volume, "Sell", StopLossPips, TakeProfitPips);
                        }
                    }
                }
            }
        }
    }
}

Thank you very much for taking the time to read this guys and hopefully i've not been too much of a pain :)

        {
            var positionsBuy = Positions.FindAll("Buy");
            var positionsSell = Positions.FindAll("Sell");

            var distanceFromUpKumo = (Symbol.Bid - ichimoku.SenkouSpanA.LastValue) / Symbol.PipSize;
            var distanceFromDownKumo = (ichimoku.SenkouSpanA.LastValue - Symbol.Ask) / Symbol.PipSize;


            if (positionsBuy.Length == 0 && positionsSell.Length == 0)
            {
                if (MarketSeries.Open.Last(1) <= ichimoku.SenkouSpanA.Last(1) && MarketSeries.Open.Last(1) > ichimoku.SenkouSpanB.Last(1))
                {
                    if (MarketSeries.Close.Last(1) > ichimoku.SenkouSpanA.Last(1))
                    {
                       if (ichimoku.TenkanSen.Last(1) > (ichimoku.KijunSen.Last(1)))
                        {
                            ExecuteMarketOrder(TradeType.Buy, Symbol, Volume, "Buy", StopLossPips, TakeProfitPips);
                        }
                    }
                }

                if (MarketSeries.Open.Last(1) >= ichimoku.SenkouSpanA.Last(1) && MarketSeries.Open.Last(1) < ichimoku.SenkouSpanB.Last(1))
                {
                    if (MarketSeries.Close.Last(1) < ichimoku.SenkouSpanA.Last(1))
                    {
                        if (ichimoku.TenkanSen.Last(1) < (ichimoku.KijunSen.Last(1)))
                        {
                            ExecuteMarketOrder(TradeType.Sell, Symbol, Volume, "Sell", StopLossPips, TakeProfitPips);
                        }
                    }
                }
            }
        }
    }
}

@Ichimoku Bot Logic Help:  08 Mar 2021, 23:03


Hi guys i've pinched a bit of code from various sites and i'm trying to learn how to put a bot together using the ichimoku cloud strategy but cant quite get my logic correct wondering if anyone can help me?

this must take a buy position once price has crossed above the cloud and tenkan sen has crossed above kijun sen

it must take a sell position once price has crossed below the cloud and tenkan sen has crossed below kijun sen

it wouldnt really matter in which order these instances occur they just must all be met for a signal

could someone please show me how to code this logic i've been pulling my hair out for days now and getting no where i'm an absolute idiot when it comes to coding and im hoping one you coding gods could help me?

i've attached the logic that i've borrowed from a fellow user on here trying to learn how it all works but bloody struggling lol.

        protected override void OnBar()
        {
            var positionsBuy = Positions.FindAll("Buy");
            var positionsSell = Positions.FindAll("Sell");

            var distanceFromUpKumo = (Symbol.Bid - ichimoku.SenkouSpanA.LastValue) / Symbol.PipSize;
            var distanceFromDownKumo = (ichimoku.SenkouSpanA.LastValue - Symbol.Ask) / Symbol.PipSize;


            if (positionsBuy.Length == 0 && positionsSell.Length == 0)
            {
                if (MarketSeries.Open.Last(1) <= ichimoku.SenkouSpanA.Last(1) && MarketSeries.Open.Last(1) > ichimoku.SenkouSpanB.Last(1))
                {
                    if (MarketSeries.Close.Last(1) > ichimoku.SenkouSpanA.Last(1))
                    {
                        if (distanceFromUpKumo <= 30)
                        {
                            ExecuteMarketOrder(TradeType.Buy, Symbol, Volume, "Buy", StopLossPips, TakeProfitPips);
                        }
                    }
                }

                if (MarketSeries.Open.Last(1) >= ichimoku.SenkouSpanA.Last(1) && MarketSeries.Open.Last(1) < ichimoku.SenkouSpanB.Last(1))
                {
                    if (MarketSeries.Close.Last(1) < ichimoku.SenkouSpanA.Last(1))
                    {
                        if (distanceFromDownKumo <= 30)
                        {
                            ExecuteMarketOrder(TradeType.Sell, Symbol, Volume, "Sell", StopLossPips, TakeProfitPips);
                        }
                    }
                }
            }
        }
    }
}

Thank you very much for taking the time to read this guys and hopefully i've not been too much of a pain :)

Notification Publishing copyrighted material is strictly prohibited. If you believe there is copyrighted material in this section you may use the Copyright Infringement Notification form to submit a claim.

No uploaded.

Warning! Executing cBots downloaded from this section may result in loss of funds. Use them at your own risk.

No uploaded.