cBot to recognise pullback reversal

Created at 12 Jan 2019, 22:42
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!
SE

seibertm

Joined 11.01.2019

cBot to recognise pullback reversal
12 Jan 2019, 22:42


Hi, I'm new to algo coding, have been looking through the class reference and help sections, but haven't been able to find an answer. How could one go about coding a cBot that picks up on pullback reversals as entry signal? I suppose the logic would have to be something like

1. Spot a trend, eg with MA cross

2. Detect price reversal, eg closing prices higher in downtrend/lower in uptrend

3. reversal occurs when price resumes previous direction, eg takes out price of last 2 counterbars

I don't know, is it possible to code for something like that? All help or suggestions would be appreciated, thank you.


@seibertm
Replies

PanagiotisCharalampous
14 Jan 2019, 11:28

Hi seibertm,

In principle, you can do this with cAlgo. However, you will first need to define what a pullback is for you. You should put down in detail what events consist a pullback e.g. three consecutive bars against the trend followed by two that follow the trend. After you do this, it would be easier to code your cBot. Another option is to contact a Consultant that could help you with setting your requirements and implementing your strategy.

Best Regards,

Panagiotis 


@PanagiotisCharalampous

bienve.pf
15 Jan 2019, 20:31

RE:

seibertm said:

Hi, I'm new to algo coding, have been looking through the class reference and help sections, but haven't been able to find an answer. How could one go about coding a cBot that picks up on pullback reversals as entry signal? I suppose the logic would have to be something like

1. Spot a trend, eg with MA cross

2. Detect price reversal, eg closing prices higher in downtrend/lower in uptrend

3. reversal occurs when price resumes previous direction, eg takes out price of last 2 counterbars

I don't know, is it possible to code for something like that? All help or suggestions would be appreciated, thank you.

Hi, I'm a cbots programmer in cTrader. If you wish send me a private message to my facebook profile:
https://www.facebook.com/robertillo.saez 
Regards.


@bienve.pf