Intermittent results between Indicator and Bot

Created at 10 Oct 2019, 03:54
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
AI

Aiki1000

Joined 22.07.2019

Intermittent results between Indicator and Bot
10 Oct 2019, 03:54


Hello -


I am trying to learn how something works here, and I am finding things to be intermittent.
I have coded a stupid simple indicator - this indicator plots a marker over every bar that satisfies the criteria. I can visually see it is funtioning properly.


I then coded this exact same simple sample pattern into a bot, making sure to refactor the syntax apporpriate for bots vs. indicators.


I then backtest the pattern.  Using Deal Map under viewing options, I can visually see that the bot is funtioning properly. But not all patterns marked by the indicator, are recognized by the bot. Many, evem most, are marked but tnot all...


This seems evident (but not consistent) with other tests I have made. 
Have you any thoughts please?


@Aiki1000
Replies

PanagiotisCharalampous
10 Oct 2019, 08:41

Hi Aiki1000,

It would be easier for somebody to help you if you posted the relevant source codes as well as some screenshots showing what you are describing.

Best Regards,

Panagiotis


@PanagiotisCharalampous