Here in the description : The Expert Advisor works on two iMA (Moving Average, MA) (with one indicator having a hard setting - period D1) and one iSAR (Parabolic SAR). The settings say:
MA: period (must be less than PERIOD_D 1)
I put D1 in the settings, the EA does not get on the chart, I put the setting Kurrent, it gets on the chart, but does not make trades today for some reason. Current is set by default.
Here in the description : The Expert Advisor works on two iMA (Moving Average, MA) (with one indicator having a hard setting - period D1) and one iSAR (Parabolic SAR). In the settings it says:
MA: period (must be less than PERIOD_D 1)
I put D1 in the settings, the EA does not get on the chart, I put the setting Kurrent, it gets on the chart, but does not make trades today for some reason. Current is set by default.
Read the description: "MA: period (must be less than PERIOD_D1)".
That is, when the parameter "MA: period ..." is equal to PERIOD_CURRENT and the EA is on the timeframe M1, the parameter will be equal to M1. When you put the EA on D1 and the parameter "MA: period ..." is equal to PERIOD_CURRENT, it means that the parameter "MA: period ..." will be equal to D1 and this is a USER'S ERROR.
That is, when the parameter "MA: period ..." is equal to PERIOD_CURRENT and the Expert Advisor is on the timeframe M1, the parameter will be equal to M1. When you put the EA on D1 and the parameter "MA: period ..." is equal to PERIOD_CURRENT, it means that the parameter "MA: period ..." will be equal to D1 and this is a USER'S ERROR.
I have it with PERIOD_CURRENT only on M1. What is the correct parameter to set ? Or any but less
Here in the description : The Expert Advisor works on two iMA (Moving Average, MA) (with one indicator having a hard setting - period D1) and one iSAR (Parabolic SAR). The settings say:
MA: period (must be less than PERIOD_D 1)
I put D1 in the settings, the EA does not get on the chart, I put the setting Kurrent, it gets on the chart, but does not make trades today for some reason. Current is set by default.
Here in the description : The Expert Advisor works on two iMA (Moving Average, MA) (with one indicator having a hard setting - period D1) and one iSAR (Parabolic SAR). In the settings it says:
MA: period (must be less than PERIOD_D 1)
I put D1 in the settings, the EA does not get on the chart, I put the setting Kurrent, it gets on the chart, but does not make trades today for some reason. Current is set by default.
Read the description: "MA: period (must be less than PERIOD_D1)".
Read the description: "MA: period (must be less than PERIOD_D1)".
Google translated it: it says that it must be less than D1. How much should I put on M1? Why doesn't it work with Kurrent?
It says it should be less than D1. How much should I put on the M1? Why doesn't it work with Kurrent?
PERIOD_CURRENT
Current period
That is, when the parameter "MA: period ..." is equal to PERIOD_CURRENT and the EA is on the timeframe M1, the parameter will be equal to M1. When you put the EA on D1 and the parameter "MA: period ..." is equal to PERIOD_CURRENT, it means that the parameter "MA: period ..." will be equal to D1 and this is a USER'S ERROR.
PERIOD_CURRENT
Current period
That is, when the parameter "MA: period ..." is equal to PERIOD_CURRENT and the Expert Advisor is on the timeframe M1, the parameter will be equal to M1. When you put the EA on D1 and the parameter "MA: period ..." is equal to PERIOD_CURRENT, it means that the parameter "MA: period ..." will be equal to D1 and this is a USER'S ERROR.
I have it with PERIOD_CURRENT only on M1. What is the correct parameter to set ? Or any but less
Д1. I'm going to bed, it's 12.40 at night.
Thank you.
Correct the error in the code when initialising the daily MA
//--- create handle of the indicator iMA
You have
Apparently, it should be
Correct the error in the code when initialising the daily MA
//--- create handle of the indicator iMA
You have
Apparently, it should be
Thanks. Fixed. The code is awaiting republishing.