Does MineMeld support multiple values for a condition in a prototype config?

Reply
Highlighted
L0 Member

Does MineMeld support multiple values for a condition in a prototype config?

I am trying to setup one prototype where it's condition will accept indicators with share levels of both green AND amber.   I don't want to create a seperate prototype for every share level combination of color and confidence..

 

I would like to just say "if the confidence is >75 AND share level is either green or amber, then accept the indicator.   Is this possible?

 

Something to this effect:

 

infilters:
- actions:
- accept
conditions:
- __method == 'withdraw'
name: accept withdraws
- actions:
- accept
conditions:

- confidence > 75
- share_level == 'green', 'amber'  <- syntax here is where I am unsure
name: accept confidence > 75 and share level green or amber
- actions:
- drop
name: drop all

Highlighted
L1 Bithead

@jsiergiej 

I am having a similar issue as well with the multiple contains values. Were you able to find a solution? 

 

infilters:
- actions:
- accept
conditions:
- __method == 'withdraw'
name: accept withdraws
- actions:
- accept
conditions:
- contains(`["A", "B", "C"]`, alphabet_letters) == true
name: ABC Only
type: IPv4
- actions:
- drop
name: drop all

 

 

Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the Live Community as a whole!

The Live Community thanks you for your participation!