Newbie Help please
-
Hi All.
Testing my indicator in MT5
This is my first attempt at an EA, i'm just trying to get one running in the strategy test successfuly. Please help!
Created EA in Fxdreema, strategy test in MT5 says
cannot load custom indicator 'donchian-channels-indicador' [4002] -
I see it's an ex5 file. Whenever possible try to work with mq5 files. Meanwhile, here you can find useful information about how to deal with custom indicators. I hope it helps.
https://fxdreema.com/forum/topic/4208/tutorial-06-my-indicators-in-fxdreema
https://fxdreema.com/forum/topic/9105/tutorial-working-with-ex4-ex5-indicator-file -
@l-andorrà Thank you for replying.
Sorry, I should have given better details. I have created an EA within Fxdreema, including using the custom indicators. I had success running the EA in the strategy tester of MT5 but then it stopped working an now says cannot find custom indicator error 4002. I checked the file path for when I created the indicator and that is correct. I used the setting below, are my data types correct?

My condition in the buy trade section of the EA looks like this

Is there anyway I can upload the fxdreema EA into the forum so you can have a look at it?
0_1591843933587_Donchian_channels20.mq5
Thank you for your help!
-
I managed to solve my problem above. i was loading the MQL5 program file instead of the source code file so now it is working.
Now when i'm testing I am trying to get the EA to set take profit on the ATR of the previous candle and the stop loss at 1.5 times the ATR of the previous candle. In the buy and sell brick I have put the following in but it doesn't seem to work. The stop losses are way to small and I get all losses.

Thanks for the help.
-
Good for you.

-
@l-andorrà thanks. But are you able to offer any help with the other problem I am having trying to set stop loss and take profit.
Any help would be greatly appreciated.
-
@mikev_303 Sorry, I forgot. Just substitute the 'Custom(pips)' option by 'Custom (price fraction)'.
-
@l-andorrà legend. Working now. Thanks again
-
@mikev_303 You are welcome.
