How to write my strategy using (C++ or C#)

bennie83

Active member
Messages
234
Likes
1
Hey everyone,

I've written a very basic strategy using IG Market's backtester builder. I'm trying to write something more sophisticated, but don't fully understand the language yet. So, if I give you a summary of my strategy would it be possible to give me the inputs? Once I know the basic coding I can then tweak the system

Statements I would like to include:

- If price is below moving average 50 then buy 2 lots in 4 bars time (if this bar's close is greater than the bar 4 time frames ago).

- If price is below moving average 50 then buy 2 lots when the price drops by 35 pips.



Thanks to anyone who can help, much appreciated.
 
Top