Topics
Replies
keerthankumarkateel
02 Sep 2024, 08:17
RE: RE: RE: RE: RE: RE: Cbot access the trendlines drawn on the chart
PanagiotisCharalampous said:
keerthankumarkateel said:
keerthankumarkateel said:
PanagiotisCharalampous said:
keerthankumarkateel said:
PanagiotisCharalampous said:
Hi there,
Unfortunately there is no way to set names for lines manually drawn on the chart.
Best regards,
Panagiotis
Hello,
Thank you for responding. If i want to create an algo with two mannually drawn trendlines (line-A and line-B). Logic is if the price crossed below Line-A buy the ticker and if the price touches the Line-B close the position.
Is this possible to implement? this needs algo to read the mannuaaly drawn trendline, identify it and calculate the price based on the line. Point me if there are any examples/documentation on this on how to implement this.
Hi there,
Yes it is possible to do this but there is no specific documentation for this since this is rudimentary algebra and not a cTrader specific issue. A trendline's equation is ax+b, you need to use it to find the value of the trendline on each bar and determine if the price has crossed it or not.
Best regards,
Panagiotis
if im drawing the line on the chart mannually (NOT via algo),
- how i can get values of a,x,b in the algo for that line?
- If i draw multiple lines on the chart (mannually), how can distinguish between the lines? As i can see when i draw a line on the chart, i cant name the line
Hi there,
- ChartTrendLine has Time1, Time1, Y1(start price) and Y2(end price) properties. You can use them to calculate a,x and b.
- There is no easy way to do this. Names for the lines are assigned automatically by cTrader.
thanks a lot for response.
- are there any examples of the code or documentation about - how to extract information from the trendline on the chart via code. If yes, please pont me.
@keerthankumarkateel
keerthankumarkateel
02 Sep 2024, 07:04
RE: RE: RE: RE: Cbot access the trendlines drawn on the chart
keerthankumarkateel said:
PanagiotisCharalampous said:
keerthankumarkateel said:
PanagiotisCharalampous said:
Hi there,
Unfortunately there is no way to set names for lines manually drawn on the chart.
Best regards,
Panagiotis
Hello,
Thank you for responding. If i want to create an algo with two mannually drawn trendlines (line-A and line-B). Logic is if the price crossed below Line-A buy the ticker and if the price touches the Line-B close the position.
Is this possible to implement? this needs algo to read the mannuaaly drawn trendline, identify it and calculate the price based on the line. Point me if there are any examples/documentation on this on how to implement this.
Hi there,
Yes it is possible to do this but there is no specific documentation for this since this is rudimentary algebra and not a cTrader specific issue. A trendline's equation is ax+b, you need to use it to find the value of the trendline on each bar and determine if the price has crossed it or not.
Best regards,
Panagiotis
if im drawing the line on the chart mannually (NOT via algo),
- how i can get values of a,x,b in the algo for that line?
- If i draw multiple lines on the chart (mannually), how can distinguish between the lines? As i can see when i draw a line on the chart, i cant name the line
@keerthankumarkateel
keerthankumarkateel
02 Sep 2024, 07:03
RE: RE: RE: Cbot access the trendlines drawn on the chart
PanagiotisCharalampous said:
keerthankumarkateel said:
PanagiotisCharalampous said:
Hi there,
Unfortunately there is no way to set names for lines manually drawn on the chart.
Best regards,
Panagiotis
Hello,
Thank you for responding. If i want to create an algo with two mannually drawn trendlines (line-A and line-B). Logic is if the price crossed below Line-A buy the ticker and if the price touches the Line-B close the position.
Is this possible to implement? this needs algo to read the mannuaaly drawn trendline, identify it and calculate the price based on the line. Point me if there are any examples/documentation on this on how to implement this.
Hi there,
Yes it is possible to do this but there is no specific documentation for this since this is rudimentary algebra and not a cTrader specific issue. A trendline's equation is ax+b, you need to use it to find the value of the trendline on each bar and determine if the price has crossed it or not.
Best regards,
Panagiotis
if im drawing the line on the chart mannually, how i can get values of a,x,b in the algo?
@keerthankumarkateel
keerthankumarkateel
01 Sep 2024, 06:16
RE: Cbot access the trendlines drawn on the chart
PanagiotisCharalampous said:
Hi there,
Unfortunately there is no way to set names for lines manually drawn on the chart.
Best regards,
Panagiotis
Hello,
Thank you for responding. If i want to create an algo with two mannually drawn trendlines (line-A and line-B). Logic is if the price crossed below Line-A buy the ticker and if the price touches the Line-B close the position.
Is this possible to implement? this needs algo to read the mannuaaly drawn trendline, identify it and calculate the price based on the line. Point me if there are any examples/documentation on this on how to implement this.
@keerthankumarkateel
keerthankumarkateel
27 Aug 2024, 21:22
( Updated at: 28 Aug 2024, 05:22 )
RE: "Comment" on live trade/closed trade
Spotware said:
Dear Trader,
When you execute a market order, place a limit/stop order you are able to insert a label and/or a comment.
Currently we do not provide users the ability to edit their comments/labels we will consider providing it in the future.
Additionally you can vote for it in:
Even after nearly decade, this silly feature hasnt implemented. kudos for the developement on not improving anything to the slightest.
@keerthankumarkateel
keerthankumarkateel
27 Aug 2024, 21:17
( Updated at: 28 Aug 2024, 05:22 )
RE: Add a comment to a existing position
Spotware said:
Dear Trader,
Currently, we don't provide users the ability to add/modify a comment in an existing position. We will consider providing it in the future.
Additionally, you can post your ideas/suggestions to http://vote.spotware.com/
Any update on this? Is there anyway to add comments on the position once the position is opened?
@keerthankumarkateel
keerthankumarkateel
27 Aug 2024, 21:17
( Updated at: 28 Aug 2024, 05:22 )
RE: Add a comment to a existing position
Spotware said:
Dear Trader,
Currently, we don't provide users the ability to add/modify a comment in an existing position. We will consider providing it in the future.
Additionally, you can post your ideas/suggestions to http://vote.spotware.com/
Any update on this? Is there anyway to add comments on the position once the position is opened?
@keerthankumarkateel
keerthankumarkateel
03 Sep 2024, 12:28 ( Updated at: 04 Sep 2024, 04:58 )
RE: cbot on web or app
PanagiotisCharalampous said:
Hi the page says -It is only possible to run cBots in the Cloud on live accounts.
So all the prop firms demo account will not be compatible with this. Please add support for demo account as well.
@keerthankumarkateel