davidmwabuka
davidmwabuka's avatar

Info

Username:davidmwabuka
Name:davidmwabuka
Member since: 07 Mar 2023

About

None

Signature

None

Last Algorithm Comments

@KilimanjaroXNgorongoro v1 bb + ma (2):  26 May 2023, 19:00


I SUPPOSE U CAN LIMIT NUMBER OF TRADES. THIS BT NEEDS TO BE LIMITED IN NUMER OF TRADES. DONT USE IT ON LIVE ACCOUNT

 

@KilimanjaroXNgorongoro v1 bb + ma (2):  26 May 2023, 18:59


TRY THESE CBOTSET https://drive.google.com/file/d/1aUiAn6uCu5QCojMbs4c2vvxRJQHHslHU/view?usp=sharing

@KilimanjaroXNgorongoro v1 bb + ma (2):  26 May 2023, 18:42


I suggest you first optimize with capital u like, and use tick data and save cbotset. regarding posting let me get back and give u cbotset okay let me do that again, i make a lot of cbots, i forgot about this. its a good cBOT THOUGH.

@RSI & Boll Bands w Threshold activation:  14 May 2023, 19:52


dont discourage the poster. Just suggest better ways of improving. or improve by urselves

@Zelphin Scalper II:  13 May 2023, 17:18


Always USE TICK DATA

@Ichimoku Cloud System for cTrader:  08 May 2023, 16:56


This is a robust cbot. Thanks for sharing.

@Ichimoku Cloud System for cTrader:  08 May 2023, 16:55


@Sado.Methodist.  The risk / lot is a feature that enables you to choose wehther to trade by using lot size. or by using a certain percentage of your capital, this is good because you are not suppose to risk more than 2 percent of you capital. its a good risk management practice. 

Last Forum Posts

@When cBot backtesting finishes it freeze cAlgo:  06 Jun 2023, 08:51


I am facing this problem now in ctraader 4.7. Its only on this new cbot that i coded using custom indicators. how can i debug?

@Help setting stoploss below/above previous candle low/high:  17 May 2023, 21:21


I am trying to make the bot execute and set stoploss at the low of last bar like the way in the code below.

Suprisingly the bot places stoploss at  around 1.6pips from entry price on every position instead of below the low of previous bars. i dont even know where the 1.6pips valiue comes from.

here is my code please help. 

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
{
    [Robot(TimeZone = TimeZones.UTC, AccessRights = AccessRights.FullAccess)]
    public class EMAcBot : Robot
    {
        private ExponentialMovingAverage ema;
        private MarketSeries series;

        protected override void OnStart()
        {
            // Initialize the EMA from 1-minute timeframe
            series = MarketData.GetSeries(TimeFrame.Minute);
            ema = Indicators.ExponentialMovingAverage(series.Close, 8);
        }

        protected override void OnBar()
        {
            // Access the last closing price from 1-minute timeframe
            double lastPrice = series.Open.Last(1);

            // Use the EMA and lastPrice in any timeframe
            if (ema.Result.HasCrossedAbove(lastPrice, 1))
            {
                // EMA crossed above lastPrice


                ExecuteMarketOrder(TradeType.Sell SymbolName, 1000, "1min", Bars.HighPrices.Last(2), null);


                Print("EMA crossed below lastPrice!"); // Printing a message to the log
                // Do something
            }
            else if (ema.Result.HasCrossedBelow(lastPrice, 1))
            {
                // EMA crossed below lastPrice

                ExecuteMarketOrder(TradeType.Buy, SymbolName, 1000, "1min", Bars.LowPrices.Last(2), null);


                Print("EMA crossed below lastPrice!"); // Printing a message to the log
                // Do something else
            }
            


        }
    }
}

 

@Enable "offline" Backtesting:  26 Apr 2023, 11:27


please add this funtionality, to store download tickdata and backtes

@Enable "offline" Backtesting:  26 Mar 2023, 14:10


please enable this feature. download historical data and import to offline ctrader without logging in just for backtesting

@NEED FOR FAVOURITES:  08 Mar 2023, 20:24


Hello, 

In ctrader pc. i would suggest adding favouruites to thing we use most like indicaors and cbots. thank you. also zooming without holding shift for FONDEX

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.
free  16 May 2023
USING PSAR. This robot checks for positive corelation in trend between EURUSD, USDJPY, EURJPY. if they are both trending upwards then we buy because it is a strong uptrend.  currently i used PARABORIC SAR: the current psar is below price on both at the same time EURUSD, USDJPY, EURJPY. it buys. and vice versa. suggestions accepted. I really need your comments they encourage me to post these bots i had beed developing and couldnt continue alone.
free  13 May 2023
This robot will check for volatility by using bolinger bands, whent they expand it will check for ma crossover, if fast ma is above the slow it will buy and trail the stop and vice versa. If the bands are contracting there is no trend so it wont buy, to avoid pullbacks.  optimize it modify it the way u want its free. i give it for free. . IF YOU HAVE ANY SUGGESTIONS CONTACT ME via whatsapp TO IMPROVE IT. 
free  21 Apr 2023
FINALLY.!!!!!!! I have successfully been able to code this. It has no sell or buy algorithm or strategy. THIS  IS A TEMPLATE YOU CAN PUT YOUR STRATEGY IN ONBAR, OR WHEREVER. LET IT DO ITS MAGIC. COMMENT PLEASE Its my first post On CBOTS. I  give it for FREE FREE FREE  KINDLY Donate any amount my paypal - Davidmwabuka@gmail.com If you have  a strategy you want me to code it for you,  EMAIL ME, check me on whatsapp, phone number is on top of this cbot section. 
free  21 Apr 2023
FINALLY.!!!!!!! I have successfully been able to code this. It has no sell or buy algorithm or strategy. THIS  IS A TEMPLATE YOU CAN PUT YOUR STRATEGY IN ONBAR, OR WHEREVER. LET IT DO ITS MAGIC. COMMENT PLEASE Its my first post On CBOTS. I  give it for FREE FREE FREE  KINDLY Donate any amount my paypal - Davidmwabuka@gmail.com If you have  a strategy you want me to code it for you,  EMAIL ME, check me on whatsapp, phone number is on top of this cbot section.