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.
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
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: