Due to Pine Script limitation that we cannot open both short and long order at the same time. So this GRID idea cannot backtest yet.
This strategy is for using with CTC Okex Bot grid system only.
The idea is to check how wide the grid with ATR so you can setup each grid size in CTC Bot every day ( or cut loss some grid accordingly )