I am not sure why is that white and not red, I used this version of indicator:
0_1530634608823_miro1360_test_1.2.mq4
you are right, it can be increased by +1 
I am not sure why is that white and not red, I used this version of indicator:
0_1530634608823_miro1360_test_1.2.mq4
you are right, it can be increased by +1 
you can adjust result by *10 and than this is how it looks like:

you have something weird with custom indicator, it has not parameters, there should be parameters
... note, that output data from indicator are small and value can be 0.xx, you should avoid null value as input parameter for period ....
sure, check this:
https://fxdreema.com/shared/BkhCaSnW
here are 2 moving averages, one is static (yellow) with period 200 and the second (purple) is with dynamic period controlled by RSI indicator

note, there can be problem with cross detection
note2: rsi is not good example 
do you need moving average from that indicator? I think you must have moving average buffers directly in that indicator ...
0_1530469084432_miro1360_test_1.2_2xMA.mq4

plot broker name into comment to see if are you right with that name:

this is what we have:

now calculation in details:



so check, if there is not some error in provided formula, or if there is not something missing 
0_1529870748734_miro1360_test_1.2.mq4
maybe there can be error
try few excel calculations or something similiar for compare results to find potentially bug 

sorry, you need square root
yes, use MathSqrt as jose suggested
in forum are many examples of martingale, even integrated martingale system in blocks:
https://fxdreema.com/forum/topic/4355/betting-custom-sequence
if you need separate more groups of different martingale, use group number in trades
there are much more details needed, but for start you can try this based on pure blocks without custom code:
https://fxdreema.com/shared/wRRJzDKud
you can remove SL/TP but than you need add another check blocks
is here some reset or something based on profit/loss?
or is it only repeatable sequence?
grid by AlphaOmega is based on trading probability if your strategy is based on that ... lets say your strategy is selling highs - and this is probability because the more highs you sell, the greater chance to hit one right ....
... but there are indicators which are blindly showing arrows or something similiar and this is not good way ...
first of all, it is not one strategy, and this grid is tool, that means it is tool for another view on the market and exists a lot of strategies how to trade with this grid ...
yes it can be done in fxdreema, and work depends on details ...
no, there are not custom indicators
performance depends, because it is not meaning to be fully automated, you must control it (especially during news)
... but there is no reason to do it again because here is all what you need, you must read:
https://www.forexfactory.com/showthread.php?t=558372
when you understand how it is working, you can create automated tests in fxdreema with few clicks for your specific strategy based on that grid system ...