How to import and use custom indicator?
-
Hello, how do i import my custom indicator to the builder and get the indicator's signal (in case using color by the arrow) to decide if the ea must buy or sell.
Regards,
slimmz -
@slimmz Go to my indicators on top of screen, MQ4/5 is easiest but EX4/5 can be added, just needs more work.
-
That is the case @jstap the one I'm trying to import is .ex4 which in action will give a colored line signal
It has 2 colors (Salmon and CornflowerBlue)
how can I make the algorithm to work like when the indicator gives me one of the colors, open a position based on the color itself
Is it possible?
-
The colors are assigned to buffers. Load the indi and hold your cursor over one of the lines (color), this will tell you what buffer it is assigned (it is going to be value1 or value2). These buffer assignments go into the Custom Indicator.
-
@slimmz You'll find basic info here:
https://fxdreema.com/instructions/builder/indicators
Then I recommend these tutorials to deal with that ex4 issue:
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 -
@line
I did what you said and this is the outputData window: https://ibb.co/93MMLGy
Indicator input value: https://ibb.co/Qf499ss
Color: https://ibb.co/T471Thz
CornflowerBlue line (buy indicator): https://ibb.co/kKLSysh
Salmon line (sell indicator): https://ibb.co/2KhbWMDnow what do i do in the builder to make the ea run based on that?
-
@l-andorrà sure, i will try them
-
Okay, so based on @l-andorrà guides, I found myself understand a lot about the process, thanks
and now i think i built myself one, but now im stuck here
https://ibb.co/xsv0P2K (compiling to ex.4 error)
and here is the project link you could check: https://fxdreema.com/shared/0x0sPMwSb
-

-
Try this and let me know what happens.
-
@slimmz Please be very careful with those buffers. Are you sure the don't repaint?
-
@line I will, update comming
-
@l-andorrà iam pretty sure, the author said so and my back test proved it. No repaint
-

Im still having compiler error @line
-
@slimmz I downloaded the indi and did not compile errors but did not take trades. This indicator is a Moving Average (Smoothed) 14 or 12 period. I will look again at the problem.
-
Sure @line yes it is MA-based indicator
i used 24 period to be more accuratehere is the indicator: https://1drv.ms/u/s!AkiKVSiT_YUIhtAhzYvAcidyKxeVmg?e=XPAQyI
-
Found a slight bug and it is operational.
-
@slimmz Where there is a word replace with the number that corresponds with the place in input list. This indicator has 4 int, 5 bool, 1 string.

-
@line may you share the fix?
-
@jstap can you be more clear? what should i do?