MikeT wrote:
Can someone pls tell me how to set a trailing stop/SL to the value of an indicator? You must have this one in the bag Rjo...
I only found this post today, so sorry I didn't answer sooner.
This is a bit complex but, as the mods already said, can be done by modfying the CheckTrailingStop code in SB Pro. For a detailed example, Google The8_EA and Ctrl-F CheckTrailingStop in that EA and in your EA for comparison. Have a look at the conditions within that function and you will see what I'm getting at. Consider adding your new condition like && Bid>iCustom(blah blah blah) following TrailingStop>0. This should at least give you a direction to go in.