Hi guys first post so don’t shoot me down (Steve).
I have literally read 1000’s of posts absorbing all this new great information and have now starting implementing a few things.
I have been looking for a function and cannot find it, I have looked in the Desky EA and SPB EA both of which are very similar, I’m looking for a trailing stop for a single pair basket, the all pair basket TS works great.
I thought that if I set
to true then the trailing stop would work for single pair basket but that’s not the case.
I had a look at the source and found
Code: Select all
if(TreatAllPairsAsBasket && UseBasketTrailingStopPips)
but could not find something like
Code: Select all
if(TreatIndividualPairsAsBasket && UseBasketTrailingStopPips)
this is something that I think I could add myself but just wanted to make sure I haven’t missed something and there is another way that I can do what I’m trying to do.
Another observation that I found was the Recovery seams to just close all orders when ‘Number of Trades’ and ‘Number of losers’ hit the values set without waiting to hit the ‘Recovery pips’ value.
Another very small thing is this message regarding pips but has a £ sign.
Code: Select all
Print("Basket pips StopLoss Triggered at £"+DoubleToStr(TotalPipsUpl,0)+". High Value: "
+DoubleToStr(BTSHighValuePips,0)+" initial Basket SL Value £"+DoubleToStr(BTSStopLossPips,0));