I you have probs....just try this one! I looks like the same but works & u have the mq4 code! In principle it is: BBXTrend_12Currency = source code!
I can t see that the strategy has something to do with the strat in your 2 trades!