@simenandreas It depends on your SSL indicator buffers. Here is one i tweaked a bit for buffers (initial indicator was not from me!). 0_1575024216293_SSL-fast-nrp.mq4
0_1575024398808_704617d0-68fd-46af-9139-318c29984cda-image.png
As you see in the screenshot, I exposed the trend buffer. If it's above 0 it's a long trend and if below it's a short trade.
If you want to stay with your own SSL indicator, you should have 2 buffers - 1 representing the green line and 1 for the red. just make an x> or x< condition on them should do the trick as well.