| Automated Trading Black box systems, strategy automation, algorithmic trading, etc... |
![]() | | Tweet | |
| | #1 | ||
![]() | How to Write My Strategy Using (C++ or C#) 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. | ||
| |
|
| | #2 | ||
![]() | Re: How to Write My Strategy Using (C++ or C#) | ||
| |
|
| | #3 | ||
![]() | Re: How to Write My Strategy Using (C++ or C#) tradestation uses Easly Language. There are a variety that use C derivatives (Ninja for example). If it's tradestation there is a good chance you will get help if you can lay things out clearly or show what you have already. | ||
| |
|
| | #4 | ||
![]() | Re: How to Write My Strategy Using (C++ or C#) I think that's easy language right? I'm writing it myself and also using predetermined values. Thanks | ||
| |
|
| | #5 | ||
![]() | Re: How to Write My Strategy Using (C++ or C#) | ||
| |
|
| | #6 | ||
![]() | Re: How to Write My Strategy Using (C++ or C#) | ||
| |
|
| | #7 | ||
![]() | Re: How to Write My Strategy Using (C++ or C#) If I get a rough idea I can then try and feed this into the system. | ||
| |
|
| | #8 | ||
![]() | Re: How to Write My Strategy Using (C++ or C#) There are thousands of bits of code scattered round the inter web that you will probably be able to learn from. Tams also kindly posted some resources somewhere on Traders Lab. something like Var: StartingPrice(0); if date > date [1] then StartingPrice = close; if c <= StartingPrice-35 then ........buy stuff... If the syntax of IG is different you might have to mess with stuff. | ||
| |
|
![]() |
| Thread Tools | |
| Display Modes | Help Others By Rating This Thread |
| |
| ∧ Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Help with My First Strategy | ptcman | Coding Forum | 25 | 10-08-2009 07:53 AM |
| Write to the Right (side) | jojojo | Coding Forum | 8 | 05-01-2009 12:20 PM |
| Strategy for Es | TWI | Automated Trading | 6 | 10-28-2008 02:18 PM |
| Simple fib Strategy | feb2865 | Technical Analysis | 1 | 09-19-2007 06:59 PM |
| What is your strategy when a trade goes against you | jperl | Technical Analysis | 15 | 05-22-2007 11:41 PM |