Create an indicator with data received from a robot.
Create an indicator with data received from a robot.
24 Aug 2024, 01:36
Hello, what is the procedure to make a robot create an output such as a histogram or a line?
Details:
My robot generates a list of lists, and I want to be able to generate an indicator upon launching this robot, using this list of lists as the DataSeries for the indicator. (If it is slightly delayed (index-1), that’s not a big deal.)
I have 3 solutions, but none of them are satisfactory:
Chart.DrawTrendLine()
- Export data from the cBot, Import into an indicator...
- Create a class that communicates between an indicator and a robot, but this also requires launching both a robot and an indicator.
The project is an open-source project with the goal of simplifying the installation and usage process as much as possible.
It would be so much simpler to create an [output] and have the result displayed like an oscillator.
What is the best way to proceed for a simple and effective result?
Replies
YesOrNot2
26 Aug 2024, 16:53
RE: Create an indicator with data received from a robot.
Hi there,
Specifically, the goal is to run an optimization in cTrader, save information on positions, profit, max consecutive wins/losses, etc., and then perform analyses like average RSI, moving averages, etc., to see if, similar to candlestick charts, there’s a possibility of finding correlations in the wins and losses of a strategy.
@YesOrNot2
YesOrNot2
26 Aug 2024, 16:53
( Updated at: 26 Aug 2024, 16:54 )
RE: Create an indicator with data received from a robot.
Hi there,
Specifically, the goal is to run an optimization in cTrader, save information on positions, profit, max consecutive wins/losses, etc., and then perform analyses like average RSI, moving averages, etc., to see if, similar to candlestick charts, there’s a possibility of finding correlations in the wins and losses of a strategy.
@YesOrNot2
YesOrNot2
26 Aug 2024, 16:53
( Updated at: 26 Aug 2024, 16:54 )
RE: Create an indicator with data received from a robot.
Hi there,
Specifically, the goal is to run an optimization in cTrader, save information on positions, profit, max consecutive wins/losses, etc., and then perform analyses like average RSI, moving averages, etc., to see if, similar to candlestick charts, there’s a possibility of finding correlations in the wins and losses of a strategy.
@YesOrNot2
PanagiotisCharalampous
26 Aug 2024, 06:56
Hi there,
You can write all the logic in an indicator and just use the cBot to display the Indicator
Best regards,
Panagiotis
@PanagiotisCharalampous