Jump to content
Medved Trader Forums

ADX Scan not Working for Me


Nin Kiga

Recommended Posts

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?

 

Link to comment
Share on other sites

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.

Scan Result.PNG

ADX for AAXN.PNG

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...