The fxRoulette EA: (almost a pure martingale EA implementation)
Lots of discussion indicates the market trends - moves in a direction and keeps moving in that direction. The attached EA allows you to bet that if the market moves in a direction, it will continue in that direction. Features of the EA:
- Start a trading round by moving the bullet into the square. It doesn't go unless you tell it to.
- It implements a martingale strategy - Doubles after each loss until it wins or reaches risk limits.
- It implements a risk control algorithm that limits losses to a percent of equity and limits a position to a percent of available margin (see the Risk Calculation EA post)
- It has graphical strike, profit and loss lines that can be adjusted by the user to initiate and close trades.
- Has code examples for displaying objects and taking user input.
Enjoy the EA and the code examples. Please respect the spirit of sharing and post back use of code and modifications. Back test it - I was surprised how well it did.
Edit: About 300 downloads. I downloaded it today, and re-compiled with property strict. I wonder if it would be fun to update this to handle events, put in some kind of strategy to enter in a direction that seems favorable....
Lots of discussion indicates the market trends - moves in a direction and keeps moving in that direction. The attached EA allows you to bet that if the market moves in a direction, it will continue in that direction. Features of the EA:
- Start a trading round by moving the bullet into the square. It doesn't go unless you tell it to.
- It implements a martingale strategy - Doubles after each loss until it wins or reaches risk limits.
- It implements a risk control algorithm that limits losses to a percent of equity and limits a position to a percent of available margin (see the Risk Calculation EA post)
- It has graphical strike, profit and loss lines that can be adjusted by the user to initiate and close trades.
- Has code examples for displaying objects and taking user input.
Enjoy the EA and the code examples. Please respect the spirit of sharing and post back use of code and modifications. Back test it - I was surprised how well it did.
Edit: About 300 downloads. I downloaded it today, and re-compiled with property strict. I wonder if it would be fun to update this to handle events, put in some kind of strategy to enter in a direction that seems favorable....
Attached File(s)
fxRoulette_2.mq4
62 KB
|
419 downloads
|
Uploaded Nov 13, 2016 4:38pm