I'm confused about this one because it involves the CSM of the previous data
Which language MQL4 or 5 and indicator or EA?
Show your code then we can build on it and help you.

Which language MQL4 or 5 and indicator or EA?
Show your code then we can build on it and help you.

You agree to website policy and terms of use
In the BBMA technique, among the important things I need to know are, CSM, and Reentry. Conditions to build CSM, I have succeeded in building the code. But For Reentry, I'm still stuck,
I have no idea how to build coding according to the conditions below for REENTRY.
CSM conditions are as follows: 1. CS Close >Upper BB (For this I have succeeded in doing it)
Reentry conditions are as follows: 1. There must be a CSM first (I'm confused about this one because it involves the CSM of the previous data) 2. Price touch MA5 /MA10 (For this I have succeeded in doing it) .
Can anyone help me, I'm stuck?