what i want just is if the condition satisfied ,we can close the position and at the same time open the reverse position,perhaps it is difficult to do. ok,that is not so important to realize it.
I can't get the Directional Real Volume Strategy to open Shorts, it opens Longs fine. Does someone see a code mistake? I have not been able to find an error that prevents shorts...