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
Hello Everyone,
I'm new here, long time ago I used to be a programmer - changed my mind but I restarted a few weeks ago to build my own trading script. I'm used to stock markets - not with Forex - but I did read a lot about it, and try to understand everything I've read. I've got good notions about risk management, % of trade and balance, etc ...
So to define my script, what I actually did :
- identify signals I want to use (RSI, Moving average, etc ...)
- Building my MqlTradeRequest
- Defining my stop loss
- Defining my take profit
What i do miss is to calculate my lot size. I did read a very interesting post here and I did like the solution I saw, but I think I dont fully understand the script that was posted: https://www.mql5.com/en/forum/388742
So I tried to redo the script myself, it is actually not finished, but I already am not sure about results I'm getting, or I just dont understand it ?
Here the script I'm going for step by step, to understand what I'm doing :
Here the printed results :
The lotSize seems a little bit too big no :) ?
Hope someone will be able to help ! Thanks a lot for your answer.