Importing indicator, then using it as a specific condition.
-
So I imported an indicator, Keltner Channels, which is very similar to bollinger bands (just uses different method to calculate the positions of the bands)
It imported fine, but it doesn't have the ability to select lower band, middle band or upper band.
So it is essentially useless in the context of condition blocks.
Does anyone here know how I add it to the Keltner Channel indicator?
Perhaps some code I have to add to the indicator's source code?
Thanks.
-
Probably the problem is in the buffers not been identified by fxDreema. Could you please share the link to the project?
-
@l-andorrà Well, it's not exactly a project yet.
I'm trying to import it properly before the creation of the project.
Does sharing a project also share my own imported indicator?
-
Try this: https://fxdreema.com/shared/w8yPBKIgb
It's just one condition block but you may be able to see the Keltner channel settings there.
-

It does have these 4 buffers, is that suppose to be referring to the channels?
There's 4 buffers, but 3 channels though.
Thanks.
-
Sadly, fxDreema for MT5 doesn't work with custom indicator's buffers like for MT4. Only one value per buffer is accepted while MT5 can accept more, as is the case here. You will need a programmer to provide a solution for that, I'm afraid.
-
@l-andorrà Oh that's unfortunate.
Did you mean "while MT4 can accept more?"
I'll just make it for MT4 first then. If it's any good I'll get it fixed for MT5.
https://fxdreema.com/shared/fvRTyJ6uc
Here's the MT4 version

The "band selection" option wasn't there before, I'm assuming that's to refer to upper, lower and middle band. Just gotta find out which number refers to which I think.
Thank you for your time.
-
@Mitchp The problem is here:

You should see all colours there but no colour is visible. That means fxDreema can0t find those buffers. You can try to emulate them as explained in this tutorial:
https://fxdreema.com/forum/topic/4208/tutorial-06-my-indicators-in-fxdreema
-
@l-andorrà That thread made me realize what buffers are.
Seems like the MT5 version is finding them correctly.

The colors are black in the condition block, but they are correct here.
(I changed the buffer names to represent what it is)
However, when I actually try to use it it doesn't seem to work.
Here's a quick demo project: https://fxdreema.com/shared/DUm2642cb
It doesn't take any trades at all.
-
Just realized my indicator was named differently in my MQL folder so the EA didn't detect it. Now it is taking trades but seems like it's not off of the correct levels, not sure yet still testing.
-
https://fxdreema.com/shared/LTwMmKoQc
Yeah so now it is just taking trades at random with a complete disregard for the keltner bands.
It is always in a position, so if a position is closed it just opens another one instantly (randomly buy or sell) even if it's inside the bands.
-
Is this the whole project or just part of it? If you selected the buffers correctly. That example should work.
-
@l-andorrà It's the whole project as of now, just to test the functionality of the Keltner channel.

Should be correct.
-
Are buffers 1 and 2 the only ones you need? I see they do not have multiple values. They should definitely work.
-
@l-andorrà Yes, I only need those. But can't get them to work for some reason.
-
Then the explanations goes far beyond my capacities, I'm afraid. You should contact the admin to let him know.