Close order crossing the middle Bollinger Bands
Lagger2807:
Sometimes the price peak of a volume cross the middle Bollinger Bands but the closing action doesn't trigger
This is my funtion for the Order Close:
What is " price peak of a volume" ?
Where is the value of AvailableB set?
ClosedB = OrderClose(OrderTicket(),OrderLots(),OrderClosePrice(),5); AvailableB = true; //Can't you simply use AvailableB = OrderClose(OrderTicket(),OrderLots(),OrderClosePrice(),5);
Keith Watford:
AvailableB were set in the ordersend, when the order is sended, AvailableB sets to falseI should have asked, where is AvailableB,s value being set beforethe function is called.
If it already == true the order will not be closed.
Sometimes the price peak of a volume cross the middle Bollinger Bands but the closing action doesn't trigger
This is my funtion for the Order Close: