hello trying to get this condition in a code
current line of code is plot signaldown = if warning then high else Double.NaN;
need it to be plot signaldown = if three warning(s) occur within 10bars then high else Double.NaN; any help thanks
current line of code is plot signaldown = if warning then high else Double.NaN;
need it to be plot signaldown = if three warning(s) occur within 10bars then high else Double.NaN; any help thanks