In pine script V5, our DCA strategy is opening long positions by too close candles.
As opening new position after last position, I want to determine the ranges among candles. For instance, after providing ten candles circumstance, it must be able to open new positions.
Waiting for your help.. Best Regards..