Replies

parkermark446
27 Apr 2024, 11:40

This week just gone I've let a cbot run all week with positive results,when back testing the same week the results are massively different 

Can some shed some light has to why ??

All settings within the cbot the same for both tests.


@parkermark446

parkermark446
06 Apr 2024, 13:49 ( Updated at: 07 Apr 2024, 05:30 )

RE: Backtest with Volume Data

PanagiotisCharalampous said: 

Hi Fron,

Volume data is available for each bar. Check Bar.TickVolume.

Best Regards,

Panagiotis 

Join us on Telegram

That's not the volume data of each bar,it's the amount of price changes within the candle (ticks) 

Is there a way of getting true volumes of Ticks ie 10 tick chart 10 orders but how big or small are these orders?? The only reference we have is how large the candle is compared to previous 


@parkermark446

parkermark446
05 Mar 2024, 18:58

RE: Take profit and stop loss not being placed when back testing

PanagiotisCharalampous said: 

As far as I can see you are using absolute prices as SL and TP. You should use pips instead.

Could you little more specific please 


@parkermark446

parkermark446
05 Mar 2024, 09:40 ( Updated at: 05 Mar 2024, 19:02 )

stop loos and take profit not being placed correctly


}


@parkermark446

parkermark446
16 Dec 2020, 10:21

RE:

parkermark446 said:

i'm just trying to reference the indicator,so i can build the bot around it.

 

using System;
using System.Linq;
using cAlgo.API;
using cAlgo.API.Indicators;
using cAlgo.API.Internals;
using cAlgo.Indicators;

namespace cAlgo.Robots
{
    [Robot(TimeZone = TimeZones.UTC, AccessRights = AccessRights.None)]
    public class KeltnerChannels : Robot
    {
        [Parameter(DefaultValue = 0.0)]
        public double Parameter { get; set; }
        [Parameter("Instance Name", DefaultValue = "001")]
        public string InstanceName { get; set; }

        [Parameter("Lot Size", DefaultValue = 0.1)]
        public double LotSize { get; set; }
        //create indicators on start
        public KeltnerChannels KeltnerChannels(int maPeriod, MovingAverageType maType, int atrPeriod, MovingAverageType atrMaType, double bandDistance);
        public (Bars bars, int maPeriod, MovingAverageType maType, int atrPeriod, MovingAverageType atrMaType, double bandDistance);


        protected override void OnStart()
        {



        }

        protected override void OnTick()
        {
            // Put your core logic here
        }

        protected override void OnStop()
        {
            // Put your deinitialization logic here
        }
    }


@parkermark446

parkermark446
16 Dec 2020, 10:07

i'm just trying to reference the indicator,so i can build the bot around it.

 


@parkermark446