maleas_k:
i didnt read ur code yet
ds_array_ATF[1][10][4] needs 610 * 2 Candles / Periods,
ds_array_ATF[2][10][4] needs 610 *3 Candles / Periods.
but the question begins, do u have enough history data for that
i was more than happy to try helping u but i don't have the file "DonchianSwing_v2"
iCustom(Symbol(),ds_timeframe,"DonchianSwing_v2",ds_periods,0,i);
qjol:
i was more than happy to try helping u but i don't have the file "DonchianSwing_v2"
oooopsssss
Files:
donchianswing_v2.mq4
7 kb
o ye i forgot to mention @ first, i had the same problem, but i forced MetaTrader to download more history data
& as i asked @ the beginning before reading & testing ur code
qjol:
i didnt read ur code yet
but the question begins, do u have enough history data for that
i didnt read ur code yet
but the question begins, do u have enough history data for that
Anybody...?
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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 There
Here I am again trying another strategy and facing new issues.
I am importing in an array market prices and Momentum prices using 7 different mom periods
10,55,89,144,233,377,610 in 3 different positions.
The issue is that I don’t take mom prices for 233,377 and 610 for the last 2 position.
Every position needs at least the periods in candles plus the previous position.
For example ds_array_ATF[0][10][4] needs 610 Candles / Periods,
ds_array_ATF[1][10][4] needs 610 * 2 Candles / Periods,
ds_array_ATF[2][10][4] needs 610 *3 Candles / Periods.
I have come to a conclusion that mom fails to count all this Candles / Periods so it doesn’t return any value.
Can anyone imagine something else or knows any solution ?
Thanks in advance.
Hera is my code…