Questions from Beginners MQL5 MT5 MetaTrader 5 - page 112
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
Here is the code for Expert Advisor which uses this indicator TrendToTrend_open
code below
Question - why does my Expert Advisor set this indicator with a close price?
Hello!
Can you please point me in the direction of the answer to your question?
I have an EA with two strategies that open trades on different principles. It has a common position as the end result.
A bit later, I need to understand how each strategy has contributed to the position. So, which strategy (or two) opened the position.
How do I do it?
Thank you!
Hello!
Can you please point me in the direction of the answer to your question?
I have an EA with two strategies that open trades on different principles. It has a common position as the end result.
A bit later, I need to understand how each strategy has contributed to the position. So, which strategy (or two) opened the position.
How do I do it?
Thank you!
If the EA has the ability to disable one of the strategies and you can change the magic number in the settings. Then put two EAs on the account and disable one of the strategies in each of them and assign different magic numbers for positions, and then trace in the history what gives more plus or minus by magic numbers.
Thanks for the reply. I made through static variables that change their value if the strategy position is open (on closing and stop loss the values also change). In general this works fine, but I understand that after restarting the EA it will lose its orders.
Why isn't the money ticking?
thanks, buddy... i'll keep that in mind.
I've got computers in the basement, ...., mining the pots... let's do something.
I don't understand why the function returns 0:
Calling like this for example:
n writes correct, but returns 0.I don't understand why the function returns 0:
Calling it like this for example:
n writes correct, but returns 0.