In the attached pdf there is a money management idea that I’ve tested a little and I’ve wanted to test it in an automated strategy but I don’t know how to code it. It is the relation between the risk unit and the move of the stop to lock in a profit that I find interesting and after these first steps start trailing rest of position with MA, SAR or ATR. First I want to set the initial stop manually regarding to the instrument traded.
Maybe it can be combined with a breakout code in the library for a complete strategy.
Hello, yes it can be coded. But the point 4 is not possible, since positions cannot be half-cut.. partial closing is currently not possible with IG. There are no problem to code point 1 to 3 though! 🙂
This is also an usual question/request, like many others things : hard trailing stop, stoploss from indicator, etc.. Maybe I should make a code snippets library .. but I don’t know well how to add it on the website for everyone to be clear.
Understand that a lot of questions/requests are almost the same. For me the problem is all new ideas that pop up and I want to test and lack of coding experience. And patience:)
For now I would do with step 1 to 3 to try to combine it with an entry system and see if I get better results.
To help us continually offer you the best experience on ProRealCode, we use cookies. By clicking on "Continue" you are agreeing to our use of them. You can also check our "privacy policy" page for more information.Continue