I believe the issue is not necessarily with PRT 10.3 but rather the CFD provider.
I know IG is apparently having issues with the Trailing Stop function in ProOrder.
I have asked them about this but all they can tell me is that their IT team is ‘working’ on it.
In the meantime you can try manually coding a trailing stop but someone with more technical skill than myself will have to assist us as this is as far as I could get.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
//custom trailing stop
//trail points having been defined at position open i.e. trail = 100
There are already trailing stop code snippets in the blog. Of course stoploss will only move once per bar since code are only read one time each period. So it will not act as the IG “set ptrailing” function.
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