When Custom Indicator color is blue : BUY, When Custom indicator color is red : SELL
-
Hi everybody, please how can i do this with fx dreema ?
"When Custom Indicator color is blue : BUY"
"When Custom indicator color is red : SELL"
Thank you in advance -
Depends on what the indicator is. Blue/red what? Arrows, lines? But the color does not matter anyway. What matters is the value in the buffers of the indicators. Normally you should have 2 separate buffers for both lines (or arrows, whatever it is). And when the value in the "blue" buffer is EMPTY_VALUE, then you don't see line, otherwise if the value is like 1.2345 you see the line.
You can use "Condition" and just compare the value of the buffer with > 0. This is because "Condition" block does not pass if either value is EMPTY_VALUE, so the block would not pass if the buffer is "invisible".
Or, there are blocks "Indicator is visible" or even "Indicator appear".
Maybe you will also need to use "Once per bar" - https://fxdreema.com/demo/mt4-once-per-bar
-
0_1495394683572_Bollinger_Bands_Stop_v3.mq4
0_1495396903093_Heiken_Ashi_Smoothed.mq4 0_1495396914378_Fisher_Yur4ik.mq4OK, i want to gether these 3 indicators in order to buy when there is a buy stop with the "bollinger bands stop" indicator, blue "heiken ashi smoothed", and green "fisher yur4ik". I want too sell when there is a sell stop with the "bollinger bands stop" indicator, red "heiken ashi smoothed", and red "fisher yur4ik".
Thank you for your fast reply
-
@polovince dd you ever figure this out?