Jump to content
Medved Trader Forums

Recommended Posts

Posted

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. 

Posted

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.

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