I analyzed the grid very closely and tried to write the code for the indicators, but in all honesty, I am surprised I even got the attached mql to work like it's supposed to.
If we can get this grid right, and combine it with your MA RSI arrows, and another EA with this grid and MA CCI arrows.
Let me 1st explain how the IN1 calculates it's levels to the best of my ability:
Grid lines are as follows:
1. Vertical grid = 4 bars of TF, let's call this VG
2. Horizontal grid = High close (HC) - Low close (LC) of the last 30 vertical grids, (so it's basically the last 120 bars) divided by 9. Lets call this HG,
(The problem I have with this is the indicator doesn't adjust the high and low lines, so the orange and blue lines become quite vertical after about 1 week on the M15, I managed to, with the help of an online coding app, to write code for a more acceptable, and workable mq4 that adjusts according to custom inputs, please find it attached. This will paint the high and low of the last 120 (or 240, or whatever input the user inserts) bars. A more accurate signal will be on the highest close and the lowest close and not high and low, of the last x amount of bars) HC-LC
So HG is ( HC-LC ) /9 (The 10 different horizontal lines)
EG: (1.32005 - 1.30805) / 9 = -0.00133, so each horizontal line be at 0.00133 points higher from the bottom. Let's call this the HGD (Horizontal grid difference)
3. Diagonal grid is easy, a diagonal between VG and HG meet, DG , DGD=Diagonal Grid Difference
The indicator price line is calculated at an amount of lower ticks and higher ticks and as you can see is basically a line chart, with dots on the close, we can just use the standard TF closing price (CP) as it is close enough, and actually produces clearer signals on the H1.
The painting of the orange and blue lines are as follows:
To start the 1st line, Up close, it will start with a blue line, down close, start with orange.
Orange Line OL:
Line value = CP + HGD. (CP 1.31205 + HGD 0.00133 = 1.3133)
Now the line will paint parallel to the downward diagonal line on every close and will keep the slope of the diagonal grid line UNLESS the close is lower, then it will draw at the lower close + HGD. If the close is higher, it will continue on the parallel to DG. So it will still draw lower, except the lower draw will be at previous OL value + HGD and not close + HGD, the orange line will never go up. It keeps a HGD minimum downward slope, only time slope will change is on lower close, then it uses CP + HGD. (You can gather from this that the horizontal grid actually has, in this case 133 points, (sounds like a lot, but it's only 13,3 pips) between the horizontal line visible on the chart.)
When CP>OL (Market closes above orange line) then a blue line will start from the lower upward diagonal grid below the crossing, in the same relation to the cross' upward diagonal line, (if the CP is 3 points above the upward diagonal line on the close, the blue line will start 3 points above the lower upward diagonal line) blue line the draws at the same calculation as orange ,and orange doesn't draw anymore obviously except higher close will be CP-HGD, lower close will be previous BL value-HGD.
And so the process repeats itself, when CP<BL and orange line will begin and blue will stop drawing.
I will try to make a video of this all happening if you want, but it can only be of the blue and orange line painting.