HOW TO DEFINE COLOUR CHANGING INDICATOR IN EA?
-
Hello fxDreema. All right?
Is it possible to change to the color none? Or change the type to DRAW_NONE? -
HELLO . I WANT TO BUILD A SIMPLE EA THAT OPENS A TRADE WHEN THE INDICATOR TURNS PURPLE AND CLOSES IT AND OPENES THE OTHER DIRECTION WHEN IT TURNES GREEN. HOW CAN I DO THIS HERE ON FXDREEMA?
-
Try the block named "Indicator appear", but first find which indicator buffers are responsible for these "colors". Here is more for indicators: https://fxdreema.com/documentation/gett ... indicators and https://fxdreema.com/documentation/proj ... indicators
-
@tcanuto What? You can change everything inside the file of the indicator.
-
Explaining better: what I meant is to change the color of the indicator in the Strategy Tester, since it is possible to change the properties and colors of the chart objects.
-
@tcanuto I have no idea how to do that. I was asking myself this question since the beginning, but I don't know any function to do that. Moving Average always appears red, but in iMA() there is no parameter for the color.
-
@fxDreema Well ... this would be an alternative. I believe it is possible, but I do not know how to do it.
Perhaps the most accurate solution is this: http://fxdreema.com/forum/topic/4433/change-the-indicator-color-in-the-visual-strategy-tester/3
-
Hiding indicator is possible in MT4, but not in MT5 I believe. There is no block to do that. I don't want to add functionality only for MT4 or MT5 alone. So the way is to use the MQL4 functions manually in "Custom MQL4 code"
Changing colors is not possible at all, as long as I know.