Hi there I have searched and cannot find the exact answer on how to incorporate ADX into my trade logic.
I am trying to only allow my buy order be opened only if the current 8 period ADX value is > 22. I thought it would look like so, but not luck. Any help would be greatly appreciated.
if (iADX(NULL, 0, 8, PRICE_CLOSE, MODE_MAIN, 0) > 22;
Hi there I have searched and cannot find the exact answer on how to incorporate ADX into my trade logic.
I am trying to only allow my buy order be opened only if the current 8 period ADX value is > 22. I thought it would look like so, but not luck. Any help would be greatly appreciated.
if (iADX(NULL, 0, 8, PRICE_CLOSE, MODE_MAIN, 0) > 22;
SD