____On the right use Value -> Numeric if you want the number to be fixed. You can use it as a Constant, also in the same place (right-click over the input field) - for this you just need to define a constant. Or you can use some horizontal line.
But what is the most important here, DO NOT use == in the condition when comparing two prices. Use everything else, but not ==. If you think for a while, you will understand why.[/quote:3atvaiba]
Ok I can use > or < for the trigger but I can not figure out how to code it. How do I use horizontal line or price value for the kill all switch?[/quote:3atvaiba]
I think I have done it. You just need the place the ea according to the price. If the price is gonna hit the kill all target from above you wanna use the above ea, same for the opposite. I tested it few times I think it works. Here I post the ea in case someone needs it.