Pls help, Why does this code not open a single trade in 20 years of back testing?
- www.metatrader5.com
- Need help buy & sell but not buy when 1 lot is sold need help ordersTotal thank you
- Need help buy & sell but not buy when 1 lot is sold need help ordersTotal thank you
- Coding help
-
Please edit your (original) post and use the CODE button (Alt-S)! (For large amounts of code, attach it.)
General rules and best pratices of the Forum. - General - MQL5 programming forum 2019.05.06
Messages Editor -
while(PB1>Ask)If you enter this loop, nothing ever changes, loops forever, and the tester stops
-
Please edit your (original) post and use the CODE button (Alt-S)! (For large amounts of code, attach it.)
General rules and best pratices of the Forum. - General - MQL5 programming forum 2019.05.06
Messages Editor - If you enter this loop, nothing ever changes, loops forever, and the tester stops
1. Edited the post, thanks
2. wouldnt the next tick be lower and PB1 would become lower than Ask?