Jump to content
Medved Trader Forums

Multiple Rules in a Scanner


Recommended Posts

Hi, when I create multiple rules in a scanner it only seems to be recognising the first one and ignoring the others.

I want the scan to test all the rules and if they all satisfy then return a positive result. If at least one fails then return a negative result.

 

Thanks to all. 

Link to comment
Share on other sites

You’re talking about a “Simple” scan – based on a series of rules.

To do what you want you have to have the first few rules rule like this:

If Condition then (do nothing) else return negative result and stop

And the last rule would be:
 

if Condition then return positive result else return negative result

Note the “and stop” in the initial rules – that’s important.

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...