Chartmouseevent get rectangles

Created at 20 May 2019, 22:57
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!
KR

krystek128@wp.pl

Joined 20.05.2019

Chartmouseevent get rectangles
20 May 2019, 22:57


Hi, all I am new here. I have a question about how to write a robot that will draw rectangles in two cases:

1. After pressing the mouse button on the candle, the robot will draw a rectangle on this candlestick (open, close), the simplicity will be to infinity. In the rectangle will pivot 50%.

2. blue is ema and sma periods 288 and orange ema and sma periods 48.


@krystek128@wp.pl