I have an indicator looking for a condition which appears to be working as I have the if statement followed by a print which when the if statement is true I am seeing the correct output as per the code below;
This is when the code was working correctly; if (BarsInProgress == 0) { if (GetCurrentBidVolume(0) > GetCurrentAskVolume(1)) print(GetCurrentBidVolume(0) + " " + GetCurrentAskVolume(1)) }
if (BarsInProgress == 0) { if (GetCurrentBidVolume(0) > GetCurrentAskVolume(1)) print(GetCurrentBidVolume(0) + " " + GetCurrentAskVolume(1)) DrawDot("Plot0", false, 0, High[0] + 1, Color.WhiteSmoke); }
Comment