If your program does not do what it should the debugger will tell you where went what wrong:
Code debugging: https://www.metatrader5.com/en/metaeditor/help/development/debug
Error Handling and Logging in MQL5: https://www.mql5.com/en/articles/2041
Tracing, Debugging and Structural Analysis of Source Code, scroll down to: "Launching and Debuggin": https://www.mql5.com/en/articles/272
It's faster..
Code debugging - Developing programs - MetaEditor Help
- www.metatrader5.com
MetaEditor has a built-in debugger allowing you to check a program execution step by step (by individual functions). Place breakpoints in the code...
How do you accept data.
one direction retracement entry's, both direction reverse entry tp. if the most previous V2 had no tp so all 200 positions held entry 1 direction.
1 position reverse entry tp, lot increase manual or auto
200 simultaneous pending trades tp x2 lot manual
200 simultaneous pending trades tp reverse 200 simultaneous pending trades tp x2 account/lot size manual.
BOTH DIRECTIONS - simultaneous pending trades start 1 position x2x2x2, increasing/decreasing the simultaneous pending trades limit 25%/50% each time. adjusting based on ration of buy to sell entry's+ distance/shapes/patterns.
Fruit B:
Because you are trying to sell at Ask. We Buy at Ask and Sell on Bid.
I tried the code below to close half the open position once my unrealized profits exceed $200.
This did not happen to my trades.
Can anyone enlighted why so how what went wrong?
I get the error message Error Opening order 129.
How can i resolve this?
THanks!
Thank you. :)
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
I tried the code below to close half the open position once my unrealized profits exceed $200.
This did not happen to my trades.
Can anyone enlighted why so how what went wrong?
I get the error message Error Opening order 129.
How can i resolve this?
THanks!