Forum

how can I check whether a moving average cuts another moving average from bellow or from the top?

Hi, Here I have the code that I want to check when ma8 cuts ma21 from bellow I want to place the buy order and when ma8 cuts ma21 from the top I want to place the sell order , How can do these two in if statements that I leave them empty in the code? #property strict

why this EA can’t buy and sell automatically when I backtest it , is there anyone know why?

Hi, I want to know the reason of why this EA can’t buy and sell automatically? what the problem is ? it there any solution for it? if someone know please help, I have no one to get help from and really unable to hire freelancer to solve my issues. I post this issue multiple time but no one helped

My EA does buy and sell automatically when I backtest it is there anyone that can help me to solve this issue?

Hi again, I have a problem my EA program does not buy and sell automatically when I backtest it , I can’t recognize what the problem is that this code can’t buy and sell , if anyone know , help me please. Here is the code : //+------------------------------------------------------------------+ //|

My EA does not buy and sell automatically when I back test it.

Hi, I want to back test my EA code, I select my EA from strategy tester tab and adjust all the settings, when I hit start button the back testing begins and the chart starts moving , but my EA does not buy and sell automatically, What's the problem? what should I do? Here is my EA code

would you please help me to implement a mechanism in my code to maximize profits and minimize loses in challenging market condions

Hi, I try to implement a mechanism in my EA code to minimize loses and maximize profits even in challenging market conditions , would you please help me to do this ? please provide code for the modifications that I should made if possible Here is my code

How can I solve ')' - open parenthesis expected in MQL5?

Hi, I encounter this error when I execute my code: ')' - open parenthesis expected , I am unable to solve this error, I don't know what the problem is, would please help me to solve this error if possible? Here is my code: //+------------------------------------------------------------------+ //|

how to solve ',' - open parenthesis expected error in MQL5 ?

Hi, I try to create a simple EA with MQL5, when I run my code I get this error:',' - open parenthesis expected. , I don't know what the problem is , would you please help me to solve this error? Here is my code://+------------------------------------------------------------------+ //|

How can I solve 'OP_BUY' - undeclared identifier in MQL5?

Hi , I need help , I have this EA code: #define MODE_LOWER 2 // Input parameters input double lotSize = 0.1 ; input int maPeriod = 50 ; input double riskPercentage = 2.0 ; input int rsiPeriod = 14 ; input int macdPeriod = 12 ; input int macdSignalPeriod = 9 ; input int bollingerPeriod = 20 ; input