I need Help by my ea with exit. I have got a Half Trend indicator and i know which colour is by which buffer. Example 0 is blue and 1 is red. I would like exit my buy trade when colour of the Half Trend line changed from blue to red and sell trade close should when the Half Trend line changed colour from red to blue. Thanks.
Exit by indicator buffer colour
-
I need Help by my ea with exit. I have got a Half Trend indicator and i know which colour is by which buffer. Example 0 is blue and 1 is red. I would like exit my buy trade when colour of the Half Trend line changed from blue to red and sell trade close should when the Half Trend line changed colour from red to blue. Thanks.
-
@trader-1978 Not sure if this is possible, I have never used colour but if you put the indicator here I will have a look.
-
i would use the "indicator is visible" block.
Just make sure you know which Candle ID it actually shows up and stays on the chart, plug that one into the CandleID of that block. It will then pass that block if the indicator is visible at that CandleID.
-
@trader-1978
I would suggest doing it like this:
-
@alphaomega said in Exit by indicator buffer colour:
@trader-1978
I would suggest doing it like this:
Thank you for your help. That was what i search
-
@alphaomega I think its worked but dont work i dont know why. It cant closed when buffer comes. Sell Buffer is 1 and i select it but dont function.
-
@trader-1978 You can make a condition and then stipulate your indicator signal within .. some indicators does not operate well with the SL function... Try as picture:
-
I thought halftrend just use a simple buffer. Are you using mladen's? It should be simple.
-
@biztet He has not shared the indicator so I do not know how the indicator work exactly, I just gave some ways to close the orders he needs to close according to his start question.
-
As far as i know there is only one halftrend, the original name. But there are lots of renamed version from it, like swing catcher, hahahaha.
Here it is. 0_1640332051348_HalfTrend MTF with alerts.mq4
-
@biztet maybe he can use your one with the correct buffers.. I am using mq5 so won't be able to test it
-
I have 2 indicator for buy or sell signal. The second indicator is filter for indicator 1. If both say buy than buy and if both say sell than sell. If only one than no trade. My exit indicator is the second indicator and if this indicator give the exit signal than become the trade exit because in one second do my ea buy or sell trade
Can i stop the retrade with no buy for 2 minutes or so ?