Run condition once price level is hit.
-
Hello, I want to ask how to do this strategy. I want to draw a horizontal level on the chart, And then run the EA, Once price hits the level it turns on moving average cross condition. I created it like this, but doesn't work for some reason.

-
And is it possible to detect more levels? My goal is to put in the horizontal levels in the morning, run the ea and let it trade once these zones are hit.
Create some filter to execute 1 order per this level. Lets say i have level on price 100 i want to once it hits run the ema cross, hit sl or tp and turn off. Than another level will be on price 200 with lets say name SUPP2, and do the same thing and then turn off until next level is hit.
Thank you
-
You have the right idea, remove the AND block because it's not needed, for now remove your MA condition and, back test till it works (I prefer getting the EA to draw the line so I can move it, at least until it works)
-
@jstap Thank you, yes seems to work. Any idea how to do the next steps? To turn it off until a next level is hit as i commented? Thank you!
-
When your line is hit with a x< or x> run wherever blocks you want, the logic built into this will prevent unwanted trades.
-
Ok so just change from below the level to crosses below, but i my questions is this.

-
Mabye like so it could work with the zone, that the must be is below supp and above supp2. This should make the zone login work mabye? -
Thanks for help, figured it all out.
-
@jansfx Good for you, you don't need the AND, and blocks are for when 2 connections go in the top.