Hello there nthung.
Just change ACCOUNT_FREEMARGIN to ACCOUNT_MARGIN_FREE, it is a predefined constant used by Metatrader. Be glad that the sistem gave you the answer itsefl. There are other cases where that dosent occurs like with POSITION_COMMISSION. However, i havent try this with a live account, still building my advisor and using it in demo account. Be aware of unpredictable flaws.
I hope the deprecated predefined constants will be updated by developers in fxdreema soon.
Jusep Sobrino
@Jusep Sobrino
Finance student.
Enthusiast trader.
Best posts made by Jusep Sobrino
-
RE: 'ACCOUNT_FREEMARGIN' is deprecated, use 'ACCOUNT_MARGIN_FREE' instead and 'POSITION_COMMISSION' is deprecatedposted in Questions & Answers
Latest posts made by Jusep Sobrino
-
RE: 'ACCOUNT_FREEMARGIN' is deprecated, use 'ACCOUNT_MARGIN_FREE' instead and 'POSITION_COMMISSION' is deprecatedposted in Questions & Answers
Hello there nthung.
Just change ACCOUNT_FREEMARGIN to ACCOUNT_MARGIN_FREE, it is a predefined constant used by Metatrader. Be glad that the sistem gave you the answer itsefl. There are other cases where that dosent occurs like with POSITION_COMMISSION. However, i havent try this with a live account, still building my advisor and using it in demo account. Be aware of unpredictable flaws.
I hope the deprecated predefined constants will be updated by developers in fxdreema soon. -
Closing Trades correctly problem.posted in Questions & Answers
First of all. I am new at FxDreema. However I used FxPro Quant, another Strategy builder. Unfortuneunly FxPro decided tu shut it down without any warning and I lose almost all my robots.
I can understand great part of FxDreema but i have issues where it has different mechanics to my past builder.Can someone help me running this EA?
I dont know if the problem is in the robot or at my skills using MT4. I have always use cTrader.