To start save this price into a variable, draw a line on this price using the variable, so you can visually check things are how you want. Once you have this a condition block will check for the candle close.
Do you mean open or closed? Either way, use modify variables to set a variable to 0- pink for each trade-formula to add positions, at required time save the result where you want it.
That's a lot of conditions to be considered at once. Additionally, some are too vague. For example, what do you consider 'shows bullish trend' is confirmed? Sadly, fxDreema needs crystal clear conditions to work properly. Maybe uploading some images would definitely help.
In this case, the magic number will be used to differentiate between EAs, so technically if they both have the same magic number they should interact with each other.
I just read this again, and I realised that you wanted coding information to create this indicator. These forums are to create fxdreema EAs, you need to go onto the MQL5 forums to get the information you require.
Posted a divergence with zigzag and stochastic you you can download that project and use it change the stochastic to RSI the condition is practically thesame , go on my profile and you will find it