Nin Kiga Posted July 1, 2020 Report Share Posted July 1, 2020 I want to scan for ADX(14) > 30. This is my scan: if (ADX_ADX > 30) { SetColorAndShape(SysColor.SepIndicator5, PBShape.ArrowSE); TriggerAlert("ADX Alert", @"ADX > 30"); SetScanResult(@"ADX > 30"); return; } else { SetColor(SysColor.MainIndicator12); SetScanResult(@"No Trade"); return; } However, the scan results appear to be returning results for ADX>30 or DMI+>30 or DMI- > 30. I just want results for ADX>30. Do I need to perform an advanced scan to accomplish this? Quote Link to comment Share on other sites More sharing options...
Mike Medved Posted July 1, 2020 Report Share Posted July 1, 2020 I made a paintbar - to show for ADX > 30. Seems to work ok - see that green bar on top. (ADX is the red line on the ADX chart). Did you try putting your scan on the chart to see what it shows? Quote Link to comment Share on other sites More sharing options...
Nin Kiga Posted July 1, 2020 Author Report Share Posted July 1, 2020 Yes, I added it to a chart. It does paint the chart correctly in places where ADX > 30. The difficulty is when I scan a portfolio. The table generated returns ADX > 30 for symbols that do not currently meet the criteria. For example AAXN in the attached images (ADX is light blue, DMI- is red and DMI+ is green). I would like to scan a portfolio and then only open charts for those symbols currently meeting the requirement of ADX>30. Quote Link to comment Share on other sites More sharing options...
Mike Medved Posted July 1, 2020 Report Share Posted July 1, 2020 I will check this tomorrow. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.