I have a strategy on the Dax to trade the Fdax.
It has to be like this:
1. The Dax triggers the Fdax
2. Trade 2 contracts
3. Stop for both is 20 points
4. First contract take profit at 20 points
5. After closing first contract, the second goes on break even
6. From this moment a trailstop of 5 points for second contract.
I have next problems in the script:
1. Entry is ok and stop is filled
2. When i have reached profit for first contract it is sold at 20 points, so ok
3. At this moment the second contract has to go on trail from 5 point, but it does'nt, what happens is that my script is buying 2 contracts the opposite way.
Can anyone help me with this?

Comment