Cant close trade on condition of price crossing smma
-
Hi, I am having trouble with my current build. I am just messing about as I'm fairly new to this.
I am trying to open a sell trade once the rsi (14) is above the value of 68 but only when the price is above 200 smma. I have got this far and the sell works fine, the problem is, I want the trade to close once the price crosses below the 200smma. I am having difficulty with this. Can someone help me?
TIA - Excuse my english, isn't my first language.
-
condition candle 0 X< ma - close, once you do this if not working add a shared project link
-
Hi jstap, this is roughly what i was trying, along with many other different ideas. not sure why it isnt working.
i have attached the link, if you could have a look i will really appreciate it. thanks.
-
You just need it in a separate tree:

-
perfect, got it working. thank you very much
-
@ryandainert7 You are welcome