Hello, Vladimir!
Thanks for share your code, it's clean and works very well.
I want to edit the code to work as 3 martingale "operating together", like below:
- deal #1: InpLots
- deal #2: InpLots
- deal #3: InpLots
- deal #4: InpLots if #1 profit>0.0 / multiply the #1 lot by MLot if #1 profit<0.0
- deal #5: InpLots if #2 profit>0.0 / multiply the #2 lot by MLot if #2 profit<0.0
- deal #6: InpLots if #3 profit>0.0 / multiply the #3 lot by MLot if #3 profit<0.0
- deal #7: InpLots if #4 profit>0.0 / multiply the #4 lot by MLot if #4 profit<0.0
- deal #8: InpLots if #5 profit>0.0 / multiply the #5 lot by MLot if #5 profit<0.0
- deal #9: InpLots if #6 profit>0.0 / multiply the #6 lot by MLot if #6 profit<0.0
-and keep going...
So my ideia is just change the lot management to keep working as martingale but referencing to third last deal, not to first last deal., do u understand?
I've tried so much reach that change I proposed, but I'm just initianting in mql5 programing... Could u help me?
Thanks for attention!
Congrats,
Marcus
For exemple: I want the anti-martingale to multiply positions for ONLY 3 consecutives wins. The fourth trade would be, then, inital lot, system restarted.
How can i do this?
- Aplicativos de negociação gratuitos
- 8 000+ sinais para cópia
- Notícias econômicas para análise dos mercados financeiros
Você concorda com a política do site e com os termos de uso
VR Overturn:
Martingale e antimartingale.
Autor: Vladimir Karputov