could someone please show me where I'm going wrong
-
I am trying to place a pending buy at the middle point between the high and low within a certain time, no matter what changes I make it will not achieve a pending, I cannot even get the idea to run in a back test. Any help is much appreciated.
-
@jstap mathematically, mid point is not high-low.
Correct formula is: low + 0.5*(high - low)
Or simplified: 0.5 * high + 0.5 * low.So, here's the fix:

-
@roar: Brilliant thank you.