davidmwabuka

Info
Username: | davidmwabuka |
Name: | davidmwabuka |
Member since: | 07 Mar 2023 |
About
Signature
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
@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