I want to optimize my indicator code, and I have an issue where the Market Analyzer runs the Indicator column multiple times per Instrument. I only need to run it once!
Is there a way to scan the total bars then keep it from repeating the loop? I have the column Indicator set to 80 Days Back and I output to the console if it finds my pattern. It appears to be looping 8 times per Instrument. How can I be sure to only run the full 80 days then not loop again?
Here's an example of my output (I only wish to check these once):
2/20/2019 -- LWAY
2/20/2019 -- LWAY
2/20/2019 -- LWAY
2/20/2019 -- LWAY
2/20/2019 -- LWAY
2/20/2019 -- LWAY
2/20/2019 -- LWAY
2/20/2019 -- LWAY
3/4/2019 -- LUV
3/4/2019 -- LUV
3/4/2019 -- LUV
3/4/2019 -- LUV
3/4/2019 -- LUV
3/4/2019 -- LUV
3/4/2019 -- LUV
3/4/2019 -- LUV
3/12/2019 -- LONE
3/12/2019 -- LONE
3/12/2019 -- LONE
3/12/2019 -- LONE
3/12/2019 -- LONE
3/12/2019 -- LONE
3/12/2019 -- LONE
3/12/2019 -- LONE
2/13/2019 -- LOMA
2/13/2019 -- LOMA
2/13/2019 -- LOMA
2/13/2019 -- LOMA
2/13/2019 -- LOMA
2/13/2019 -- LOMA
2/13/2019 -- LOMA
2/13/2019 -- LOMA
3/12/2019 -- LKSD
3/12/2019 -- LKSD
3/12/2019 -- LKSD
3/12/2019 -- LKSD
3/12/2019 -- LKSD
3/12/2019 -- LKSD
3/12/2019 -- LKSD
3/12/2019 -- LKSD
3/8/2019 -- LIVE
3/8/2019 -- LIVE
3/8/2019 -- LIVE
3/8/2019 -- LIVE
3/8/2019 -- LIVE
3/8/2019 -- LIVE
3/8/2019 -- LIVE
3/8/2019 -- LIVE
2/6/2019 -- LIND
2/6/2019 -- LIND
2/6/2019 -- LIND
2/6/2019 -- LIND
2/6/2019 -- LIND
2/6/2019 -- LIND
2/6/2019 -- LIND
2/6/2019 -- LIND
3/11/2019 -- JMP
3/11/2019 -- JMP
3/11/2019 -- JMP
3/11/2019 -- JMP
3/11/2019 -- JMP
3/11/2019 -- JMP
3/11/2019 -- JMP
3/11/2019 -- JMP
3/6/2019 -- MDC
3/6/2019 -- MDC
3/6/2019 -- MDC
3/6/2019 -- MDC
3/6/2019 -- MDC
3/6/2019 -- MDC
3/6/2019 -- MDC
3/6/2019 -- MDC
Comment