Profitable cBOT based on actual trades

Created at 09 Jun 2014, 21:33
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!
DA

davidp13

Joined 06.05.2014

Profitable cBOT based on actual trades
09 Jun 2014, 21:33


To anyone able please help.

I have a strategy that I trade mainly on indices and fx that I would like to create a cBOT for. Im new to C# and the API, but can read and understand code, however starting from the beginning Im not that good at.

The trading strategy is very simple and I will share it with anyone who is prepared to help me. I will post the beginning part of the strategy, but going to leave out some of the filters.

Help me with the code and I will give you the filters:

Strategy:

Indicators to use:

 1. 3sma
 2. 10sma
 3. ?sma

Use the following oscillator:
1. CCI ?

Rules:
Long/buy
1. 3sma x 10sma upwards
2. CCI crosses above 5
3. Price close above ?sma
4. Enter if all is true

Exit on TP, SL or ? (the kicker)

Short/Sell
1. 3sma x 10sma downwards
2. CCI crosses above ? (you have to have the right value for the short)
3. Price close above ?sma
4. Enter if all is true

Exit on TP, SL or ? (the kicker)

 

THANKS!!!!!!!!!!!!!!!!!!!!!!!


@davidp13
Replies

Spotware
10 Jun 2014, 09:34

We can recommend you to have a look at Sample Trend Robot. It uses indicators and checks their crosses.


@Spotware