candle bar cross MA
-
Hello,
I'm having difficulty in defining a single candle body cross of an MA+RSI ema.
Its not taking the trades as intended as shown in the image attached.
(the red lines are for trades intended)

I believe its due to defining candle state. Please let me know of issues or suggestions.
https://fxdreema.com/shared/ojSMyhQnd -
The object is just for the candle body to be crossing MA with RSI 50 band cross. Thx
-
You need the once per bar under all crosses, also the chances of 2 crosses happening on the same candle is unlikely, you need to record a cross, then wait for the other, or look for a > or <, on one.
-
Thx for the suggestions. Experimenting with them and learning.
Is there a way to define "candle body is across(laying on) both MA+RSI(certain band)"?
-
or possibly use of multiple candles?

-
Multiple candles effort gives no trades
https://fxdreema.com/shared/5cd1wyxJd -
Try this, be carful though, too many conditions will limit the trade taken, and you need to put the candle ID inside the MA section:

-
I cant even get it to respect 2 variables once per bar.
In testing, it fails to respect below 50 band RSI(#3)
Unless Im doing something wrong.
https://fxdreema.com/shared/GiIo6oFmc -
This looks like it should work, strip back to one condition, then test, once you know it's working, add another. Until you can verify what is or isn't working.