I am looking for a simple Metatrader expert advisor. This is what it needs to do.
1. Enter a buy order
2. Set stop and limit to predefined amounts
3. If I hit my Limit change to a sell order
4. Count how many times I hit my stops
5. If I hit my Stop 1 time enter another buy order
6. If I hit my Stops 2 times then change to a sell order
7. If I hit my Stops 3 times reset counter and change to a buy order
8. All stops and limits will be the same amount predefined before starting.
Should be very simple, I just want to see how the code looks.